[ofa-general] Re: [PATCH 2/3][NET_BATCH] net core use batching
David Miller
davem at davemloft.net
Tue Oct 9 14:22:35 PDT 2007
From: Stephen Hemminger <shemminger at linux-foundation.org>
Date: Tue, 9 Oct 2007 13:53:40 -0700
> I was thinking why not have a default transmit queue len of 0 like
> the virtual devices.
I'm not so sure.
Even if the device has "huge queues" I still think we need a software
queue for when the hardware one backs up.
It is even beneficial to stick with reasonably sized TX queues because
it keeps the total resident state accessed by the CPU within the
bounds of the L2 cache. If you go past that it actually hurts to make
the TX queue larger instead of helps even if it means you never hit
back pressure.
More information about the general
mailing list