From: Ming Zhang <mingz@ele.uri.edu>
To: Jesse Brandeburg <jesse.brandeburg@intel.com>
Cc: E1000 <e1000-devel@lists.sourceforge.net>,
iet-dev <iscsitarget-devel@lists.sourceforge.net>,
netdev@vger.kernel.org
Subject: Re: Page Allocation Failure with e1000 using jumboframe
Date: Fri, 19 Aug 2005 13:52:24 -0400 [thread overview]
Message-ID: <1124473944.5552.22.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.WNT.4.63.0508191023130.3796@jbrandeb-desk.amr.corp.intel.com>
On Fri, 2005-08-19 at 10:33 -0700, Jesse Brandeburg wrote:
> On Fri, 19 Aug 2005, Ming Zhang wrote:
> > This is first reported on IET list and then i redo the test with vanilla
> > 2.6.12.4 kernel and everything went fine.
> >
> > so i suspect if there are special case caused by vendor kernel.
> >
> > is this 32KB ATOMIC ram allocation request only available in jumbo frame
> > case? since the regular MTU case goes fine.
> >
>
> Ahh, okay. I'm pretty sure that SuSE did some changes (not sure what) to
> memory management.
>
> the formula for the size that the current e1000 looks for is something
> like
>
> a = MTU roundup to next power of 2
> a += 2 (skb_reserve(NET_IP_ALIGN))
> a += 16 (skb_reserve 16 by __dev_alloc_skb)
>
> so, a = 2048 + 2 + 16, or 2066
> request (a) from slab, which does a power of 2 roundup
> so the skb comes from the 4k (single page) slab for standard mtu.
>
that is wasteful.
> Jesse
>
> PS we have a driver in test that won't do the large contig allocations any
> more.
>
then wait to see this. :P
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
next prev parent reply other threads:[~2005-08-19 17:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1124326404.5546.215.camel@localhost.localdomain>
2005-08-19 16:51 ` [E1000-devel] Page Allocation Failure with e1000 using jumbo frame Jesse Brandeburg
2005-08-19 17:01 ` Ming Zhang
2005-08-19 17:33 ` Page Allocation Failure with e1000 using jumboframe Jesse Brandeburg
2005-08-19 17:42 ` [E1000-devel] " Andi Kleen
2005-08-19 17:51 ` Jesse Brandeburg
2005-08-19 18:01 ` Andi Kleen
2005-08-19 19:07 ` Ming Zhang
2005-08-19 21:10 ` Jesse Brandeburg
2005-08-19 17:52 ` Ming Zhang [this message]
2005-08-20 1:46 ` Michael Iatrou
2005-08-19 17:02 ` Page Allocation Failure with e1000 using jumbo frame Andi Kleen
2005-08-19 18:10 ` [E1000-devel] " Martin Josefsson
2005-08-19 17:03 ` Nivedita Singhvi
2005-08-20 1:43 ` [E1000-devel] " Michael Iatrou
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=1124473944.5552.22.camel@localhost.localdomain \
--to=mingz@ele.uri.edu \
--cc=e1000-devel@lists.sourceforge.net \
--cc=iscsitarget-devel@lists.sourceforge.net \
--cc=jesse.brandeburg@intel.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).