Pada server :
root@nhc ~]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
Pada client :
[root@localhost ~]# iperf -c nhc.batan.go.id
------------------------------------------------------------
Client connecting to nhc.batan.go.id, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.102 port 47571 connected with 183.91.x1.165 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-27.4 sec 384 KBytes 115 Kbits/sec
[root@localhost ~]#
------------------------------------------------------------
Client connecting to nhc.batan.go.id, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.102 port 47571 connected with 183.91.x1.165 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-27.4 sec 384 KBytes 115 Kbits/sec
[root@localhost ~]#
Pada sisi server ada tambahan informasi sbb :
root@nhc ~]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 183.91.x1.165 port 5001 connected with 125.167.15.244 port 12983
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-33.3 sec 384 KBytes 94.6 Kbits/sec
Kesimpulan :
Dari hasil dia atas, bandwidth dari sisi client ke server NHC adalah 115 Kbits/sec, namun dari sisi server NHC ke client adalah 94.6 Kbits/sec.
Esok akan dicoba :
1. Ukur bandwidth dari kantor cabang ke Co-location
2. Ukur bandwidth dari kantor cabang ke kantor pusat
3. Ukur menggunakan client windows
Pengukuran dilakukan saat jam sibuk dan saat jam sepi.
Latar belakang pengukuran ini karena ada keluhan mengenai sulitnya mengirim attachment dengan ukuran besar. Tes ini hanya untuk memastikan berapa sih bandwidth antara client dengan server. Padahal bandwidth adalah fungsi waktu dan tempat.
Install iperf di FreeBSD
[root@serpong11 2011May18 22:33] ~ # fetch ftp://ftp.unice.fr/linux/cri/iperf/iperf-1.7.0-source.tar.gz
iperf-1.7.0-source.tar.gz 100% of 178 kB 61 kBps
[root@serpong11 2011May18 22:34] ~ # tar -xvf iperf-1.7.0-source.tar.gz
[root@serpong11 2011May18 22:34] ~ # cd iperf-1.7.0[root@serpong11 2011May18 22:35] ~/iperf-1.7.0 # make
[root@serpong11 2011May18 22:35] ~/iperf-1.7.0 # make install
[root@serpong11 2011May18 22:36] ~/iperf-1.7.0 # ./install-sh -c -d /usr/local/bin
[root@serpong11 2011May18 22:49] ~/iperf-1.7.0 # /usr/local/bin/iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
Dari sisi client :
[root@localhost ~]# iperf -c webmail.batan.go.id
------------------------------------------------------------
Client connecting to webmail.batan.go.id, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.102 port 60729 connected with 183.91.x1.162 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-27.3 sec 384 KBytes 115 Kbits/sec
Pada sisi server :
[root@serpong11 2011May18 22:49] ~/iperf-1.7.0 # /usr/local/bin/iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[ 4] local 183.91.x1.162 port 5001 connected with 125.167.15.244 port 13614
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-31.4 sec 384 KBytes 100 Kbits/sec
Kesimpulan :
Dari hasil dia atas, bandwidth dari sisi client ke server webmail adalah 115 Kbits/sec, namun dari sisi server webmail ke client adalah 100 Kbits/sec.
Lihat :
http://dir.filewatcher.com/d/FreeBSD/distfiles/Other/iperf-1.7.0-source.tar.gz.182773.html
http://lss.rutgers.edu/index.php?page=tool_iperf