hns - 日記自動生成システム - Version 2.19.9

先月 2005年11月 来月
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2005年11月09日(水) 旧暦 [n年日記] [更新:"2005/11/12 20:04:20"]

#1 [pkgsrc] netperf を使ってみる

自分の機械と、相手側に netperf を入れておく。 例えば
cd /usr/pkgsrc/net/netperf 
sudo make package
相手側、下の例だと 192.168.1.205 の機械で /usr/pkg/netperf/server と入力 して受け側 (サーバ)を動かしておく。その上で、次のように入力

> /usr/pkg/netperf/netperf -H 192.168.1.205 -t UDP_STREAM -- -m 1500:

UDP UNIDIRECTIONAL SEND TEST to 192.168.1.205 : histogram
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

  9216    1500   10.01       73214 276684      87.78
 41600           10.01       73214             87.78

> /usr/pkg/netperf/netperf -H 192.168.1.205 -t UDP_STREAM -- -m 1472:

MTU を 1500 よりもへッダの 28 バイト分小さくしてみると、速くなる。
UDP UNIDIRECTIONAL SEND TEST to 192.168.1.205 : histogram
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

  9216    1472   10.01       78020 279159      91.82
 41600           10.01       78020             91.82

> /usr/pkg/netperf/netperf -H 192.168.1.205 -t UDP_STREAM -- -m 1500:

もう一度元の 1,500 で試すと: 何か変 ?
UDP UNIDIRECTIONAL SEND TEST to 192.168.1.205 : histogram
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

  9216    1500   10.01         432 372982       0.52
 41600           10.01           0              0.00

2005/11/12 追記:

ttyp4:makoto@st4200 6:56:44/051112(~)> rsh pisa /usr/pkg/netperf/netperf -H st4200 -t UDP_STREAM -- -m 1472
UDP UNIDIRECTIONAL SEND TEST to st4200 : histogram
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

  9216    1472   10.01       79703 335984      93.79
 41600           10.01       79272             93.28

remote host:

ttyp8:makoto@st4200 6:52:07/051112(...powerpc/All)> /usr/pkg/netperf/netperf -H ibook.example.com -t UDP_STREAM -- -m 1472
UDP UNIDIRECTIONAL SEND TEST to ibook.example.com : histogram
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

  9216    1472   10.01       81337 1761706      95.73
 41600           10.01       16257             19.13



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)