Re: How to setup polling on 'bge' interface

2006-07-24 Thread Marcelo Gardini do Amaral
A few points: - Polling and SMP are compatible in 6.1. In fact, they were compatible in earlier versions too; basically it's just the compile-time check that had to be fixed. - You may have to adjust some parameters in the kern.polling sysctl tree - specifically,

Re: How to setup polling on 'bge' interface

2006-07-24 Thread Marcelo Gardini do Amaral
The limited testing I've done on a Sun V20z at work suggests that you can get better routing throughput in interrupt mode than polling mode. YMMV and this is before tweaking the polling parameters. (My testing also suggests that I don't really need to do any tweaking because the limiting

Re: How to setup polling on 'bge' interface

2006-07-24 Thread Scott Long
Marcelo Gardini do Amaral wrote: The limited testing I've done on a Sun V20z at work suggests that you can get better routing throughput in interrupt mode than polling mode. YMMV and this is before tweaking the polling parameters. (My testing also suggests that I don't really need to do any

Re: How to setup polling on 'bge' interface

2006-07-20 Thread Peter Jeremy
On Wed, 2006-Jul-19 22:38:56 -0400, Ed Maste wrote: - You may have to adjust some parameters in the kern.polling sysctl tree - specifically, kern.polling.burst_max, kern.polling.each_burst and kern.polling.user_frac might need tweaking. Note that increasing kern.polling.burst_max and

Re: How to setup polling on 'bge' interface

2006-07-20 Thread Scott Long
Peter Jeremy wrote: On Wed, 2006-Jul-19 22:38:56 -0400, Ed Maste wrote: - You may have to adjust some parameters in the kern.polling sysctl tree - specifically, kern.polling.burst_max, kern.polling.each_burst and kern.polling.user_frac might need tweaking. Note that increasing

Re: How to setup polling on 'bge' interface

2006-07-19 Thread Ed Maste
On Tue, Jul 11, 2006 at 04:09:08PM -0300, Marcelo Gardini do Amaral wrote: Hi, I'm trying to setup polling in my box. [...] But I always get some packet loss. A few points: - Polling and SMP are compatible in 6.1. In fact, they were compatible in earlier versions too; basically it's

How to setup polling on 'bge' interface

2006-07-11 Thread Marcelo Gardini do Amaral
Hi, I'm trying to setup polling in my box. I'm using these options: options DEVICE_POLLING options HZ=1000 and in the rc.conf: ifconfig_bge0=inet xxx.xxx.xxx.xxx/xx polling media 1000baseTX mediaopt full-duplex But I always get some packet loss. I'm using FreeBSD 6.1 and SMP