All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
To: "Yu, Ke" <ke.yu@intel.com>, xen-devel@lists.xensource.com
Subject: Re: [PATCH 0/4] HVM Virtual S3
Date: Thu, 17 May 2007 08:41:11 +0100	[thread overview]
Message-ID: <C271C5A7.7869%Keir.Fraser@cl.cam.ac.uk> (raw)
In-Reply-To: <1104166E0B63A341805FDB977862AAD23BC8FF@pdsmsx414.ccr.corp.intel.com>

On 17/5/07 03:32, "Yu, Ke" <ke.yu@intel.com> wrote:

> My concern here is that: save/restore is a heavy operation just like S4
> (hibernate), while the purpose of S3 is quick suspend and quick resume
> comapred to S4. if we implement S3 like save/restore, I don't see the value
> here, because HVM save/resotre or HVM S4 is just enough. How do you think?

I do not think that pure virtual S3 by itself makes sense. Unless the whole
machine is going into S3, what really is the difference between a HVM guest
in S3 and an HVM guest that simply is idle and so has all its VCPUs HLTed
99.9% of the time? Both are tying up memory resource, neither is burning
significant CPU resource or I/O resource.

Virtual S3 *does* make sense with HVM save/restore because it makes even an
HVM guest without PV drivers aware of the save/restore event so it can do
things like resync its clock. That is why we are interested in virtual S3:
only as an adjunct to save/restore.

Another application would be as part of host S3. Given that those patches
currently save/restore all domains (which actually I think is stupid, but
that's for a separate email) you should automatically improve host S3 by
integrating with save/restore. However, again, the benefit is not the
effects of the state the guest finds itself in --- since S3 is not
enormously meaningful in a virtualised environment --- but because of the
side effects we enjoy when the guest awakens and resyncs its world.

 -- Keir

  reply	other threads:[~2007-05-17  7:41 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-16 16:48 [PATCH 0/4] HVM Virtual S3 Yu, Ke
2007-05-16 21:59 ` Keir Fraser
2007-05-16 22:33   ` Keir Fraser
2007-05-17  2:28     ` Yu, Ke
2007-05-18  2:38     ` Tian, Kevin
2007-05-18  6:43       ` Keir Fraser
2007-05-16 22:29 ` Keir Fraser
2007-05-17  2:32   ` Yu, Ke
2007-05-17  7:41     ` Keir Fraser [this message]
2007-05-17 12:39       ` Yu, Ke
2007-05-17 12:50         ` Zhang, Jingke
2007-05-17 13:06         ` Keir Fraser
2007-05-17 13:16           ` Yu, Ke
2007-05-17 13:33             ` Keir Fraser
2007-05-18  2:07               ` Tian, Kevin
2007-05-21  3:10           ` Yu, Ke
2007-05-21  6:25             ` Keir Fraser
2007-05-17 20:24   ` Kaushik Barde
2007-05-18  2:05     ` Yu, Ke
2007-05-18  4:22       ` Kaushik Barde
2007-05-18  4:29         ` Yu, Ke
2007-05-17  3:14 ` Kaushik Barde
2007-05-17  4:20   ` Yu, Ke
2007-05-17  9:54     ` Ian Pratt
2007-05-17 14:08       ` Yu, Ke
2007-05-17 14:14         ` Ian Pratt
2007-05-17 14:17           ` Yu, Ke
2007-05-31 10:59             ` Tim Deegan
  -- strict thread matches above, loose matches on Subject: below --
2008-05-08  5:13 Ke, Liping
2008-05-08  7:02 ` James Harper
2008-05-08  7:10   ` Yu, Ke
2008-05-08  7:24   ` Ke, Liping
2008-05-08 12:25 ` Ian Pratt
2008-05-08 14:57   ` Ke, Liping
2008-05-08 15:03     ` Keir Fraser
2008-05-08 15:10     ` Yu, Ke
2008-05-09  9:58       ` Ke, Liping
2008-05-09 10:10         ` Keir Fraser
2008-05-09 11:59         ` Ian Pratt
2008-05-14  9:50           ` Ke, Liping
2008-05-14 12:17             ` Keir Fraser
2008-05-15  1:31               ` Ke, Liping
2008-05-15  7:33                 ` Keir Fraser
2008-05-15 11:45                   ` Ian Pratt
2008-05-15 11:51                     ` Keir Fraser
2008-05-15 12:42                       ` Ian Pratt
2008-05-15 12:58                         ` Keir Fraser
2008-05-16  1:46                           ` Ke, Liping
2008-05-08 15:11     ` Ian Pratt
2008-05-08 15:20       ` Keir Fraser
2008-05-08 15:28         ` Yu, Ke

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=C271C5A7.7869%Keir.Fraser@cl.cam.ac.uk \
    --to=keir.fraser@cl.cam.ac.uk \
    --cc=ke.yu@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /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.