From: Lukas Hejtmanek <xhejtman@mail.muni.cz>
To: Andrew Morton <akpm@osdl.org>
Cc: Francois Romieu <romieu@fr.zoreil.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.9 - e1000 - page allocation failed
Date: Wed, 3 Nov 2004 14:22:43 +0100 [thread overview]
Message-ID: <20041103132243.GF25171@mail.muni.cz> (raw)
In-Reply-To: <20041022025158.7737182c.akpm@osdl.org>
On Fri, Oct 22, 2004 at 02:51:58AM -0700, Andrew Morton wrote:
> I'd be interested in knowing if this fixes it - I don't expect it will,
> because that's a zero-order allocation failure. He's really out of memory.
>
> The e1000 driver has a default rx ring size of 256 which seems a bit nutty:
> a back-to-back GFP_ATOMIC allocation of 256 skbs could easily exhaust the
> page allocator pools.
>
> Probably this machine needs to increase /proc/sys/vm/min_free_kbytes.
Well is there some possiblility to solve it? I have lots of free memory (300MB)
and it still complains about not enough free memory.
I'm using this:
/sbin/sysctl -w net/core/rmem_max=8388608
/sbin/sysctl -w net/core/wmem_max=8388608
/sbin/sysctl -w net/core/rmem_default=1048576
/sbin/sysctl -w net/core/wmem_default=1048576
/sbin/sysctl -w net/ipv4/tcp_window_scaling=1
/sbin/sysctl -w net/ipv4/tcp_rmem="4096 1048576 8388608"
/sbin/sysctl -w net/ipv4/tcp_wmem="4096 1048576 8388608"
/sbin/ifconfig eth0 txqueuelen 1000
--
Lukáš Hejtmánek
next prev parent reply other threads:[~2004-11-03 13:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-21 22:16 Lukas Hejtmanek
2004-10-21 22:58 ` Francois Romieu
2004-10-22 9:51 ` Andrew Morton
2004-10-22 12:08 ` Lukas Hejtmanek
2004-10-22 12:45 ` Nick Piggin
2004-12-03 18:37 ` Lukas Hejtmanek
2004-11-03 13:22 ` Lukas Hejtmanek [this message]
2004-11-03 14:10 ` Lukas Hejtmanek
2004-10-22 10:55 Piszcz, Justin Michael
2004-10-22 19:35 ` Francois Romieu
2004-10-22 11:16 Piszcz, Justin Michael
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=20041103132243.GF25171@mail.muni.cz \
--to=xhejtman@mail.muni.cz \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=romieu@fr.zoreil.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
Powered by JetHome