Re: swap file vs. swap partition

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

 



On Sat, Jul 30, 2005 at 07:28:01PM +0300, Dotan Cohen wrote:
> 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

All the above is true but as you have probably figured out, swap
partitions need to be decided at installation. But if you need more
swap space later swap files are an option.
-- 

=======================================================================
For myself, I can only say that I am astonished and somewhat terrified at
the results of this evening's experiments.  Astonished at the wonderful
power you have developed, and terrified at the thought that so much hideous
and bad music may be put on record forever.
		-- Sir Arthur Sullivan, message to Edison, 1888
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484


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

  Powered by Linux