Re: [RFC v2: Patch 1/3] net: hand off skb list to other cpu to submit to upper layer

From: Tom Herbert
Date: Sat Mar 14 2009 - 14:15:41 EST


On Fri, Mar 13, 2009 at 7:19 PM, David Miller <davem@xxxxxxxxxxxxx> wrote:
> From: Tom Herbert <therbert@xxxxxxxxxx>
> Date: Fri, 13 Mar 2009 17:24:10 -0700
>
>> Enabling HW multi-queue has somewhat higher CPU
>> utilization though, the extra device interrupt load is not coming for
>> free.  We actually use the HW multi-queue in conjunction with our
>> software steering to get maximum pps (about 20% more).
>
> This is a non-intuitive observation.  Using HW multiqueue should be
> cheaper than doing it in software, right?
>

I suppose it may be counter-intuitive, but I am not making a general
claim. I would only suggest that these software hacks could be a very
good approximation or substitute for hardware functionality. This is
a generic way to get more performance out of deficient or lower end
NICs.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/