RE: Tuning for router performance

2005-04-21 Thread David Schwartz
> In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] ("David Schwartz") writes: > > >> options HZ=1000 #for polling > > That's too low. 2000 is the minimum you should consider. > > Having fixed my traffic generator, I'm now hitting ~220Kpps as limit > before errors.

Re: Tuning for router performance

2005-04-20 Thread Paul Civati
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Shunsuke SHINOMIYA) writes: > sysctl kern.random.sys.harvest.ethernet=0 > sysctl kern.random.sys.harvest.interrupt=0 > > affect to your router's performance? No effect for me. > and, disabling interrupt moderation of em(4) affects the

Re: Tuning for router performance

2005-04-20 Thread Paul Civati
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("David Schwartz") writes: >> options HZ=1000 #for polling > That's too low. 2000 is the minimum you should consider. Having fixed my traffic generator, I'm now hitting ~220Kpps as limit before errors. > kern.random.sys.ha

Re: Tuning for router performance

2005-04-19 Thread Paul Civati
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("David Schwartz") writes: >> options HZ=1000 #for polling > That's too low. 2000 is the minimum you should consider. This alone has helped.. now up to 200Kpps at least but my click router has run out of puff since I haven

Re: Tuning for router performance

2005-04-19 Thread Paul Civati
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Joe Greco) writes: > No problems with high traffic rates. (For the purposes of this discussion, > all traffic except ssh to the router is traffic /thru/ the router). Yes sorry I should have also mentioned I was specifically using 64byte

Re: Tuning for router performance

2005-04-19 Thread Paul Civati
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("David Schwartz") writes: >> I'm starting to hit errors at 150Kpps. > I'm not sure why you're hitting errors at that speed. But here are > a few suggestions: Sorry - I left out a key piece of information, as I'm testing PPS rather than th

Re: Tuning for router performance

2005-04-17 Thread Joe Greco
> RELENG_5 as of Apr 03 21:33 > > * P4 3.0GHz / 2GB DDR400 RAM > * Supermicro P4SCi with 2 on-board Intel gige > * Additional 2-port Intel gige on 64-bit PCI-X > > With this many interfaces I have disabled unnecessary devices in the > BIOS such as USB to reduce IRQ sharing. Interesting. I'm usi

Re: Tuning for router performance

2005-04-17 Thread Shunsuke SHINOMIYA
Hi, Paul. Do sysctl kern.random.sys.harvest.ethernet=0 sysctl kern.random.sys.harvest.interrupt=0 affect to your router's performance? and, disabling interrupt moderation of em(4) affects the router too? Please see the previous discussion of interrupt moderation at freebsd-current. http

RE: Tuning for router performance

2005-04-17 Thread David Schwartz
> I'm starting to hit errors at 150Kpps. I'm not sure why you're hitting errors at that speed. But here are a few suggestions: > options DEVICE_POLLING #network device mixed > interrupt-polling handling > options HZ=1000 #for polling That's too low. 2000