[CentOS] Re: changing swap size

John Summerfield debian at herakles.homelinux.org
Thu Mar 29 06:21:46 UTC 2007


John R Pierce wrote:
> John Summerfield wrote:
> 
>> I don't know what advantage swap partitions have over swap files.
>>
>> Swap files can be created and added as any time.
> 
> 
> 
> they are always contiguous, and have no overhead in inode and cluster 
> mapping.

Contiguous is irrelevant; unless one has disk dedicated to swap, the 
partition's never close to anything important.

Is the rest something that matters for 2.6 kernels?

See http://en.wikipedia.org/wiki/Virtual_memory
[edit] Swapping in the Linux and BSD operating systems


> 
> that said, the actual swap usage on a non-overloaded system -should- be 
> close to zero.

Indeed. And if it's high, a good way to reduce it is to add RAM. It 
escapes me though, why I should add swap too.




-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu

Please do not reply off-list



More information about the CentOS mailing list