public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Limiting program swap
@ 2004-12-08 19:07 Bill Davidsen
  2004-12-08 19:14 ` Marc-Christian Petersen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bill Davidsen @ 2004-12-08 19:07 UTC (permalink / raw)
  To: linux-kernel

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?

-- 
    -bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
  last possible moment - but no longer"  -me

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-08 23:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2004-12-08 20:45 ` Jesper Juhl
2004-12-08 23:12   ` Con Kolivas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox