lkml.org 
[lkml]   [2004]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectdynamic allocation of swap disk space
From
It's the same old whine.  Please include
http://sourceforge.net/projects/swapd/ or
http://sourceforge.net/projects/dynswapd/
or whatever in the official kernel.

My desktop has been thrashing the disk for a couple of hours because
the swap space was exhausted. And I have the ambition to leave it alone
to see if it ever comes out of the thrashing. Of course, it's not usable
at all during this time, I'm writing this on the laptop.

This is the only serious bug (I consider it a bug) in the linux kernel
that I encountered on occasions. And it was not fixed in 2.6. Forgot to
mention, my desktop is running 2.6.3.

The way I see the solution is: allocate swap space dynamically, until
there is no need for more or the disk becomes nearly full. If that
happens, then start thrashing it, all right. Then when the condition is
gone and things are back to normal deallocate the additional swap.

Old whine or not, it's a real problem. Thanks.

PS: I'm not subscribed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.237 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site