Re: swap file vs. swap partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/30/05, Damian Menscher <menscher@xxxxxxxx> 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@xxxxxxxx> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux