Testing



Our test methodology to emulate or simulate the wan network performce, we will:

Configure and Tune your gigE network

Inject test metrics into the network

Flood the gigE network

View the network performance results

do you believe what you're seeing .. and WHY is it that way

gigE Network Configuration

In order to run at gigE ( 1,000 Mbit/sec ) speeds,

you will need to tune your network

kernel parameters

TCP window size

MTU packet size

queue size

Inject test conditions into the Network Performance

there are many ways to inject test metrics into the network

apply your network performance metrics and watch your results

apply bandwidth limit values

apply RTT values

apply packet loss values

apply queue-size values

apply collision values - not supported yet

apply jitter values - not supported yet

online Bandwidth Demo

online mtu/mss/BDP tests

Flooding the Network ( for bandwidth performance tests )

You can flood the network with various tools

TCP Testing

netperf

iperf

shows Mbits/sec thruput .. though sometimes incorrectly

Sample commands:

server iperf -w 1024k -s

client iperf -w 1024k -c [ -P 4 ] server

netcat / socat

server socat -d -d -u TCP4-LISTEN:3333,reuseaddr,rcvbuf=,sndbuf=,fork /dev/null

client socat -d -d -u /dev/zero TCP4:server:3333,rcvbuf=,sndbuf=

fping

hping

pingER

synack - for sites that block ping

ping floods

client ping -f target

generic ping flood is too slow

client ping -i 0.0001 -s 1000 target

-i 0.001 === send out 1,000 packets per second

-i 0.0001 == send out 10,000 packets per second

-s 1000 == each packet is 1,000 bytes per packet

-s 2000 == each packet is 2,000 bytes

-s value == value must be less than 65,000 bytes

ping -i 0.0001 -s 1000 == 10,000 * 1000Bytes == 10 MB/sec == 80 Mbit/sec

ping -i 0.0001 -s 2000 == 10,000 * 2000Bytes == 20 MB/sec == 160 Mbit/sec

netpipe = Network Protocol Independent Performance Evaluator

NCS ncsd-dist = netest + pipechar

pchar

pathload

receiver ./pathload_rcv -s sender

sender ./pathload_snd -i

pathrate

receiver ./pathrate_rcv -s sender

sender ./pathrate_snd -i

netest

pipechar

bbcp ttcpTx

ttcp

ttcp circa 1990 - 1995

receiver ttcp -r -l 8192 sender > /dev/null

sender tar cf - /usr | ttcp -t -l 8192 receiver

tcp story

nuttcp

© 2004-2011 wan-sim.net All Rights Reserved.