From: Al Boldi <a1426z@gawab.com>
To: Peter Chacko <peterchacko35@gmail.com>,
David Miller <davem@davemloft.net>
Cc: rick.jones2@hp.com, radhamohan_ch@yahoo.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [RFD] Pluggable code design (was: can we reuse an skb)
Date: Sun, 21 Jun 2009 14:46:13 +0300 [thread overview]
Message-ID: <200906211446.13665.a1426z@gawab.com> (raw)
In-Reply-To: <1f808b4a0906202241l1d74364ft52d99ecb6b0274f5@mail.gmail.com>
Peter Chacko wrote:
> What i am considering here is the super optimization of memory buffers
> for a multi-layer packet processor, without needing to move packets
> into user space. In that case, i am optimizing my custom network stack
> with a pre-allocated MTU sized and a few jumbo-sized buffers. And no
> interrupts as i do NAPI at all times, as this is a dedicated
> appliance. I keep all these buffers in the L1 cache and hence i have
> different sets of pools for different cores. I am currently guiding
> my engineers to implement the code changes now..
Yes, having a customizable/pluggable network stack sounds very useful.
In general, OpenSource projects like Linux don't give much incentive to
pluggable designs, because the source, being open, represents a weired form
of pluggability. Unfortunately, this "hack it up / code it hard" design
style usually inhibits healthy development.
A rethink is probably in place...
Thanks!
--
Al
parent reply other threads:[~2009-06-21 11:45 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1f808b4a0906202241l1d74364ft52d99ecb6b0274f5@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200906211446.13665.a1426z@gawab.com \
--to=a1426z@gawab.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=peterchacko35@gmail.com \
--cc=radhamohan_ch@yahoo.com \
--cc=rick.jones2@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®