From: William Lee Irwin III <wli@holomorphy.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Limiting program swap
Date: Wed, 8 Dec 2004 11:35:24 -0800 [thread overview]
Message-ID: <20041208193524.GU2714@holomorphy.com> (raw)
In-Reply-To: <cp7iqj$57n$1@gatekeeper.tmr.com>
On Wed, Dec 08, 2004 at 02:07:36PM -0500, Bill Davidsen wrote:
> I have several machine of various memory sizes which suffer from really
> poor performance when doing backups. This appears to be because all the
> programs other than the backup quickly get swapped to make room for i/o
> buffers.
> Is there some standard portable way to prevent this, either by reserving
> some memory for programs which will not get swapped regardless of i/o
> pressure, or alternatively limiting the total memory used for i/o
> buffers, dcache, and similar things?
> I did a crude hack for 2.4.17, but if I'm missing some obvious trick I'd
> rather not do something which can't go in the mainline kernel. Anyone
> care to show me what I missed, or is this just a characteristic of Linux?
This appears at least superficially related to
/proc/sys/vm/vfs_cache_pressure in 2.6.x-mm (possibly also mainline)
-- wli
next prev parent reply other threads:[~2004-12-08 19:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-08 19:07 Limiting program swap Bill Davidsen
2004-12-08 19:14 ` Marc-Christian Petersen
2004-12-08 19:35 ` William Lee Irwin III [this message]
2004-12-08 20:45 ` Jesper Juhl
2004-12-08 23:12 ` Con Kolivas
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=20041208193524.GU2714@holomorphy.com \
--to=wli@holomorphy.com \
--cc=davidsen@tmr.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox