lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 23 Sep 2009 18:05:43 -0700
From:	Rick Jones <rick.jones2@...com>
To:	Stephen Hemminger <shemminger@...tta.com>
CC:	Jesper Dangaard Brouer <jdb@...x.dk>,
	Robert Olsson <robert@...julf.net>, netdev@...r.kernel.org
Subject: Re: pktgen: tricks

Stephen Hemminger wrote:
> On Tue, 22 Sep 2009 22:49:02 -0700
> Stephen Hemminger <shemminger@...tta.com> wrote:
> 
> 
>>I thought others want to know how to get maximum speed of pktgen.
>>
>>1. Run nothing else (even X11), just a command line
>>2. Make sure ethernet flow control is disabled
>>   ethtool -A eth0 autoneg off rx off tx off
>>3. Make sure clocksource is TSC.  On my old SMP Opteron's
>>   needed to get patch since in 2.6.30 or later, the clock guru's
>>   decided to remove it on all non Intel machines.  Look for patch
>>   than enables "tsc=reliable"
>>4. Compile Ethernet drivers in, the overhead of the indirect
>>   function call required for modules (or cache footprint),
>>   slows things down.
>>5. Increase transmit ring size to 1000
>>   ethtool -G eth0 tx 1000
>>
>>Result: OK: 70408581(c70405979+d2602) nsec, 100000000 (60byte,0frags)
>>  1420281pps 681Mb/sec (681734880bps) errors: 0
> 
> 
> Other kernel config help:
>   - turn off lock dependency checker, kmecheck, page alloc debug
>     basically anything that slows stuff down
>   - turn off content group scheduler

I and thought netperf was getting away from real-world?-)

rick jones
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ