Skip to content
조회 수 15841 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

네트워크 성능 측정(트래픽 대량 발생으로 통신속도 측정)

클라이언트와 서버간의 네트워크 대역폭을 체크하는 프로그램이다.
UDP로 체크하면 패킷 유실사항을 확인할 수 있다.

 

 아래 3가지 프로그램에서 가능하네요.

NetPeeker
http://www.net-peeker.com/images/30Stat.png

NetLimiter
http://www.filebuzz.com/software_screenshot/full/32777-netlimiter_2_pro.jpg

Network Traffic Monitor
http://focsw.tistory.com/185

 

iperf-2.0.5-cygwin.zip

TFGen.exe

 

 

1.JPG

 

 

http://vhrms.tistory.com/202

 

 

 

 

A컴퓨터와 B컴퓨터간 사이에 네트워크 대역폭을 측정하는 예를 들어 보겠습니다.


A컴퓨터에 iperf.exe 서버 데몬을 실행시켜 놓습니다. 

(iperf.exe에 -s옵션을 주면 서버가 -c 옵션을 주면 클라이언트가 됩니다.)

 * 서버 데몬 실행 방법 - iperf를 다운 후 임의 위치에 압축 해제 합니다.

                                  command창을  open한 후 해당 위치로 이동합니다.

                                 그리고  iperf.exe -s라고 입력합니다.




B컴퓨터에서 임의 폴더에 iperf를 압축 해제후 command창으로 해당 위치로 이동합니다. 

B컴퓨터에서 다음의 예와 같이 A서버에 서로 통신을 하여 대역폭을 측정합니다.

 

* iperf.exe -c 192.168.1.100  <-- 서버 IP를 입력합니다. 이와 같이 내부 내트워크 IP가 될수도 있고 218.50.112.113등 

                                              공인 IP가 될 수도 있으며 abcd.abc.com 과 같이 도메인도 가능합니다.



제 측정 결과는 서버의 WAN Upload Bandwidth이 45MB이지만 

클라이언트의 WAN Bandwidth가 5MB라서 낮은 Bandwidth가 나와버렷네요..



자세한 메뉴얼은 아래와 같습니다.


                 User Manuals               


NAME

       iperf - perform network throughput tests


SYNOPSIS

       iperf -s [ options ]


       iperf -c server [ options ]


       iperf -u -s [ options ]


       iperf -u -c server [ options ]


DESCRIPTION

       iperf is a tool for performing network throughput measurements.  It can

       test either TCP or UDP throughput.  To perform an iperf test  the  user

       must establish both a server (to discard traffic) and a client (to gen-

       erate traffic).


GENERAL OPTIONS

       -f, --format

              [kmKM]   format to report: Kbits, Mbits, KBytes, MBytes


       -h, --help

              print a help synopsis


       -i, --interval n

              pause n seconds between periodic bandwidth reports


       -l, --len n[KM]

              set length read/write buffer to n (default 8 KB)


       -m, --print_mss

              print TCP maximum segment size (MTU - TCP/IP header)


       -o, --output <filename>

              output the report or error message to this specified file


       -p, --port n

              set server port to listen on/connect to to n (default 5001)


       -u, --udp

              use UDP rather than TCP


       -w, --window n[KM]

              TCP window size (socket buffer size)


       -B, --bind <host>

              bind to <host>, an interface or multicast address


       -C, --compatibility

              for use with older versions does not sent extra msgs


       -M, --mss n

              set TCP maximum segment size (MTU - 40 bytes)


       -N, --nodelay

              set TCP no delay, disabling Nagle's Algorithm


       -v, --version

              print version information and quit


       -V, --IPv6Version

              Set the domain to IPv6


       -x, --reportexclude

              [CDMSV]   exclude C(connection) D(data) M(multicast) S(settings)

              V(server) reports


       -y, --reportstyle C|c

              if set to C or c report results as CSV (comma separated values)


SERVER SPECIFIC OPTIONS

       -s, --server

              run in server mode


       -U, --single_udp

              run in single threaded UDP mode


       -D, --daemon

              run the server as a daemon


CLIENT SPECIFIC OPTIONS

       -b, --bandwidth n[KM]

              set  target  bandwidth to n bits/sec (default 1 Mbit/sec).  This

              setting requires UDP (-u).


       -c, --client <host>

              run in client mode, connecting to <host>


       -d, --dualtest

              Do a bidirectional test simultaneously


       -n, --num n[KM]

              number of bytes to transmit (instead of -t)


       -r, --tradeoff

              Do a bidirectional test individually


       -t, --time n

              time in seconds to transmit for (default 10 secs)


       -F, --fileinput <name>

              input the data to be transmitted from a file


       -I, --stdin

              input the data to be transmitted from stdin


       -L, --listenport n

              port to recieve bidirectional tests back on


       -P, --parallel n

              number of parallel client threads to run


       -T, --ttl n

              time-to-live, for multicast (default 1)


       -Z, --linux-congestion <algo>

              set TCP congestion control algorithm (Linux only)


ENVIRONMENT

       TCP_WINDOW_SIZE

              Controls the size of TCP buffers.


DIAGNOSTICS

       This section needs to be filled in.


BUGS

       Exit statuses are inconsistent.  The threading implementation is rather

       heinous.


AUTHORS

       Iperf  was  originally  written by Mark Gates and Alex Warshavsky.  Man

       page and maintence by Jon Dugan <jdugan at x1024 dot net>.  Other  con-

       tributions  from  Ajay  Tirumala,  Jim Ferguson, Feng Qin, Kevin Gibbs,

       John Estabrook <jestabro at ncsa.uiuc.edu>, Andrew  Gallatin  <gallatin

       at gmail.com>, Stephen Hemminger <shemminger at linux-foundation.org>


SEE ALSO

       http://iperf.sourceforge.net/


NLANR/DAST                        APRIL 2008                          IPERF(1)

로그인 후 댓글쓰기가 가능합니다.

?

List of Articles
번호 분류 제목 날짜 조회 수
97 컴퓨터잡담 MySQL FEDERATED / InnoDB is disabled, myint64.dll 오류 어찌하오리 4 2010.04.19 27706
96 컴퓨터잡담 MySQL 조율(튜닝)에 대해 2 2010.04.14 15804
95 컴퓨터잡담 svchost.exe 프로세스로 내컴퓨터 최적화 시키기 2010.04.14 7366
94 컴퓨터잡담 mysql threads_created 뭐냥? 4 2010.04.13 12243
93 컴퓨터잡담 MYSQL Qcache 값 조정~~~ 1 2010.04.13 19554
92 컴퓨터잡담 쓸데없는 시작 프로그램을 없애자 2010.04.10 6107
91 컴퓨터잡담 삼성, 프로그래머들에게 스마트폰 콘텐츠 개발하고 싶게 만들어라. 2 2010.04.09 10989
90 컴퓨터잡담 MYSQL my.cnf 최적화 15 2010.04.07 22600
89 컴퓨터잡담 MySQL을 위한 하드웨어 최적화(What one can and should optimize) 2 2010.04.06 13123
88 컴퓨터잡담 로그인 아이디 쿠키로 기억하기 2010.04.05 10966
87 컴퓨터잡담 부팅시 에러 메시지 PRESS F1 to REsume 2 2010.04.03 16103
86 컴퓨터잡담 php에서 script로 변수 전달 후 html에 div로 내용 출력하기 1 3 2010.04.01 15901
85 컴퓨터잡담 50 개 이상의 Ajax 예제들 2010.03.29 18179
84 컴퓨터잡담 50 개 이상의 Ajax 예제들 2 2010.03.29 18950
83 컴퓨터잡담 Prototype.js를 제대로 사용하는 방법 2010.03.27 10299
82 컴퓨터잡담 ajax의 XMLHttpRequest 객체 1 2010.03.27 7463
81 컴퓨터잡담 [JavaScript] 자바스크립트 함수 총정리!! 3 2010.03.27 12514
80 컴퓨터잡담 PHP 변수를 자바로 전송후 HTML로 뿌려주기 2010.03.18 23363
79 컴퓨터잡담 한글 HEX 코드표 1 5 2010.03.17 29524
78 컴퓨터잡담 TCPDUMP 사용방법 / TCP 자세히 보기 1 4 2010.03.17 18040
Board Pagination Prev 1 ... 40 41 42 43 44 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소