mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Michael Frank" <mhf@linuxmail.org>
To: "Pavel Machek" <pavel@ucw.cz>,
	"Nigel Cunningham" <ncunningham@users.sourceforge.net>,
	"Patrick Mochel" <mochel@digitalimplant.org>
Cc: "Andrew Morton" <akpm@digeo.com>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Suspend development list" <swsusp-devel@lists.sourceforge.net>
Subject: Re: [Swsusp-devel] Re: The verdict on the future of suspending to disk?
Date: Tue, 16 Mar 2004 21:38:51 +0800	[thread overview]
Message-ID: <opr4yiu1ar4evsfm@smtp.pacific.net.th> (raw)
In-Reply-To: <20040316121524.GI2175@elf.ucw.cz>

Without reliability and being able to suspend at any load
(when the batteries/UPS go flat)  software suspend is all
but useless.  What for suspend if it does not resume and
eats work left in RAM?

Common users objectives for a software suspend mechanism are:

1. To not impair system reliability. It must run without crash
       and reboots between kernel upgrades.
       100 cycles in 2 hours is a quickie
       1000 cycles in a day are a short test
       xxxx cycles in a month are a life test

2. To handle any cpu and io load
	10+ concurrent unixbenchs, 4 concurrent dd loops, nfs and ssh
       cross accesses, Load avg 20-40, cs of 100,000, 20MB io
       sustained for days at a cycle a minute... No freezing failures

3. To support the spectrum of user requirements wrt functionality
	for portable, desktop, and embedded apps

4. To handle driver suspend and resume at any time. Apps should not
       have to be terminated.

Swsusp2 meets 1. and 2. and many of 3. Swsusp2 is also modular and can be
expanded to add things like NFS suspend/resume.

1. and 2. require a sophisticated freezing mechanism and kernel level
"intrusion". Most of this "intrusion" is simetrical and easily understood.
This is what UGLY macros are for.

3. Can be argued about: Compression or no compression, reboot functionality
    for multi boot or not, Escape or no Escape (I need it every day) -
    If you ever would dare to suspend you would want an Escape function too! :-)

4. Requires PM fixes and driver level intrusion, can be worked around by
    killing apps and unloading drivers. Eventually this has to be fixed.

Regards
Michael

  reply	other threads:[~2004-03-16 13:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-16  3:38 Nigel Cunningham
2004-03-16  8:05 ` [Swsusp-devel] " Karol Kozimor
2004-03-16 11:37 ` Pavel Machek
2004-03-16 12:15   ` Pavel Machek
2004-03-16 13:38     ` Michael Frank [this message]
2004-03-16 15:10       ` [Swsusp-devel] " Pavel Machek
2004-03-16 20:28         ` Nigel Cunningham
2004-03-16 20:13   ` Nigel Cunningham

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=opr4yiu1ar4evsfm@smtp.pacific.net.th \
    --to=mhf@linuxmail.org \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@digitalimplant.org \
    --cc=ncunningham@users.sourceforge.net \
    --cc=pavel@ucw.cz \
    --cc=swsusp-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®