Messages in this thread | | | Date | Mon, 10 May 2004 11:50:33 +0300 (EEST) | Subject | dynamic allocation of swap disk space | From | "Silviu Marin-Caea" <> |
| |
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/
| |