バイト前なので手短に。
方法はUSBに入れたKnoppix 6.2 CD版(US版)をToramで起動し、apt-get install iperfするだけです。
構成;
PC1
MSI P35 Neo3-EFINITY オンボNIC 蟹8168
CPU PenDC E6600
Mem2G
PC2
Tyan Toledo q35T S5220 オンボNIC Intel 82573V(Windowsでは1000VLだか1000PLと出ていたようなきがする)
CPU CelDC 3200
Mem 2G
PC3(NAPT外)
Tyan toledoi3000R NIC 82573V
CPU PenDC E5200
Mem 2G
pfSense
いつもの
PC1,2をpfSense越しにPC3にiperfで繋げに行くという構成です。PC3ではiperf -sと実行して待機。
ここで気になったのが、やっぱり蟹が遅いという事。PC2では安定して900Mbps以上出ているのですが蟹は700Mbps程度しか出ない上にぶれがあるので動きがおかしいような気がしました。
そこでNAPTを越さずにまず同一サブネットで待ち受け。サーバーはPC2の方です。
まずiperf -c serveraddr -i 1 -w 1Kを実行。今気がついたのですがWindowSizeが小さすぎるって怒られてますね。
蟹
------------------------------------------------------------
Client connecting to 172.16.1.1, TCP port 5001
TCP window size: 2.00 KByte (WARNING: requested 1.00 KByte)
------------------------------------------------------------
[ 3] local 172.16.1.239 port 38478 connected with 172.16.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 7.12 MBytes 59.8 Mbits/sec
[ 3] 1.0- 2.0 sec 7.23 MBytes 60.6 Mbits/sec
[ 3] 2.0- 3.0 sec 7.22 MBytes 60.6 Mbits/sec
[ 3] 3.0- 4.0 sec 7.12 MBytes 59.8 Mbits/sec
[ 3] 4.0- 5.0 sec 7.21 MBytes 60.5 Mbits/sec
[ 3] 5.0- 6.0 sec 7.04 MBytes 59.0 Mbits/sec
[ 3] 6.0- 7.0 sec 7.22 MBytes 60.6 Mbits/sec
[ 3] 7.0- 8.0 sec 7.21 MBytes 60.5 Mbits/sec
[ 3] 8.0- 9.0 sec 7.23 MBytes 60.6 Mbits/sec
[ 3] 9.0-10.0 sec 7.20 MBytes 60.4 Mbits/sec
[ 3] 0.0-10.0 sec 71.8 MBytes 60.2 Mbits/sec
同じくPC3を同じサブネットの下に持ってきてiperf -w 1K
------------------------------------------------------------
Client connecting to 172.16.1.1, TCP port 5001
TCP window size: 2.00 KByte (WARNING: requested 1.00 KByte)
------------------------------------------------------------
[ 3] local 172.16.1.240 port 57360 connected with 172.16.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 24.3 MBytes 204 Mbits/sec
[ 3] 1.0- 2.0 sec 24.4 MBytes 204 Mbits/sec
[ 3] 2.0- 3.0 sec 24.2 MBytes 203 Mbits/sec
[ 3] 3.0- 4.0 sec 24.4 MBytes 205 Mbits/sec
[ 3] 4.0- 5.0 sec 24.4 MBytes 205 Mbits/sec
[ 3] 5.0- 6.0 sec 24.4 MBytes 204 Mbits/sec
[ 3] 6.0- 7.0 sec 24.3 MBytes 204 Mbits/sec
[ 3] 7.0- 8.0 sec 24.7 MBytes 207 Mbits/sec
[ 3] 8.0- 9.0 sec 24.7 MBytes 207 Mbits/sec
[ 3] 9.0-10.0 sec 24.4 MBytes 204 Mbits/sec
[ 3] 0.0-10.0 sec 244 MBytes 205 Mbits/sec
4倍近く違います。
次に-w 16Kの実行結果です。
蟹
------------------------------------------------------------
Client connecting to 172.16.1.1, TCP port 5001
TCP window size: 32.0 KByte (WARNING: requested 16.0 KByte)
------------------------------------------------------------
[ 3] local 172.16.1.239 port 38482 connected with 172.16.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 62.8 MBytes 527 Mbits/sec
[ 3] 1.0- 2.0 sec 62.8 MBytes 526 Mbits/sec
[ 3] 2.0- 3.0 sec 62.8 MBytes 527 Mbits/sec
[ 3] 3.0- 4.0 sec 62.7 MBytes 526 Mbits/sec
[ 3] 4.0- 5.0 sec 62.9 MBytes 527 Mbits/sec
[ 3] 5.0- 6.0 sec 62.6 MBytes 525 Mbits/sec
[ 3] 6.0- 7.0 sec 62.7 MBytes 526 Mbits/sec
[ 3] 7.0- 8.0 sec 62.5 MBytes 524 Mbits/sec
[ 3] 8.0- 9.0 sec 60.7 MBytes 509 Mbits/sec
[ 3] 9.0-10.0 sec 62.8 MBytes 527 Mbits/sec
[ 3] 0.0-10.0 sec 625 MBytes 524 Mbits/sec
Intel
------------------------------------------------------------
Client connecting to 172.16.1.1, TCP port 5001
TCP window size: 32.0 KByte (WARNING: requested 16.0 KByte)
------------------------------------------------------------
[ 3] local 172.16.1.240 port 36845 connected with 172.16.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 90.6 MBytes 760 Mbits/sec
[ 3] 1.0- 2.0 sec 91.1 MBytes 764 Mbits/sec
[ 3] 2.0- 3.0 sec 98.8 MBytes 829 Mbits/sec
[ 3] 3.0- 4.0 sec 98.5 MBytes 826 Mbits/sec
[ 3] 4.0- 5.0 sec 98.4 MBytes 826 Mbits/sec
[ 3] 5.0- 6.0 sec 98.8 MBytes 829 Mbits/sec
[ 3] 6.0- 7.0 sec 98.1 MBytes 823 Mbits/sec
[ 3] 7.0- 8.0 sec 98.1 MBytes 823 Mbits/sec
[ 3] 8.0- 9.0 sec 98.2 MBytes 824 Mbits/sec
[ 3] 9.0-10.0 sec 98.5 MBytes 827 Mbits/sec
[ 3] 0.0-10.0 sec 969 MBytes 813 Mbits/sec
-w 32K
蟹
------------------------------------------------------------
Client connecting to 172.16.1.1, TCP port 5001
TCP window size: 64.0 KByte (WARNING: requested 32.0 KByte)
------------------------------------------------------------
[ 3] local 172.16.1.239 port 38483 connected with 172.16.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 100 MBytes 842 Mbits/sec
[ 3] 1.0- 2.0 sec 101 MBytes 849 Mbits/sec
[ 3] 2.0- 3.0 sec 100 MBytes 840 Mbits/sec
[ 3] 3.0- 4.0 sec 101 MBytes 850 Mbits/sec
[ 3] 4.0- 5.0 sec 101 MBytes 845 Mbits/sec
[ 3] 5.0- 6.0 sec 98.7 MBytes 828 Mbits/sec
[ 3] 6.0- 7.0 sec 101 MBytes 848 Mbits/sec
[ 3] 7.0- 8.0 sec 97.2 MBytes 815 Mbits/sec
[ 3] 8.0- 9.0 sec 101 MBytes 851 Mbits/sec
[ 3] 9.0-10.0 sec 102 MBytes 852 Mbits/sec
[ 3] 0.0-10.0 sec 1004 MBytes 842 Mbits/sec
Intel
------------------------------------------------------------
Client connecting to 172.16.1.1, TCP port 5001
TCP window size: 64.0 KByte (WARNING: requested 32.0 KByte)
------------------------------------------------------------
[ 3] local 172.16.1.240 port 36851 connected with 172.16.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 108 MBytes 910 Mbits/sec
[ 3] 1.0- 2.0 sec 109 MBytes 911 Mbits/sec
[ 3] 2.0- 3.0 sec 108 MBytes 909 Mbits/sec
[ 3] 3.0- 4.0 sec 109 MBytes 911 Mbits/sec
[ 3] 4.0- 5.0 sec 109 MBytes 913 Mbits/sec
[ 3] 5.0- 6.0 sec 108 MBytes 910 Mbits/sec
[ 3] 6.0- 7.0 sec 108 MBytes 910 Mbits/sec
[ 3] 7.0- 8.0 sec 108 MBytes 906 Mbits/sec
[ 3] 8.0- 9.0 sec 109 MBytes 911 Mbits/sec
[ 3] 9.0-10.0 sec 110 MBytes 924 Mbits/sec
[ 3] 0.0-10.0 sec 1.06 GBytes 911 Mbits/sec
-w 128K
蟹
Client connecting to 172.16.1.1, TCP port 5001
TCP window size: 256 KByte (WARNING: requested 128 KByte)
------------------------------------------------------------
[ 3] local 172.16.1.239 port 46604 connected with 172.16.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 104 MBytes 875 Mbits/sec
[ 3] 1.0- 2.0 sec 104 MBytes 875 Mbits/sec
[ 3] 2.0- 3.0 sec 104 MBytes 875 Mbits/sec
[ 3] 3.0- 4.0 sec 104 MBytes 874 Mbits/sec
[ 3] 4.0- 5.0 sec 104 MBytes 875 Mbits/sec
[ 3] 5.0- 6.0 sec 104 MBytes 875 Mbits/sec
[ 3] 6.0- 7.0 sec 104 MBytes 874 Mbits/sec
[ 3] 7.0- 8.0 sec 104 MBytes 875 Mbits/sec
[ 3] 8.0- 9.0 sec 104 MBytes 875 Mbits/sec
[ 3] 9.0-10.0 sec 104 MBytes 874 Mbits/sec
[ 3] 0.0-10.0 sec 1.02 GBytes 875 Mbits/sec
Intel
------------------------------------------------------------
Client connecting to 172.16.1.1, TCP port 5001
TCP window size: 256 KByte (WARNING: requested 128 KByte)
------------------------------------------------------------
[ 3] local 172.16.1.240 port 36852 connected with 172.16.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 112 MBytes 937 Mbits/sec
[ 3] 1.0- 2.0 sec 112 MBytes 936 Mbits/sec
[ 3] 2.0- 3.0 sec 112 MBytes 936 Mbits/sec
[ 3] 3.0- 4.0 sec 112 MBytes 936 Mbits/sec
[ 3] 4.0- 5.0 sec 112 MBytes 936 Mbits/sec
[ 3] 5.0- 6.0 sec 112 MBytes 936 Mbits/sec
[ 3] 6.0- 7.0 sec 112 MBytes 936 Mbits/sec
[ 3] 7.0- 8.0 sec 112 MBytes 936 Mbits/sec
[ 3] 8.0- 9.0 sec 112 MBytes 936 Mbits/sec
[ 3] 9.0-10.0 sec 112 MBytes 936 Mbits/sec
[ 3] 0.0-10.0 sec 1.09 GBytes 936 Mbits/sec
一応蟹も内部的にはPCI-EXで繋がってるんだからもう少し出てもいいんじゃないかと思うもののIntelの安定感が高すぎてやっぱり蟹は捨てるべきという結論がでました。
実はもう少しデータのサンプリングをしてるのですが、それについてはまたあとでまとめようと思います
ツイート
コメントを書く
必要事項とコメントを入力して下さい。