Difference between revisions of "Netpref"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 24: | Line 24: | ||
  netperf -t FORE_STREAM -H 192.168.0.100  |   netperf -t FORE_STREAM -H 192.168.0.100  | ||
| − | |||
| − | |||
| − | |||
===Mengukur request/response performance===  | ===Mengukur request/response performance===  | ||
| Line 36: | Line 33: | ||
  netperf -H 192.168.0.100 -t DLCL_RR  |   netperf -H 192.168.0.100 -t DLCL_RR  | ||
  netperf -t STREAM_RR  |   netperf -t STREAM_RR  | ||
| + | |||
| + | ===Kalibrasi CPU===  | ||
| + | |||
| + |  LOC_RATE=`netperf -t LOC_CPU`  | ||
| + |  netperf -H 192.168.0.100 -c $LOC_RATE  | ||
| + | |||
| + | |||
| + | ===Contoh Keluaran===  | ||
| + | |||
| + |  netperf -H 192.168.0.100 -t TCP_RR  | ||
| + | |||
| + |  MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.100 () port 0 AF_INET : demo : first burst 0  | ||
| + |  Local /Remote  | ||
| + |  Socket Size   Request  Resp.   Elapsed  Trans.  | ||
| + |  Send   Recv   Size     Size    Time     Rate           | ||
| + |  bytes  Bytes  bytes    bytes   secs.    per sec     | ||
| + | |||
| + |  16384  87380  1        1       10.00    2472.55     | ||
| + |  16384  87380  | ||
==Lebih Lanjut==  | ==Lebih Lanjut==  | ||
Revision as of 14:11, 7 June 2015
Netperf is a benchmark that can be used to measure the performance of many different types of networking. It provides tests for both unidirectional throughput, and end-to-end latency. The environments currently measureable by netperf include:
- TCP and UDP via BSD Sockets for both IPv4 and IPv6
 - DLPI
 - Unix Domain Sockets
 - SCTP for both IPv4 and IPv6
 
Instalasi
apt-get install netperf
Dilakukan di dua node yang akan di ukur
Beberapa Contoh Pengukuran
Mengukur Bulk Data Transfer
netperf -H 192.168.0.100 netperf -H 192.168.0.100 -t UDP_STREAM -- -m 1024 netperf -H 192.168.0.100 -t DLCO_STREAM -- -m 1024 netperf -H 192.168.0.100 -t DLCL_STREAM -- -m 1024 netperf -t STREAM_STREAM netperf -t DG_STREAM netperf -t FORE_STREAM -H 192.168.0.100
Mengukur request/response performance
netperf -H 192.168.0.100 -t TCP_RR netperf -H 192.168.0.100 -t UDP_RR netperf -H 192.168.0.100 -t DLCO_RR netperf -H 192.168.0.100 -t DLCL_RR netperf -t STREAM_RR
Kalibrasi CPU
LOC_RATE=`netperf -t LOC_CPU` netperf -H 192.168.0.100 -c $LOC_RATE
Contoh Keluaran
netperf -H 192.168.0.100 -t TCP_RR
MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.100 () port 0 AF_INET : demo : first burst 0 Local /Remote Socket Size Request Resp. Elapsed Trans. Send Recv Size Size Time Rate bytes Bytes bytes bytes secs. per sec 16384 87380 1 1 10.00 2472.55 16384 87380