pastychomper wrote:.. swap files have been as fast as swap partitions for some time, so if TuxonIce is .. good .. there's no longer a need to have a swap partition at all.
I suppose having a dedicated partition means you can keep the swap on the fastest edge of the disc, .. - but would that be offset by the drive heads having to travel further from the filesystem partition(s) to do a read?
It looks like two issues have got mixed in this thread : (1) Need for a swap partition, and (2) Suspending the OS. I never knew that suspending used the swap space - can someone confirm that? I thought the RAM power was maintained while all other power consuming stuff was switched off.
However Suspend works, I understand that you should always have a swap partion as some software (probably older stuff) is written to use it, even if there is plenty of memory. You should not need much though, mine's only 500 Mb.
As for having the swap as a file, not in a partition, what's the point again? I can see swap file (as opposed to a partition) getting fragmented all over the place mixed in with data files. Hardly efficient. Windows does that (from NT/XP) : ever looked at the frag map of a Windows HDD?
Anyway, as this thread has said, the swap is little used these days so a few less nanoseconds don't matter. But have you thought of trying to recover data from a corrupted disk? With valuable data mixed in with bits of swap (and therefore similar stuff appearing many times over) your disk is going to be a real mess to sort out!
I have always had two or more HDDs in my builds (four once). When I put in a bigger HDD I keep the previous one and put two partitions (at least) on it, one for the swap and the other for a first level backup. So effectively the disc is dedicated to swapping.