Debian freezes

Stefan Monnier monnier at iro.umontreal.ca
Thu Dec 4 15:23:52 CET 2008


> You can also create just a swap-file... It's less optimized, but it's ok
> from my tests and more versatile...

Actually, it may be just as efficient: the way it works is that when you
do `swapon', the kernel collects the set of disk blocks occupied by the
file and then uses these blocks.  So when swapping takes place, the
filesystem is not involved any more.  I.e. the only performance impact
is that the file may be spread over non-contiguous blocks, but if there
was enough disk space around when you created the swap file it shouldn't
be much of a problem.


        Stefan





More information about the support mailing list