public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "SourceForge.net" <noreply@sourceforge.net>
To: noreply@sourceforge.net
Subject: [ kvm-Bugs-2019053 ] tbench fails on guest when AMD NPT enabled
Date: Wed, 16 Jul 2008 14:19:56 +0000	[thread overview]
Message-ID: <E1KJ7rI-0002bv-RT@b55xhf1.ch3.sourceforge.com> (raw)

Bugs item #2019053, was opened at 2008-07-16 03:10
Message generated for change (Comment added) made by avik
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2019053&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: amd
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Williamson (alex_williamson)
Assigned to: Nobody/Anonymous (nobody)
Summary: tbench fails on guest when AMD NPT enabled

Initial Comment:
Running on a dual-socket system with AMD 2356 quad-core processors (8 total cores), 32GB RAM, Ubuntu Hardy 2.6.24-19-generic (64bit) with kvm-71 userspace and kernel modules.  With no module options, dmesg confirms: kvm: Nested Paging enabled

Start guest with:

/usr/local/kvm/bin/qemu-system-x86_64 -hda /dev/VM/Ubuntu64 -m 1024 -net nic,model=e1000,mac=de:ad:be:ef:00:01 -net tap,script=/root/bin/br0-ifup -smp 8 -vnc :0

Guest VM is also Ubuntu Hardy 64bit.  On the guest run 'tbench 16 <tbench server>'.  System running tbench_srv is a different system in my case.

The tbench client will fail randomly, often quietly with "Child failed with status 1", but sometimes more harshly with a glibc double free error.

If I unload the modules and reload w/o npt:

modprobe -r kvm-amd
modprobe -r kvm
modprobe kvm-amd npt=0

dmesg confirms: kvm: Nested Paging disabled

The tbench test now runs over and over successfully.  The test also runs fine on an Intel E5450 (no EPT).

----------------------------------------------------------------------

>Comment By: Avi Kivity (avik)
Date: 2008-07-16 17:19

Message:
Logged In: YES 
user_id=539971
Originator: NO

Strange.  If you add an mlockall() to qemu startup, does the test pass?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2019053&group_id=180599

             reply	other threads:[~2008-07-16 14:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-16 14:19 SourceForge.net [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-09-16 18:16 [ kvm-Bugs-2019053 ] tbench fails on guest when AMD NPT enabled SourceForge.net
2008-09-02 16:36 SourceForge.net
2008-09-02 13:27 SourceForge.net
2008-07-25  9:30 SourceForge.net
2008-07-24 17:10 SourceForge.net
2008-07-24  5:45 SourceForge.net
2008-07-16 15:18 SourceForge.net
2008-07-16  0:10 SourceForge.net

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=E1KJ7rI-0002bv-RT@b55xhf1.ch3.sourceforge.com \
    --to=noreply@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