All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mick Jordan <Mick.Jordan@sun.com>
To: xen-devel@lists.xensource.com
Subject: Xen guest floating point problem
Date: Mon, 03 Aug 2009 16:51:18 -0700	[thread overview]
Message-ID: <4A7777F6.405@Sun.COM> (raw)

We have a simple C test program that runs on our evolved version of 
Mini-OS (GUK) that exhibits sporadic non-deterministic failure regarding 
floating point computations (mostly calling the __ieee754_remainder 
method of fdlibm). Typically about 5 computations in 10000 fail, usually 
with Nan or Infinite values showing up. We are as convinced as we can be 
at this point that the GUK code is not corrupting the floating point 
state, so are down to two ideas. One is a bug in Xen on guest context 
switching or event delivery regarding the FP state. The other is that 
GUK is failing to obey some Xen API contract regarding FP state. For 
example, timer and xenstore events are being delivered during the run 
although we can't correlate them directly to the fault.

The program fails on both Solaris xVM 3.1.4, xVM 3.3, various Linux 
3.1.4 systems, but does not fail when run on Solaris or Linux domUs. 
This points the finger at GUK but we are wondering whether they have a 
workaround for some problem we are not aware of.

Thanks for any help.

Mick

             reply	other threads:[~2009-08-03 23:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-03 23:51 Mick Jordan [this message]
2009-08-04  8:16 ` Xen guest floating point problem Keir Fraser

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=4A7777F6.405@Sun.COM \
    --to=mick.jordan@sun.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.