Advice on a multithreaded netisr patch?

Robert Watson rwatson at FreeBSD.org
Tue Apr 7 02:24:45 PDT 2009


On Tue, 7 Apr 2009, Sepherosa Ziehau wrote:

>> This issue is almost entirely independent from things like the cache line 
>> miss issue, unless you hit the uncommon case of having to do work in 
>> m_pullup(), in which case life sucks.
>>
>> It would be useful to use DTrace to profile a number of the workfull 
>> m_foo() functions to make sure we're not hitting them in normal workloads, 
>> btw.
>
> I highly suspect m_pullup will take any real effect on RX path, given how 
> most of drivers allocate the mbuf for RX ring (all RX mbufs should be 
> mclusters).

Agreed, but it's good to be sure one is right about these things. :-)

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the freebsd-net mailing list