From: Anthony Liguori <aliguori@us.ibm.com>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: Re: [Xen-changelog] fail domU creation if memory need couldn't be succeed after ballooning out dom0
Date: Thu, 18 Aug 2005 10:51:22 -0500 [thread overview]
Message-ID: <4304AE7A.9060605@us.ibm.com> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D282BD9@liverpoolst.ad.cl.cam.ac.uk>
Ian Pratt wrote:
>>In general, we should try to avoid using timeouts at all
>>cost. If we do have to use a timeout, then we should make
>>sure it's long enough that the timeout is never going to
>>happen. It's surprisingly easy to have enough load on your
>>system such you miss a 2 second timeout.
>>
>>
>
>Yep, in general I'm all for making timeouts long enough to be visible.
>
>However, this timeout is different: its something we expect may fail (as
>opposed to an internal failure of the tools).
>
Is it really possible to fail? I just did:
echo 42 > /proc/xen/balloon
On domain-0 and the system crashed. It would be nice if it actually
failed but currently the only thing this timeout will do is prevent us
from working when we could have :-)
How about when we fix the balloon driver, we have it write a node in the
store that indicates whether the balloon has succeeded or failed and
then the tools can simply set a watch and wait for something to happen?
Regards,
Anthony Liguori
> We're asking domain 0 to
>try and shrink itself. It may be unable to, in which case trying for a
>few seconds and then failing the domain create seems like a good
>approach. If domain 0 can't page enough stuff out after a second or two,
>its unlikely to succeed without operator intervention (e.g. killing
>something).
>
>2s is perhaps overly short, but I doubt going larger than 5s would
>result in any greater chance of success, and would just anoy users.
>
>Ian
>
>
>
next prev parent reply other threads:[~2005-08-18 15:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-18 14:50 Re: [Xen-changelog] fail domU creation if memory need couldn't be succeed after ballooning out dom0 Ian Pratt
2005-08-18 15:51 ` Anthony Liguori [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-18 16:03 Ian Pratt
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=4304AE7A.9060605@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--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.