User: Password:
Subscribe / Log in / New account

Re: Netchannles: first stage has been completed. Further ideas.

From:  David Miller <>
Subject:  Re: Netchannles: first stage has been completed. Further ideas.
Date:  Tue, 18 Jul 2006 17:39:56 -0700 (PDT)
Archive-link:  Article, Thread

From: Alexey Kuznetsov <>
Date: Wed, 19 Jul 2006 03:01:21 +0400

> The only improvement in this area suggested in VJ's slides is a
> lock-free producer-consumer ring. It is missing in your patch and I
> could guess it is not big loss, it is unlikely to improve something
> significantly until the lock is heavily contended, which never
> happens without massive network-level parallelism for a single
> bucket.

And the gains from this ring can be obtained by stateless hardware
classification pointing to unique MSI-X PCI interrupt vectors that get
targetted to specific unique cpus.  It is true zero cost in that case.

I guess my excitement about VJ channels, from a practical viewpoint,
begin to wane even further.  How depressing :)

Devices can move flow work to individual cpus via intellegent
interrupt targeting, and OS should just get out of the way and
continue doing what it does today.  This idea is actually very old,
and PCI MSI-X interrupts just make it practical for commodity devices.

At least, there is less code to write. :-)))
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

(Log in to post comments)

Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds