Skip to content
Dennis Schwerdel edited this page Feb 14, 2014 · 3 revisions

Speed Test

Test Topology

<topology name="speed_test">
	<device id="openvz1" pos="101,191" template="debian-6.0-standard_6.0-2_i386" type="openvz">
		<interface id="eth0" use_dhcp="true"/>
		<interface id="eth1" ip4address="10.1.1.1/16"/>
		<interface id="eth2" ip4address="10.2.1.1/16"/>
		<interface id="eth3" ip4address="10.3.1.1/24" gateway="10.3.1.254"/>
	</device>
	<device id="openvz2" pos="392,185" template="debian-6.0-standard_6.0-2_i386" type="openvz">
		<interface id="eth0" use_dhcp="true"/>
		<interface id="eth1" ip4address="10.1.2.1/16"/>
		<interface id="eth2" ip4address="10.2.2.1/16"/>
		<interface id="eth3" ip4address="10.3.2.1/24" gateway="10.3.2.254"/>
	</device>
	<connector id="internet1" pos="260,60" type="real">
		<connection device="openvz1" interface="eth0"/>
		<connection device="openvz2" interface="eth0"/>
	</connector>
	<connector id="hub1" pos="257,149" type="hub">
		<connection bandwidth="10000000" device="openvz1" interface="eth1"/>
		<connection bandwidth="10000000" device="openvz2" interface="eth1"/>
	</connector>
	<connector id="switch1" pos="256,237" type="switch">
		<connection bandwidth="10000000" device="openvz1" interface="eth2"/>
		<connection bandwidth="10000000" device="openvz2" interface="eth2"/>
	</connector>
	<connector id="router1" pos="260,323" type="router">
		<connection bandwidth="10000000" device="openvz1" gateway="10.3.1.254/24" interface="eth3"/>
		<connection bandwidth="10000000" device="openvz2" gateway="10.3.2.254/24" interface="eth3"/>
	</connector>
</topology>

Bandwidth Measurement

Commands
On the server:

iperf -s

On the client:

iperf -c IP -i 1 -t 60

Results

Network type Average bandwidth
Real 855 Mbits/sec
Hub 194 Mbits/sec
Switch 185 Mbits/sec
Router 394 Mbits/sec

Bandwidth/Jitter/Loss Measurement

Commands

On the server:

iperf -u -s

On the client:

iperf -u -c IP -i 1 -t 60 -b BW

Results

Bandwidth limit: 1G

Network type Average bandwidth Jitter Loss
Real 935 Mbits/sec 0.013 ms 0.013%
Hub 550 Mbits/sec 0.034 ms 5.2%
Switch 548 Mbits/sec 0.032 ms 4.5%
Router 552 Mbits/sec 0.065 ms 41%

Bandwidth limit: 100M

Network type Average bandwidth Jitter Loss
Real 101 Mbits/sec 0.024 ms 0%
Hub 101 Mbits/sec 0.182 ms 0.011%
Switch 101 Mbits/sec 0.205 ms 0.49%
Router 101 Mbits/sec 0.190 ms 0.11%

Bandwidth limit: 10M

Network type Average bandwidth Jitter Loss
Real 10.0 Mbits/sec 0.024 ms 0%
Hub 10.0 Mbits/sec 0.043 ms 0%
Switch 10.0 Mbits/sec 0.091 ms 0%
Router 10.0 Mbits/sec 0.026 ms 0%