Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2004 21:44:35 +0200
From:      veedee@c7.campus.utcluj.ro
To:        freebsd-net@freebsd.org
Subject:   Re: DEVICE_POLLING with SMP
Message-ID:  <20040128194435.GA16076@c7.campus.utcluj.ro>
In-Reply-To: <B2508BB3-51C7-11D8-B168-000A95A8A1F2@dragondata.com>
References:  <B2508BB3-51C7-11D8-B168-000A95A8A1F2@dragondata.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040128194435.GA16076>