From: Pavel Machek <pavel@ucw.cz>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Linux PM <linux-pm@osdl.org>
Subject: Re: swsusp status report
Date: Thu, 27 Jul 2006 20:40:46 +0000 [thread overview]
Message-ID: <20060727204046.GA4623@ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0607261137410.6573-100000@iolanthe.rowland.org>
Hi!
> > VIII. Saving and loading the suspend image
> >
> > The suspend image is saved to a swap partition in step (7) of the
> > suspend-resume cycle and loaded from it in step (9) with the help of standard
> > block IO callbacks and/or functions designed for accessing swap devices and/or
> > swap files. This code has not changed for a long time, but recently Andrew
> > Morton has made it use asynchronous IO (the patches are waiting in the -mm
> > tree now).
> >
> > There are almost no problems with this part of swsusp. There have been only
> > a couple of minor bugs found in it, and fixed, for the last 6 months. Yet,
> > it has one major limitation which is that it can only use swap partitions
> > for saving the suspend image and only one swap partition can be used at a
> > time. To overcome this limitation I am considering the addition of support
> > for swap files to this part of swsusp.
>
> The disk I/O while reading or writing the image is very slow. In fact, it
> sounds like it's going one sector at a time. Can it be sped up? Do the
> AIO changes accomplish that?
Actually yes, it was sector-at-a-time, but it still was ~half of
possible speed, so it should not be _that_ bad.
--
Thanks for all the (sleeping) penguins.
next prev parent reply other threads:[~2006-07-27 20:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-25 11:25 swsusp status report Rafael J. Wysocki
2006-07-25 15:11 ` Dave Jones
2006-07-25 19:39 ` Rafael J. Wysocki
2006-07-25 19:39 ` Rafael J. Wysocki
2006-07-26 10:08 ` Pavel Machek
2006-07-26 15:13 ` Andi Kleen
2006-07-26 17:38 ` Rafael J. Wysocki
2006-07-26 17:38 ` Rafael J. Wysocki
2006-07-26 15:40 ` Alan Stern
2006-07-26 17:37 ` Rafael J. Wysocki
2006-07-27 20:40 ` Pavel Machek [this message]
2006-07-27 23:13 ` David Brownell
2006-07-28 23:46 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060727204046.GA4623@ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-pm@osdl.org \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.