Re: router stresstesting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 22 March 2001 00:01, john slee wrote:
> 'ping -f -s NNN host' will generate lots of packets of about NNN octets
> each.  be sure to test with various packet sizes.

This won't generate too many packets. From the ping manpage:

> -f      Flood ping.  Outputs packets as fast as they come back or one
>             hundred times per second, whichever is more.

100 packets/sec with 64 bytes each equals about 6.4 KB/sec (lower bound). Now 
in probably all cases the packets will come back faster than that, so actual 
traffic load will be higher. Still it depends on such things as rtt latency, 
duplex mode etc.

What I use to debug my network drivers and protocol stack is usually ping -l 
<large_number>. Simple but effective test to examine driver behaviour under 
load conditions. Also managed to kill Linux when performed on localhost over 
night some versions back in 2.2 .
Try it, it's fun. :-)

  -- Jens
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux