1834935 Members
2559 Online
110071 Solutions
New Discussion

SWAP Size and FS Size

 
George Nikoloudis_1
Frequent Advisor

SWAP Size and FS Size

The swap parameter maxswapchunks = 4096 and the FS block size 8192 is there a problem in the performance?
I read that these two should be the same. Is this true?
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: SWAP Size and FS Size

Not at all, maxswapchunkx limits the maximum amount of swapspace in your case
4096 X 2048 (swchunk) X 1024 (dev_blksize) = 8GB. (Don't change swchunk). The filesystem blocksize has nothing to do with this.

By the way, you almost certainly should be using vxfs filesystems and the blocksize has no real performance impact unlike hfs filesystems.
If it ain't broke, I can fix that.
Satish Y
Trusted Contributor

Re: SWAP Size and FS Size

No need to be same and also u r using max limit of maxswapchunks value... u can't increase more that that....

Cheers...
Satish.
Difference between good and the best is only a little effort
Sridhar Bhaskarla
Honored Contributor

Re: SWAP Size and FS Size

Block size and maxswapchunks are two entirely different parameters. Probably you might have read about swchunk size that along with maxswapchunks determines the maximum swap space that can be configured on the system. There would be no performance hit for any of these parameters except that you want to keep any of the kernel parameters not too high.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try