Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] A Swap Question
- Date: Tue, 06 Nov 2007 04:25:14 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] A Swap Question
- References: <14178ED3A898524FB036966D696494FB014FDD9D@messenger.cv63.navy.mil>
burlingk@example.com writes: > I have seen some places that suggest using a swap partition equal > to the size of your physical memory, and other places that > say to use a swap partition equal to about twice the size of physical > memory. > > Is there any reason that it would be bad, or less efficient to use a > larger partition for swap? It is a bad idea to have more effective swap space than you have RAM, usually. If you've got that much VM active, your system will likely be slowing to a crawl. Why waste a couple gigabytes on swap if touching it means you're going crazy with the slows anyway? The reason for the change in the recommended size is a change in the swap allocation algorithm. At some point in the 2.3 development series IIRC, the algorithm was changed so that the most efficient use of swap required a space twice as big as the desired swap. I suppose (just guessing!) that it's a double-buffering algorithm.
- References:
- [tlug] A Swap Question
- From: burlingk
Home | Main Index | Thread Index
- Prev by Date: [tlug] A Swap Question
- Next by Date: Re: [tlug] A Swap Question
- Previous by thread: [tlug] A Swap Question
- Next by thread: Re: [tlug] A Swap Question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links