Re: [PATCH 1/3] Kernel interfaces for multiqueue aware socket

From: Eric Dumazet
Date: Fri Dec 17 2010 - 01:50:50 EST


Le vendredi 17 dÃcembre 2010 Ã 14:22 +0800, Junchang Wang a Ãcrit :
> On Thu, Dec 16, 2010 at 9:28 AM, Changli Gao <xiaosuo@xxxxxxxxx> wrote:
> > On Thu, Dec 16, 2010 at 9:14 AM, Fenghua Yu <fenghua.yu@xxxxxxxxx> wrote:
> >>
> >> SKF_AD_QUEUE doesn't know number of rx queues. Thus user application can't
> >> specify right SKF_AD_QUEUE.
> >
> > It is wrong. AFAIK, you can get the queue number through
> > /sys/class/net/eth*/queues/ or /proc/interrupts
> >
>
> Valuable comment. Thanks.
>
> >
> > If you turn to SKF_AD_QUEUE, I think no patch for kernel is needed.
> >
> This patch set is about parallelization of socket interfaces to gain
> performance boost (say, from 1Mpps to around 5Mpps), rather than
> simply bounding socket to cpu/queue. Therefore, it does worth having.
>

Definitely, but this needs to be designed so that it can be used by even
dumb applications :)



--
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/