DEVICE_POLLING with SMP

Vlad Galu dudu at diaspar.rdsnet.ro
Wed Jan 28 23:04:15 PST 2004


veedee at c7.campus.utcluj.ro writes:

|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.

	I see no reason for it. Having to switch between multiple kernel
threads to handle polling may bring too much overhead.

|-- 
|| Radu Bogdan 'veedee' Rusu
|| NetSysAdm at campus dot utcluj dot ro
|| Personal gallery at http://rbrusu.com
|| ...mirroring FreeBSD and coffee
|_______________________________________________
|freebsd-net at freebsd.org mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-net
|To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
|


----
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040129/632026e3/attachment-0001.bin


More information about the freebsd-net mailing list