NetperfNetwork Test ToolsOneInstallation Deployment
wget FTP://FTP.NETPERF.ORG/NETPERF/NETPERF-2.6.0.TAR.GZ&&TARZXF NETPERF-2.6.0.TAR.GZ&&CD netperf-2.6.0
./configure--prefix=/usr/local/netperf&&make&&makeinstall
Ln-s/usr/local/netperf/bin/netperf/usr/bin/&&ln-s/usr/local/netperf/bin/netserver/usr/bin/
Two NetperfTest Network Performance1. Start the service side
Ip:*.*.*.84
[[email protected] ~]# netserver-l *.*.*.84–d * * start service
2. start the Test side
NetperfBy defaultTCPbulk transfer, i.e.-ttcp_stream. During the testing process,NetperftoNetServerSend batches ofTCPdata groupings to determine the throughput during data transfer:
Ip:*.*.*.83
[[email protected] ~]# netperf-h *.*.*.84-l start test - L --------- test time
Migrated TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 af_inet to *.*.*.84 () port 0 af_inet
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time throughput
Bytes bytes bytes secs. 10^6bits/sec
174760 174760 174760) 360.16 936.08
From the result output of the netperf, we can know some of the following information:
1 the remote system (that is, server) uses a size of 174760 byte socket receive buffer
2 the Local system (that is, client) uses a size of 174760 bytes of socket send buffer
3 ) The test packet size sent to the remote system is 174760 bytes
4 ) The test takes 360.16 seconds to experience
5 ) throughput test result is 936.08mbits/seconds
This article is from the "HNCSJJ" blog, make sure to keep this source http://hncsjj.blog.51cto.com/1907587/1675292
Netperf Network Test Tools