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

From: Eric Dumazet
Date: Wed Dec 15 2010 - 15:56:17 EST


Le mercredi 15 dÃcembre 2010 Ã 21:48 +0100, Eric Dumazet a Ãcrit :
> Le mercredi 15 dÃcembre 2010 Ã 12:02 -0800, Fenghua Yu a Ãcrit :
> > From: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> >
> > Multiqueue and multicore provide packet parallel processing methodology.
> > Current kernel and network drivers place one queue on one core. But the higher
> > level socket doesn't know multiqueue. Current socket only can receive or send
> > packets through one network interfaces. In some cases e.g. multi bpf filter
> > tcpdump and snort, a lot of contentions come from socket operations like ring
> > buffer. Even if the application itself has been fully parallelized and run on
> > multi-core systems and NIC handlex tx/rx in multiqueue in parallel, network layer
> > and NIC device driver assemble packets to a single, serialized queue. Thus the
> > application cannot actually run in parallel in high speed.

I forgot to say that your patches are not against net-next-2.6, and not
apply anyway.

Always use David trees for networking patches...


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