Download presentation
Presentation is loading. Please wait.
Published byRoger Randell Pierce Modified over 9 years ago
1
1 Iperf Adviser : Quincy Wu Speaker : Ying Shun Lin Nov.30 , 2005
2
2 Outline Introduction to iperf How to use iperf Command line option / experiment
3
3 Introduction to Iperf ■ iperf 為網路封包( IPv4/IPv6 )產生軟體,進 而產生 TCP & UDP 的傳輸數據 。 ■ 量測網路的 - TCP/UDP throughput (Max.) - UDP delay jitter - UDP pack loss
4
4 How to use iperf ■ Where to download? - http://dast.nlanr.net/Projects/Iperf/ http://dast.nlanr.net/Projects/Iperf/ ■ format - server side : $ iperf -s -% $ iperf -s -V - client side : $ iperf -c -% $ iperf -c
5
5 Command line option class Client / Server options Server specific options Client specific options
6
6 Command line option Server specific option -s : run in server mode -D : run the server as a daemon
7
7 Command line option (Client/Server) -w : For TCP , window size (Default : 8K for Windows 32.5K for FreeBSD) For UDP , buffer size (Default : 8K for Windows 9K for FreeBSD) -f : specifying the format to print bandwidth numbers in. 'b' = bits/sec 'B' = Bytes/sec 'k' = Kbits/sec 'K' = KBytes/sec 'm' = Mbits/sec 'M' = MBytes/sec 'g' = Gbits/sec 'G' = GBytes/sec (Default) 'a' = adaptive bits/sec 'A' = adaptive Bytes/sec
8
8 Command line option (cont.)
9
9 Command line option (cont) -i : Sets the interval time. -l : The length of buffers to read or write. - ( Default 8KB for TCP, 1470 bytes for UDP) - Buffer Delay is unfavorable to Real-Time Application. -u : Use UDP rather than TCP. -C : Compatibility mode allows for use with older version of iperf.
10
10 Command line option (cont)
11
11
12
12 Command line option Client specific options -b : for UDP, bandwidth to send at in bits/sec. (default 1 Mbit/sec, implies -u) -n : number of bytes to transmit (instead of -t) -t : time in seconds to transmit for (default 10 secs)
13
13
14
14 Command line option (cont) -P : number of parallel client threads to run.
15
15 Command line option (cont) -B : Bind to host,. This is only useful on multihomed hosts, which have multiple network interfaces. - For Iperf in UDP server mode, join to a multicast group. Use addresses in the range 224.0.0.0 to 239.255.255.255 for multicast
16
16
17
17 THANK YOU FOR YOUR ATTENTION
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.