swap file vs swap partition



Hi all,

I have read here (http://www.softpanorama.org/Internals/Filesystems/linux_swap_filesystem.shtml )

that swapping to a file is slower than swapping to a partition , based on the following reasons

1) large files(swap file) will be somewhat fragmented forcing additional disk/head movement in some cases and that you will have to deal with metadata describing where on the disk the file blocks are. this eats up both in-system filesystem cache and causes additional disk activity while you load metadata that is not in cache


is there any other reason that justifies this claim OR what exactly is the tradeoff between a swap partition and a swap file ??
.



Relevant Pages

  • Re: swap file vs swap partition
    ... that swapping to a file is slower than swapping to a partition, ... the tradeoff between a swap partition and a swap file ?? ... organizational reasons, but if you simply can't for some reason a swap ...
    (comp.os.linux.setup)
  • Re: swap file vs swap partition
    ... that swapping to a file is slower than swapping to a partition, ... on the following reasons ... the tradeoff between a swap partition and a swap file ?? ...
    (comp.os.linux.setup)
  • Re: swap file vs swap partition
    ... that swapping to a file is slower than swapping to a ... exactly is the tradeoff between a swap partition and a swap ... files are often said to be slower than swap partitions. ...
    (comp.os.linux.setup)
  • Re: Dell partition choices for SBS2003 R2 Std pre-installed
    ... ecomomic reasons why I may try to just get it right the first time. ... install SBS, and restore from backup. ... I did a RAID5 with four 150GB drives and let Dell ... the rest went to the data partition. ...
    (microsoft.public.windows.server.sbs)
  • Re: Body swapping for fun and profit
    ... :: take a taxi even though they already own a car, ... :: recreational reasons not connected to villainry or medical trauma? ... But they weren't swapping ... for swapping for recreation are mentioned. ...
    (rec.arts.sf.written)

Loading