iperf ¶ó´Â ½ÉÇÃÇÑ ÅøÀ» ÀÌ¿ëÇÏ¿© ³ëµå°£ÀÇ ³×Æ®¿öÅ© ¼º´ÉÀ» ÃøÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.
1. ¾ç ¼¹ö¿¡ iperf ¼³Ä¡
¾Æ·¡ ³»¿ë¿¡ µû¶ó A,B µÎ ¼¹ö¿¡ iperf¸¦ ¼³Ä¡ÇÕ´Ï´Ù. ¼¹ö·Î »ç¿ëÇÒ A¼¹ö¿Í Ŭ¶óÀ̾ðÆ®·Î »ç¿ëÇÒ B¼¹ö ¸ðµÎ µ¿ÀÏÇÑ ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÕ´Ï´Ù.
2. ÆÄÀÏ ´Ù¿î·Îµå
http://sourceforge.net/projects/iperf/files/
3. iperf ÄÄÆÄÀÏ Çϱâ
#tar xzvf iperf-VERSION.tar.gz
#cd iperf-VERSION
#./configure --prefix=/usr/local/iperf
#make && make install
4. ¼³Ä¡½Ã ÇÊ¿äÇÑ ÆÐÅ°Áö
gcc
gcc-c++
5. SERVER ¿¡¼ SERVER ¸ðµå·Î iperf ½ÃÀÛ
[root@20-VM bin]# ./iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 10.10.10.20 port 5001 connected with 10.10.10.10 port 46414
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 2.06 GBytes 1.77 Gbits/sec
6. CLIENT ¿¡¼ CLIENT ¸ðµå·Î SERVER Á¢¼Ó ¹× ÃøÁ¤
[root@10-VM bin]# ./iperf -c 10.10.10.20
------------------------------------------------------------
Client connecting to 10.10.10.20, TCP port 5001
TCP window size: 19.3 KByte (default)
------------------------------------------------------------
[ 3] local 10.10.10.10 port 46414 connected with 10.10.10.20 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 2.06 GBytes 1.77 Gbits/sec
¼¹ö¸ðµå·Î ½ÇÇàÇÑ A¼¹ö´Â °è¼Ó Client¸¦ ±â´Ù¸®°í ÀÖ½À´Ï´Ù. Ctrl+c·Î ³ª¿Ã ¼ö ÀÖ½À´Ï´Ù.
-s ¼¹ö ¸ðµå
-c <server ip or domain> Ŭ¶óÀ̾ðÆ® ¸ðµå
-u UDP »ç¿ë (±âº» TCP)
-p port (±âº»Æ÷Æ®´Â 5001)
-w TCP Window Å©±â(socket buffer »çÀÌÁî)(ex -w 10M, -w 10K)
-t ÃøÁ¤½Ã°£(ÃÊ)