From: "Chris Friesen" <cfriesen@nortel.com>
To: netdev@vger.kernel.org
Subject: jumbo frames and memory fragmentation
Date: Thu, 29 Jun 2006 12:54:15 -0600 [thread overview]
Message-ID: <44A421D7.2030609@nortel.com> (raw)
I'm running a system with multiple e1000 devices, using 9KB jumbo
frames. I'm running a modified 2.6.10 with e1000 driver 5.5.4-k2.
I'm a bit concerned about the behaviour of this driver with jumbo
frames. We ask for 9KB. The driver then bumps that up to a
power-of-two, so it calls dev_alloc_skb(16384). That then bumps it up a
bit to allow for its own overhead, so it appears that we end up asking
for 32KB of physically contiguous memory for every packet coming in. Ouch.
Add to that the fact that this version of the driver doesn't do
copybreak, and it means that after we're up for a few days it starts
complaining about not being able to allocate buffers.
Anyone have any suggestions on how to improve this? Upgrading kernels
isn't an option. I could port back the copybreak stuff fairly easily.
Back in 2.4 some of the drivers used to retry buffer allocations using
GFP_KERNEL once interrupts were reenabled. I don't see many of them
doing that anymore--would there be any benefit to that?
Thanks,
Chris
next reply other threads:[~2006-06-29 18:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-29 18:54 Chris Friesen [this message]
2006-06-30 13:01 ` jumbo frames and memory fragmentation Herbert Xu
2006-06-30 17:53 ` Chris Friesen
2006-06-30 18:48 ` Evgeniy Polyakov
2006-06-30 23:35 ` Chris Friesen
2006-07-01 0:04 ` Jesse Brandeburg
2006-07-08 22:25 ` Evgeniy Polyakov
2006-07-13 12:13 ` Herbert Xu
2006-07-17 17:16 ` Chris Friesen
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=44A421D7.2030609@nortel.com \
--to=cfriesen@nortel.com \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).