Re: OOM killer gripe (was Re: What still uses the block layer?)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Monday, October 15, 2007 - 8:55 pm

Nick Piggin <nickpiggin@yahoo.com.au> writes:


No.

There are three basic swapping scenarios.
- Pushing unused data out of ram
- Swapping 
- Thrashing

To effectively swap you need SWAP > RAM because after a little while of
swapping all of your pages in RAM should be assigned a location in the
page cache.

I have not heard of many people swapping and not thrashing lately.
I think part of the problem is that we do random access to the swap
partition which makes us seek limited.  And since the number of
seeks per unit time has been increasing at a linear or slower rate
that if we are doing random disk I/O then the amount we can use
the disk for is very limited.   I wonder if we could figure out
how to push and pull 1M or bigger chunks into and out of swap?

I don't know if swap has actually worked since we vmscan stopped
going over the virtual addresses.


I totally agree. The fact that the OOM killer started is a sign that
the system was completely overwhelmed and nothing better could happen.

In this case my gut feel says limiting the total number of processes
would have been much more effective then anything at all to do with
swap. make -j reminds me of the classic fork bomb.


Well we have SAQ which should kill everything on your current VT
which should include X and all of it's children.

Eric
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What still uses the block layer?, Rob Landley, (Thu Oct 11, 6:11 pm)
Re: What still uses the block layer?, Matthew Wilcox, (Sat Oct 13, 3:05 pm)
Re: What still uses the block layer?, David Newall, (Sat Oct 13, 10:54 pm)
Re: What still uses the block layer?, Stefan Richter, (Sun Oct 14, 10:46 am)
Re: What still uses the block layer?, James Bottomley, (Sun Oct 14, 3:24 pm)
Re: What still uses the block layer?, Tilman Schmidt, (Sun Oct 14, 3:35 pm)
Re: What still uses the block layer?, Rob Landley, (Sun Oct 14, 4:36 pm)
Re: What still uses the block layer?, Rob Landley, (Sun Oct 14, 4:45 pm)
Re: What still uses the block layer?, Luben Tuikov, (Sun Oct 14, 5:45 pm)
Re: What still uses the block layer?, Theodore Tso, (Sun Oct 14, 6:45 pm)
Re: What still uses the block layer?, Stefan Richter, (Sun Oct 14, 10:44 pm)
Re: What still uses the block layer?, Greg KH, (Sun Oct 14, 11:00 pm)
Re: What still uses the block layer?, Rob Landley, (Sun Oct 14, 11:51 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 1:04 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 1:36 am)
Re: What still uses the block layer?, Luben Tuikov, (Mon Oct 15, 1:37 am)
Re: What still uses the block layer?, Christoph Hellwig, (Mon Oct 15, 1:52 am)
Re: What still uses the block layer?, Julian Calaby, (Mon Oct 15, 2:06 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 2:26 am)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 3:08 am)
Re: What still uses the block layer?, Loïc Grenié, (Mon Oct 15, 3:32 am)
Re: What still uses the block layer?, Alan Cox, (Mon Oct 15, 6:08 am)
Re: What still uses the block layer?, James Bottomley, (Mon Oct 15, 6:10 am)
Re: What still uses the block layer?, Theodore Tso, (Mon Oct 15, 6:21 am)
Re: What still uses the block layer?, Alan Cox, (Mon Oct 15, 6:29 am)
Re: What still uses the block layer?, Theodore Tso, (Mon Oct 15, 6:35 am)
Re: What still uses the block layer?, Arjan van de Ven, (Mon Oct 15, 7:00 am)
Re: What still uses the block layer?, Douglas Gilbert, (Mon Oct 15, 7:46 am)
Re: What still uses the block layer?, Matthew Wilcox, (Mon Oct 15, 9:08 am)
Re: What still uses the block layer?, Stefan Richter, (Mon Oct 15, 10:10 am)
Re: What still uses the block layer?, Greg KH, (Mon Oct 15, 10:25 am)
Re: What still uses the block layer?, Greg KH, (Mon Oct 15, 10:33 am)
Re: What still uses the block layer?, Jeff Garzik, (Mon Oct 15, 10:44 am)
Re: What still uses the block layer?, Matthew Wilcox, (Mon Oct 15, 11:00 am)
Re: What still uses the block layer?, Jeff Garzik, (Mon Oct 15, 11:46 am)
Re: What still uses the block layer?, Matthew Garrett, (Mon Oct 15, 11:56 am)
Re: What still uses the block layer?, Wilfried Klaebe, (Mon Oct 15, 1:29 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 2:09 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 2:51 pm)
Re: What still uses the block layer?, Rob Landley, (Mon Oct 15, 3:54 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 7:51 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 7:54 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 8:06 pm)
Re: OOM killer gripe (was Re: What still uses the block la ..., Eric W. Biederman, (Mon Oct 15, 8:55 pm)
Re: What still uses the block layer?, Matthew Wilcox, (Mon Oct 15, 9:04 pm)
Re: What still uses the block layer?, Arjan van de Ven, (Mon Oct 15, 9:11 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 9:15 pm)
Re: What still uses the block layer?, Greg KH, (Mon Oct 15, 9:21 pm)
Re: OOM killer gripe (was Re: What still uses the block la ..., Eric W. Biederman, (Mon Oct 15, 9:38 pm)
Re: OOM killer gripe (was Re: What still uses the block la ..., Eric W. Biederman, (Mon Oct 15, 9:45 pm)
Re: What still uses the block layer?, david, (Mon Oct 15, 10:00 pm)
Re: What still uses the block layer?, Stefan Richter, (Mon Oct 15, 10:56 pm)
Re: What still uses the block layer?, Stefan Richter, (Mon Oct 15, 11:33 pm)
Re: OOM killer gripe (was Re: What still uses the block la ..., Eric W. Biederman, (Tue Oct 16, 2:31 am)
Re: What still uses the block layer?, Alan Cox, (Tue Oct 16, 3:19 am)
Re: What still uses the block layer?, Matthew Wilcox, (Tue Oct 16, 12:54 pm)
Re: What still uses the block layer?, david, (Tue Oct 16, 12:54 pm)
Re: What still uses the block layer?, Stefan Richter, (Tue Oct 16, 1:18 pm)
Re: What still uses the block layer?, Theodore Tso, (Tue Oct 16, 1:34 pm)
Re: What still uses the block layer?, david, (Tue Oct 16, 1:55 pm)
Re: What still uses the block layer?, Stefan Richter, (Tue Oct 16, 1:56 pm)
Re: What still uses the block layer?, Alan Cox, (Tue Oct 16, 2:49 pm)
Re: What still uses the block layer?, Valdis.Kletnieks, (Tue Oct 16, 10:34 pm)
Re: What still uses the block layer?, david, (Tue Oct 16, 11:07 pm)
Re: What still uses the block layer?, Gabor Gombas, (Wed Oct 17, 2:48 am)
Re: What still uses the block layer?, Stefan Richter, (Wed Oct 17, 10:23 am)
Re: What still uses the block layer?, david, (Wed Oct 17, 2:04 pm)
Re: What still uses the block layer?, Bill Davidsen, (Wed Oct 17, 4:43 pm)