PDA

View Full Version : Paging file




01grander
Nov 27, 2010, 08:54 PM
Just out of curiousity but is there a paging file with osx? I'd have to figure with a ssd it would be more useful and act more like actual ram(I realize not the same).



jimboutilier
Nov 27, 2010, 09:18 PM
Just like freebsd/Linux/Unix there can be one or more page files in OSX and while the SSD makes this less costly performance wise than with a hard drive, it's still nowhere near the performance of RAM so you still need enough ram.

Casual testing I've done indicates that for my usage patterns, 2gb gives good performance but 3gb offers a significant gain, and 4gb gives a much smaller gain.

Lesson is don't scrimp on ram. Requirements and base system ram goes up pretty consistently over time and since MBAs are not ram upgradable I'd highly recommend the 4gb configurations.

Argon21
Nov 28, 2010, 12:24 PM
It's called "swap space" in every flavor of UNIX, Linux, and OSX.

The term "page file" is a silly DOS / Windows thing.

wpotere
Nov 28, 2010, 12:30 PM
The term "page file" is a silly DOS / Windows thing.

Yeah, no.....

It is an NT thing and is named directly for what it does. How is that silly? Older versions of windows used swap space. Although they are similar, they do function a bit differently.

Argon21
Nov 28, 2010, 11:32 PM
NT is Windows, no? :rolleyes:

bcaslis
Nov 29, 2010, 12:32 AM
Mac OS X uses swap files. In the terminal, go to /var/vm. In there you should see a few swapfiles (swapfile0, swapfile1, etc...). You will also see a file sleepimage which is the file that gets written when the MBA goes into deep sleep mode.

wpotere
Nov 29, 2010, 04:53 AM
NT is Windows, no? :rolleyes:

Yes, but not all WIndows used paging, only NT 3.51 and later.

pwolfe
Nov 29, 2010, 01:06 PM
I would love a way to adjust the swappiness in OS X like you can in other Unices.