Re: swap file vs. swap partition

From: Dotan Cohen (dotancohen_at_gmail.com)
Date: 07/30/05

  • Next message: Scott Talbot: "Re: Our (US) $s at work."
    Date: Sat, 30 Jul 2005 19:28:01 +0300
    To: Damian Menscher <menscher@uiuc.edu>
    
    

    On 7/30/05, Damian Menscher <menscher@uiuc.edu> wrote:
    > On Sat, 30 Jul 2005, Dotan Cohen wrote:
    >
    > > I'm now prepearing to either create a swap file or a swap partition. I
    > > am interested in knowing if there is any difference in performance.
    > > Anyone have any experience with this? Thanks.
    >
    > A swap partition would be faster (think about it -- no filesystem
    > overhead). The only reason for a swap file is if you didn't plan your
    > partitioning scheme properly, and _need_ to add swap at a later date.
    >
    > Sorry, I don't have specific benchmark numbers for you. I'm not sure
    > how one would even go about benchmarking such a thing.
    >
    > Oh, you can also have multiple swap partitions, on different drives.
    > If you set them to the same priority, it will use all at the same time.
    > Kinda like a raid0 stripe, but without creating the software raid. If
    > you're concerned about stability, I think you can software raid the
    > drives first, and then create a swap partition on them (haven't actually
    > done this myself, since raid would damage performance).
    >
    > Damian Menscher
    > --
    > -=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
    > -=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
    > -=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-
    > -=#| <menscher@uiuc.edu> www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=-
    > -=#| The above opinions are not necessarily those of my employers. |#=-
    >

    Thanks. I don't need banchmarks, I just wanted to know. Setting it up now...

    Dotan
    http://song-lirics.com/sl/artist/69/better-than-ezra-lirics.php
    Better Than Ezra Song Lirics

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Scott Talbot: "Re: Our (US) $s at work."

    Relevant Pages

    • Re: ext3 on raid5 failure
      ... If we're talking swap file, ... Nope, only a swap partition. ... I'd expect your superblock to have been messed too. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: swap file vs. swap partition
      ... > part of the time of addressing a disk. ... > place on a swap partition will be faster. ... OK, I think that I'm convinced to go with the swap file, and not the ... Dotan ...
      (Fedora)
    • Re: Hibernation fails
      ... the fact that suspend to hibernation was currently implemented. ... The hibernation image is saved in a swap partition or in a swap file ... The kernel can be configured to use a swap partition or a swap file (or ...
      (Ubuntu)
    • Re: content of the Linux "swapfile": can it be compared with the Windows pagefile.sys?
      ... > After shutting down and copying the swap partition with Ghost2003 ... What is stored in a unix swap file is virtual memory pages that are ...
      (comp.os.linux.misc)
    • Re: swap file vs. swap partition
      ... A swap partition would be faster (think about it -- no filesystem ... I don't have specific benchmark numbers for you. ... but without creating the software raid. ... drives first, and then create a swap partition on them (haven't actually ...
      (Fedora)