DEVICE_POLLING with SMP

veedee at c7.campus.utcluj.ro veedee at c7.campus.utcluj.ro
Wed Jan 28 11:45:00 PST 2004


On Wed, Jan 28, 2004 at 01:25:13PM -0600, Kevin Day wrote:
> 
> Has anyone made any headway with getting polling(4) to work with a SMP 
> kernel?  Last May this was discussed on here briefly with me, Luigi and 
> Don Bowman, which seemed to indicate that the majority of what needed 
> to be fixed to make this work would be some kind of locking in 
> idle_loop to make sure only one CPU gets into the polling code at once.
> 
> I've got a case where enabling SMP gives me a 20-30% performance boost, 
> or if I turn polling on I get another 10-15% boost. I'd love to see 
> what the two together could do. 

I was just about to ask the same question. We've just received 2 Athlon MPs
2400+ and we're about to buy a gigabit Intel PRO/1000MT Dual for one of our
servers.

It would be great if SMP could be combined with polling.
-- 
| Radu Bogdan 'veedee' Rusu
| NetSysAdm at campus dot utcluj dot ro
| Personal gallery at http://rbrusu.com
| ...mirroring FreeBSD and coffee


More information about the freebsd-net mailing list