mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.5-rc2-mm1 - swapoff dies with OOM, why?
@ 2004-03-29  2:38 John Stoffel
  2004-03-29  4:12 ` Andrew Morton
  2004-03-29  7:58 ` Felipe Alfaro Solana
  0 siblings, 2 replies; 7+ messages in thread
From: John Stoffel @ 2004-03-29  2:38 UTC (permalink / raw)
  To: linux-kernel


Hi all,

I've run into a strange situation here.  I was having *terrible*
performance while doing a complile of the 2.6.5-rc2-mm2 kernel on my
system (Debian completely bleeding edge, plus udev and hotplug) along
with dealing with a USB problem where if I removed my Cuzer USB
device, it would never get de-allocated properly and the system load
would start to hang.

I've got 768mb of RAM, and 1gb of SWAP on the system, and I was using
about 110mb of swap, and around 360mb of cache, with around 20-30mb of
cache.  So using vmstat 1, I could see that the system was swapping in
just all the time, and the compile was just dog slow.  So I figured I
could get rid of some useless cache if I could just turn off swap.

No go.  Every time I tried, it would drop the swap down a bit (say
5-20mb), but then go OOM on me and die.  I thought this was completely
bogus.  If I've got the physical RAM available, and more cache and/or
buffer than is currently swapped to disk, why can't I kill swap?

John

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

end of thread, other threads:[~2004-03-29 22:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-29  2:38 2.6.5-rc2-mm1 - swapoff dies with OOM, why? John Stoffel
2004-03-29  4:12 ` Andrew Morton
2004-03-29 15:02   ` John Stoffel
2004-03-29 16:18     ` Hugh Dickins
2004-03-29 22:02       ` John Stoffel
2004-03-29 22:34         ` Hugh Dickins
2004-03-29  7:58 ` Felipe Alfaro Solana

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

all inboxes | Powered by JetHome®