Comment Re:Swap Files and Linux... (Score 1) 176
Eric wrote:
> Also, note that linux can swap to a file, as well as to a raw partition. However, swapping to a partition is faster, and preferable.
You sure about that? Seems to me it will only be
faster if the partition is on a seperate physical
disk. Why would mounting a partition make the swap file faster than mounting a file?
> You should have enough swap space to hold applications that
you aren't currently using, but huge amounts aren't useful (unless you have an application that likes to map large amounts of Virtual Memory,
but doesn't actually use it)
Under Linux, mapped virtual memory will never occupy swap or anything else unless an access
with a page fault occurs.
> Also, note that linux can swap to a file, as well as to a raw partition. However, swapping to a partition is faster, and preferable.
You sure about that? Seems to me it will only be
faster if the partition is on a seperate physical
disk. Why would mounting a partition make the swap file faster than mounting a file?
> You should have enough swap space to hold applications that
you aren't currently using, but huge amounts aren't useful (unless you have an application that likes to map large amounts of Virtual Memory,
but doesn't actually use it)
Under Linux, mapped virtual memory will never occupy swap or anything else unless an access
with a page fault occurs.