Re: Fix SWSUSP & !SWAP

From: Andrew Morton (akpm@digeo.com)
Date: Wed Apr 23 2003 - 20:06:46 EST


CaT <cat@zip.com.au> wrote:
>
> On Wed, Apr 23, 2003 at 05:38:37PM -0700, Andrew Morton wrote:
> > "Randy.Dunlap" <rddunlap@osdl.org> wrote:
> > >
> > > That may be simple for you, but for lots of users, adding a partition
> > > (to a ususally full disk drive) isn't simple. It means backups,
> > > shrink a filesystem, shrink a partition, add a partition, and run
> > > mkswap on it. Yes, the latter 2 are simple, but the former ones
> > > are not.
> >
> > Yeah. swsusp is pretty much the only reason why you would want to have a
> > swap partition at all in a 2.5/2.6 kernel.
>
> Is there really no difference any longer in terms of speed?

Nope. Not unless the swapfile which you created is splattered all over the
disk, in whcih case you already have serious problems with that filesystem.

There will some performance differences with resume, because it is doing
page-at-a-time synchronous IO. The device-level caching should make that
acceptable though.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:39 EST