Nic Advanced Settings

Source: Internet
Author: User
Tags apm

Now the Internet cafe's hardware environment is getting better and better, mainly because the configuration is getting higher and higher, the client memory is getting bigger and bigger, and the server is also the same, so many people are gradually entering the "virtualization" era, from Initial game virtualization to current system and game virtualization, but in this implementation process, new users may encounter some problems, for a few days, the common settings of the server and client NIC are used. Generally, if there is no problem in your Internet cafe, you can leave it unchanged. If there is any problem, modify it. After all, the NIC driver, network Card models are being updated. An article on experience is insufficient to solve all problems. Therefore, you can adjust the network card settings according to the settings to see if the problem can be solved.

The following content is transferred from multiple game forums and some modifications have been made. Please forgive me. Thank you.

1. Disable the power-saving function of the NIC, because virtualization relies on the network. In case of server brain cramps, the NIC takes a break and the client does not need to be completely disconnected, so it should be switched off.


Image 1

Since the settings of various NICs are not identical, Let's take out the main parts or commonalities:
1, Flow Control = traffic Control Nic default settings [disabled]
The Network Card Automatically limits your network traffic. For example, if the network card is very smooth at ordinary times, it will be dropped when it hits the sea. Why? Large traffic ....

2. Checksum Offload packet verification Nic default settings [disabled]
Once a problem occurs due to the automatic verification of the network card, the subsequent packets will not be processed and the line will be dropped. If the server is busy, the chance of errors will be high.

3. The default setting of a large number of transfer network adapters is [disabled]
A large amount of transfer minus is to use the hardware of the network card to split the TCP data packet, but in fact, only by disabling it can play the real performance of the network card, the network card's computing capability can be compared with the cpu, however, this setting increases the cpu usage, but is not obvious. The network processing speed is faster.

//////////////////////////////////////// /Set some NICs in detail /////////////////////////////////// ////////////

Advanced Settings of NF Nic
Disable Checksum Offload packet Verification
Flow Control traffic Control must be disabled
We recommend that you disable the IEEE 802.1p Support function.
Jumbo Frame Payload Size is 1500 by default. This is a new configuration for Gigabit Networks.
Disable Low Power State Link Speed Nic for Energy Saving
Network Address MAC modification does not exist by default.
Optimize For CPU/Throughput is optimized For CPU usage or Throughput. If it is set to CPU, the speed of the NIC is limited, but the CPU usage is very low. If it is changed to Throughput, the performance of the NIC can be fully utilized, but the CPU usage will also increase a lot.

Disable Segmentation Offload.
Speed/Duplex Settings Full Autonegotiation (fully adaptive, generally do not need to be modified)
The default VLAN Id is 1.
VLAN Support is generally disabled
We recommend that you disable Wake on Magic packet Wake-up.
Disable Wake on pattern.
It is recommended to disable WakeOnLAN From PowerOff.

8168/8111 c Nic Advanced Settings
In the advanced Nic options
Change jumbo frame to none
Change 802.1Q/1 p vlan Tagging to Disabled
Change Flow Control to Disabled
Change Jumbo Frame to Disabled
Change Offload Checksum to Disabled
Change Offload TCP_LargeSemnd to Disabled

8169/8167 Nic Advanced Settings
8100001q/1 p VLAN Tagging = Disable
Flow Control = Disable
Junbo Frame = Disable
Offload Checksum = Disable
Offload TCP_LargeSend = Disable

Marvell Yukon advanced Nic settings
Throttling-Disable (or Flow Control-> Disable)
Transfer Buffer-"512 (or MaxTransmits-> 200)
Receiving buffer-"512 (or maxcompute es-> 500)
Wake-up function-"Link Change wake-up mode (or WakeUpModeCap_A-> 28)
Uninstall TCP/UDP checksum (IPv4)-disable (or * TCPUDPChecksumOffloadIPv4-> 0)
Manually add a post type 802.2 In the IPX protocol of the Intranet, and the network number is 00012345 or 12345678. This will quickly change the default TCP connections of XP.

Intel Pro 1000 Nic Advanced Settings
Suggested QoS packet label settings: Disabled
Suggested local management address: nonexistent
Recommended Transport descriptor settings: 256
Pending connection suggestion settings: On
Configure the load balancing transmission IP address verification and Suggestion: On
TCP verification and Recommended settings for Load Balancing transmission: Off
For load balancing, set the IP address verification and Suggestion: On
TCP verification for load balancing and Recommended settings: Off
Recommended wake-up link settings: Disabled
Recommended wake-up setting: Disabled
Suggested setting for recording link status: Disabled
Recommended receiving descriptor settings: 256
Recommended settings for huge frames: Disabled
Recommended link speed and duplex settings: 1000 Mbps or automatic negotiation
Recommended process control settings: Off
To enable PME, we recommend that you control the operating system.
Recommended settings for adaptive frame spacing adjustment: Enabled
Suggested setting of the interrupt throttling rate: Off

Nic advanced attribute settings
1. Link down power saving power off when the connection is disconnected to save power. We recommend that you disable it.
2. Link speed/duplex mode connection speed. Currently, the network adapter is generally 10/100/Mbps adaptive. Select the default auto negotiation option, if it fails automatically, it can be forced to 1000 MB or MB. One reason for this is that my network cable has a problem-_-, and of course it may also be a switch problem.

3. Network performance network settings, ignore it.
4. Optimal performance Optimization settings. enable is recommended.
5. Receive buffer size: Specifies the size of the received cache. Select the maximum value of 64 k bytes.
6. Wakeup on arp/ping
Wakeup on link change
Wakeup using Apm mode

These are all network wake-up functions. We recommend that you disable if you do not need them.

Link Down Power Saving low-speed connection Power-Saving mode
Link Speed/Duplex Mode connection Speed Duplex Mode
Network Address
Optimized Performance
Receive Buffer Size receiving Buffer Size
WakeUp on ARP/PING wake-up through ARP/PING
WakeUp on Link Change wake-up by connection Change
WakeUp using APM Mode wake-up through APM Mode

Next we will talk about the Jumbo Frame option. This is a new technology. Traditionally, standard Ethernet frames are 1518 bytes, except for 14-byte Ethernet headers and 4-byte CRC verification, which is 1500, this is exactly the MTU value. This is the configured size for the previous network environment. However, in the current Gigabit LAN environment, various devices are already very stable, so some manufacturers want to improve performance, the new Jumbo Frame technology is proposed. However, because Jumbo Frame technology is not the communication setting stipulated by network standards, products of different manufacturers may be different and may not be compatible.

Usage considerations
Enable "jumboframe" only when the devices on the network support "jumboframe" and are configured to use the same frame size for hours ". When setting "jumboframe" on other network devices, you should understand that different network devices do not calculate the size of the "jumboframe. Some devices include the packet header information in the frame size, and some do not. The intel adapter does not include the packet header information in the frame size.

Giant frames only support TCP/IP.
Using giant frames at 10 or 100 Mbps may cause poor performance or link loss.
When a giant frame is configured on the switch, the CRC value can be set to a maximum of four bytes. If a VLAN or Qos packet is marked, four more bytes are added.

To put it simply, when you confirm that your switch supports Jumbo Frame and that both the server and client are NF NICs, you can try to adjust them to 9000 to see if the effect has improved. Theoretically, the IO performance of the Station and storage can be greatly improved.

The last thing you want to talk about is that if you want to speed up, you can change the item settings to improve or decrease the performance. There must be a reason. When these reasons are clear, in fact, you can avoid these problems when purchasing equipment.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.