Re: efficacy of Linux w/o swap
From: Robert Nichols (SEE_SIGNATURE_at_localhost.localdomain.invalid)
Date: 05/17/05
- Next message: Klaus Schneider: "kernel function called with 200Hz"
- Previous message: Peter T. Breuer: "Re: Exporting and using symbols on Kernel 2.6.X"
- In reply to: phil-news-nospam_at_ipal.net: "Re: efficacy of Linux w/o swap"
- Next in thread: Robert Redelmeier: "Re: efficacy of Linux w/o swap"
- Reply: Robert Redelmeier: "Re: efficacy of Linux w/o swap"
- Reply: phil-news-nospam_at_ipal.net: "Re: efficacy of Linux w/o swap"
- Reply: Kasper Dupont: "Re: efficacy of Linux w/o swap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 17 May 2005 15:21:42 +0000 (UTC)
In article <d6bdpo02fjq@news2.newsguy.com>, <phil-news-nospam@ipal.net> wrote:
:
:Apparently even if there is no swap space, the kernel looks around for
:dirty pages to write. And in at least 2.4 it gets rather bad when
:memory is full and slows down. Others have said 2.6 has an inverse
:lookup that should help, but I don't think a single pass of all pages
:can account for such an extreme amount of time. Something must be
:causing more than that.
The other thing the kernel will do in an out-of-memory situation is to
start throwing away text pages since those can always be reloaded from
the disk. That causes a huge performance hit if those pages are
actually needed since the process will be forced to wait until they are
paged back in from a disk that, in your case, is already saturated with
I/O. That certainly shouldn't be happening if there are buffer cache
pages that could simply be discarded.
All I can guess is that your disk I/O isn't quite keeping up with the
data rate, eventually memory becomes filled with dirty (unwritten)
buffers, and then the kernel is forced to discard text pages to satisfy
memory requests. Unfortunately I have no idea what you might be able to
tune to avoid that situation.
-- Bob Nichols AT comcast.net I am "rnichols42"
- Next message: Klaus Schneider: "kernel function called with 200Hz"
- Previous message: Peter T. Breuer: "Re: Exporting and using symbols on Kernel 2.6.X"
- In reply to: phil-news-nospam_at_ipal.net: "Re: efficacy of Linux w/o swap"
- Next in thread: Robert Redelmeier: "Re: efficacy of Linux w/o swap"
- Reply: Robert Redelmeier: "Re: efficacy of Linux w/o swap"
- Reply: phil-news-nospam_at_ipal.net: "Re: efficacy of Linux w/o swap"
- Reply: Kasper Dupont: "Re: efficacy of Linux w/o swap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|