From: Charles Shannon Hendrix <shannon@widomaker.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: OOM kills if swappiness set to 0, swap storms otherwise
Date: Tue, 2 May 2006 00:12:18 -0400 [thread overview]
Message-ID: <20060502041218.GA5691@widomaker.com> (raw)
In-Reply-To: <44342CE2.208@tmr.com>
Wed, 05 Apr 2006 @ 16:47 -0400, Bill Davidsen said:
Sorry for the late reply, and if this is a duplicate.
> >I shouldn't be suffering from swap storms.
>
> Agreed, does meminfo show that you are?
meminfo?
procinfo and other tools show a lot swapping, if that's what you mean, and you
can see it in disk I/O to the swap drives as well.
> The reason I ask is that I have noted that large memory machines and CD/DVD
> image writing suffer from some interesting disk write patterns. The image
> being built gets cached but not written, then the file is closed. At some
> point the kernel notices several GB of old unwritten data and decides to
> write it. This makes everything pretty slow for a while, even if you have
> 100MB/s disk system.
I see that kind of behavior quite a lot. Not just for DVD/CD images either.
Basically any large data processing fills memory with cached file data at the
expense of other programs and data.
> In theory you should be able to tune this, but in practice I see what
> you do. On small memory machines it's less noticable, oddly.
I tried putting swapiness down to 30. It helped, most of the time, but still
I saw way too much useless file data being cached.
I would personally rather just limit how much file data can be cached. I don't
mind agressive swapping, I just hate seeing a ton of file data being cached
that isn't going to be used again.
I'm also trying the ck kernels just to see how they run. So far they work
better.
--
shannon "AT" widomaker.com -- ["All of us get lost in the darkness,
dreamers turn to look at the stars" -- Rush ]
next prev parent reply other threads:[~2006-05-02 4:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-28 1:53 OOM kills if swappiness set to 0, swap storms otherwise Lee Revell
2006-03-28 3:59 ` Andrew Morton
2006-03-28 4:09 ` Lee Revell
2006-03-28 4:12 ` Parag Warudkar
2006-03-28 4:20 ` Lee Revell
2006-04-05 14:47 ` Charles Shannon Hendrix
2006-04-05 20:47 ` Bill Davidsen
2006-05-02 4:12 ` Charles Shannon Hendrix [this message]
2006-04-11 8:33 ` Linda Walsh
2006-05-02 4:21 ` Charles Shannon Hendrix
2006-05-02 5:04 ` Randy.Dunlap
2006-03-28 11:41 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2006-04-06 1:13 Shantanu Goel
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=20060502041218.GA5691@widomaker.com \
--to=shannon@widomaker.com \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.