opensubscriber
   Find in this group all groups
 
Unknown more information…

f : freebsd-hackers@freebsd.org 5 May 2012 • 2:00AM -0400

Re: CPU selection for ithreads on 8.3
by Navdeep Parhar

REPLY TO AUTHOR
 
REPLY TO GROUP




On 05/04/12 10:05, Wojciech Puchar wrote:
>> cxgbc0}
>> 12 root -68 - 0K 816K WAIT 7 0:31 0.00% intr{irq280: cxgbc0}
>>
>> Back in the day there used to be code in cxgb to bind different
>> interrupts to different CPUs but it was removed because the kernel
>> distributed them across CPUs anyway. So what changed? This appears 8.3
>> specific. I don't see it on head and I don't have a 9 system readily
>
> maybe stupid question but isn't it better to execute same fragment of
> code repetitively on same CPU core and don't mess with cache trashing?
>
> Of course as long as one core can cope with it.

That, and cache trashing is not that big an issue if the threads are
working on their own sets of data.  This is precisely the problem that
network stack parallelization tries to solve.

Navdeep
_______________________________________________
freebsd-hackers@free... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@free..."

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.