|
|
#1 |
|
初心者
註冊日期: Jan 2008
文章: 2424
積分: 59426
|
Q. Jumbo frames are Ethernet frames with more than 1500 bytes of payload MTU. Does Linux support jumbo frames? If so how do I set frames to 9000 bytes?
A. Most modern Linux distros (read as Linux Kernel 2.6.17+) does support frames larger than 1500 bytes. This can improve the performance. First, make sure your network driver supports custom MTU. Second you need to have a compatible gigabit NIC and switch (such as Cisco Catalyst 4000/4500 Switches with Supervisor III or Supervisor IV ) that is jumbo frame clean. If you are not sure about requirements, please refer to your product documentation. Jumbo frames can reduce server overhead such as a big decrease in CPU usage when transferring larger file. Also you should see some increase in network throughput. Configure eth0 interface for Jumbo Frames WARNING! These examples may not work with your setup as it depends upon a compatible network gear such gigabit Ethernet switches and gigabit Ethernet network interface cards Simply type the following command at a shell prompt to set new MTU (Jumbo Frames): 程式碼:
# ifconfig eth0 mtu 9000 Edit the network configuration file for eth0 interface - for example, /etc/sysconfig/network-script/ifcfg-eth0 (CentOS / RHEL / Fedora Linux): 程式碼:
# vi /etc/sysconfig/network-script/ifcfg-eth0 程式碼:
MTU=9000 A note about Debian / Ubuntu Linux user: Debian / Ubuntu Linux user should add MTU=9000 to /etc/network/interfaces configuration file. Close and save the file. Restart the Interface eth0: 程式碼:
# /etc/init.d/networking restart 程式碼:
# ip route get {IP-address}
# ip route get 192.168.1.1
192.168.1.1 dev eth0 src 192.168.1.100 cache mtu 9000 advmss 1460 hoplimit 64 Application Protocol Tunning You may need to tune the application / network protocol such as NFS and SMB to take advantage of Jumbo Frames. 此文章於 03-07-2008 12:12 被 acid1031 編輯. |
|
|
|
![]() |
| 目前檢視此主題的會員: 1 (0 位會員和 1 位遊客) | |
| 主題工具 | |
| 顯示模式 | |
|
|
相似的主題
|
||||
| 主題 | 主題作者 | 討論區 | 回覆 | 最後發表 |
| [軟體] Mandriva Linux Powerpack 給初學者的 linux | Boom101764 | 軟件分享區 | 1 | 04-14-2009 10:22 |
| [軟體] Windows XP Performance Edition SP3 - October 2008 [242.2 MB] | random825 | 軟件分享區 | 4 | 11-09-2008 17:30 |
| High Performance Street Racing 高性能街頭賽車 | nike102913 | 電腦遊戲分享區 | 0 | 06-26-2008 20:32 |
| Enigma Unit Frames 2.5.5(08.04.02) | rabbit35517 | 魔獸UI插件專區 | 0 | 04-03-2008 14:22 |
| SCET 發表 PLAYSTATION Network 儲值獎賞優惠活動 | tehpwnzr1014 | PlayStation3 專區 (PS3) | 0 | 04-01-2008 11:40 |