我有一个连接到 1000 Mbit 端口的专用服务器。然而,Debian 客户机的速度只有一半到 1/4:
在节点本身上(Linux 节点 2.6.32-279.9.1.el6.x86_64 #1 SMP Tue Sep 25 21:43:11 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux):
wget http://www.bbned.nl/scripts/speedtest/download/file1000mb.bin -O /dev/null
--2012-11-11 23:10:11-- http://www.bbned.nl/scripts/speedtest/download/file1000mb.bin
Resolving www.bbned.nl... 62.177.144.181
Connecting to www.bbned.nl|62.177.144.181|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1048576000 (1000M) [application/octet-stream]
Saving to: â/dev/nullâ
100%[====================================>] 1,048,576,000 100M/s in 10s
2012-11-11 23:10:21 (100 MB/s) - â/dev/nullâ
在客户机上(Debian 6.0.5,x64:Linux debian 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux):
wget http://www.bbned.nl/scripts/speedtest/download/file1000mb.bin -O /dev/null
--2012-11-11 23:10:41-- http://www.bbned.nl/scripts/speedtest/download/file1000mb.bin
Resolving www.bbned.nl... 62.177.144.181
Connecting to www.bbned.nl|62.177.144.181|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1048576000 (1000M) [application/octet-stream]
Saving to: â/dev/nullâ
100%[=================================================================================================================================================================================================>] 1,048,576,000 16.5M/s in 42s
2012-11-11 23:11:23 (23.8 MB/s) - â/dev/nullâ
我使用的是virtio网卡。我尝试了更多 NIC:e1000 和 Realtek 8139,但结果更差。
任何人都知道如何提高这些速度?
它已被修复:
似乎有一些混乱的 iptable 规则。