°Ô½Ã¹° 2°Ç
 
[Tool] ¸®´ª½º ½Ã½ºÅÛ ³×Æ®¿öÅ© ¼º´É ÃøÁ¤ - iperf
±Û¾´ÀÌ : ÃÖÀå¼· ³¯Â¥ : 2014-11-17 (¿ù) 14:55 Á¶È¸ : 5765

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 ÃøÁ¤½Ã°£(ÃÊ)



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
 

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com