1 / 17

NetPerf

NetPerf. 2006. 04. 19 Lee, Sang Ho divx98@hotmail.com. Contents. Introduction Features Installation Configuration Result Reference sites. Introduction. Netperf is a benchmark that can be used to measure various aspects of networking performance.

tasya
Download Presentation

NetPerf

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NetPerf 2006. 04. 19 Lee, Sang Ho divx98@hotmail.com

  2. Contents • Introduction • Features • Installation • Configuration • Result • Reference sites

  3. Introduction • Netperf is a benchmark that can be used to measure various aspects of networking performance. • supported by the IND Networking Performance Team. • Netperf is designed around the basic client-server model Server Client Network Topology

  4. Features • To measure various aspects of networking performance • Bulk data transfer performance • Request / response performance • can measure of networking performance of TCP and UDP • with various command line option

  5. Installation • Download • http://www.netperf.org • ftp://ftp.cup.hp.com(with ID anonymous) • dist / networking / benchmarks • Install • OS : Linux • File name • Server : netserver • Client : netperf (only copied) • Compile • command : #make install • be compiled and copied into (/user path…/) netperf/

  6. Configuration • File edit • Add this line to the /etc/services file • netperf 12865/tcp • Add this line to the /etc/xinetd.conf file (for a consecutive launch) • service netperf { socket_type = stream protocol = tcp wait = no user = root server = /opt/netperf/netserver server_arg = netserver }

  7. User manual 1/4 • TCP Stream Performance • #./netperf –H remotehost –t TCP_STREAM • The TCP stream test can be invoked with netperf though the use of the –t option with an argument of TCP_STREAM. • will perform a 10 sec test between the local and remote systems. • Option • -s sizespec : set local send and receive socket buffer sizes (Default: system default socket buffer sizes) • -S sizespec : which behaves just like –s for the remote system • -m sizespec : set the local send size to value bytes (Default: local socket buffer size) • -M sizespec : set the receive size for the remote system, like –m option • -l sizespec : set the test length to value seconds, |value | • -D : set the TCP_NODELAY option to true on both systems

  8. User manual 2/4 • UDP Stream Performance • #./netperf –H remotehost –t UDP_STREAM –m 1024 • The UDP stream test can be invoked with netperf though the use of the –t option with an argument of UDP_STREAM. • will perform a 10 sec test between the local and remote systems. • Option • -s sizespec : set local send and receive socket buffer sizes (Default: system default socket buffer sizes) • -S sizespec : which behaves just like –s for the remote system • -m sizespec : set the local send size to value bytes (Default: local socket buffer size) • -M sizespec : set the receive size for the remote system, like –m option • -l sizespec : set the test length to value seconds, |value | • -D(meaningless): set the TCP_NODELAY option to true on both systems

  9. User manual 3/4 • TCP Request/Response Performance • #./netperf –H remotehost –t TCP_RR • The TCP request/response test can be invoked with netperf though the use of the –t option with an argument of TCP_RR. • Option • -r sizespec : set the request or response sizes • -l value : set the test duration based on value • -s sizespec : set the local send and receive socket buffer sizes (Default: system default socket buffer sizes) • -S sizespec : set the remote system send and receive socket buffer sizes • -D : set the TCP_NODELAY option to true on both systems

  10. User manual 4/4 • UDP Request/Response Performance • #./netperf –H remotehost –t UDP_RR • The TCP request/response test can be invoked with netperf though the use of the –t option with an argument of UDP_RR. • Option • -r sizespec : set the request or response sizes • -l value : set the test duration based on value • -s sizespec : set the local send and receive socket buffer sizes (Default: system default socket buffer sizes) • -S sizespec : set the remote system send and receive socket buffer sizes • -D(meaningless) : set the TCP_NODELAY option to true on both systems

  11. Test environment 1/2 • System spec : Client • CPU : Pentium IV 2.6G • OS : Linux kernel 2.4.20-8 • NIC : Realtek RTL8139 • System spec : Server • CPU : Pentium 4 2.4G • OS : Linux kernel 2.4.20-8smp • NIC : Realtek RTL8139

  12. Test environment 2/2 • Network Topology Throughput, RTT Router switching hub switching hub NetPerf Server NetPerf Client

  13. send socket buffer size on the local system receive socket buffer size on the remote system Result 1/4 • TCP stream performance

  14. send performance receive performance Failed send calls(ENOBUFS) successful calls to send message size successful calls to receive receive socket size on remote Result 2/4 • UDP stream performance

  15. local send socket size local receive socket size remote receive socket size remote send socket size Result 3/4 • TCP Request/Response Performance

  16. Result 4/4 • UDP Request/Response Performance

  17. Reference sites • http://www.netperf.org/netperf/NetperfNew.html

More Related