Why I Disabled my Pagefile/Swap

adcx64

macrumors 65816
Original poster
Nov 17, 2008
1,227
36
Philadelphia
Hey guys,

just wanted to share a little bit of info that could help you guys get some more performance out of your mac. My PowerMac is equipped with 2GB of RAM and my usages never goes higher than 1.25GB at a time, so why have a swap? I disabled it in terminal and I was actually able to see a slight responsiveness boost. my 64MB swap that was constantly being accessed now reads as 0KB.

Just a thought for you guys!
 

Attachments

VanneDC

macrumors 6502a
Jun 5, 2010
836
63
Dubai, UAE
i thought it only accessed your page file if you run out of ram.? Top shows 0 pagein and page outs.... without changing anything in terminal??
 

666sheep

macrumors 68040
Dec 7, 2009
3,623
213
Poland
I disabled it in terminal and I was actually able to see a slight responsiveness boost. my 64MB swap that was constantly being accessed now reads as 0KB.
Maybe it's just placebo effect? ;)
If you have swap file enabled but system has no need to use it, you'll always get "0MB used" - regardless of swap file reserved space.

No need to use = no need to access = no slowdowns/speed penalty? Right?
 

Gav2k

macrumors G3
Jul 24, 2009
9,217
1,586
The os won't use 100% of ram then use a swap it'll reserve some ram as well as using the swap