From: "Todd Deshane" Subject: Re: Poor performance on HVM (kernbench) Date: Wed, 10 Sep 2008 22:50:29 -0400 Message-ID: <1e16a9ed0809101950j4ef6f537q4cb2c534b8658489@mail.gmail.com> References: <1e16a9ed0809101123m71a12030v7d06501f6467f93@mail.gmail.com> <1e16a9ed0809101442q225c5fcfj25c0b4ffe0da83a0@mail.gmail.com> <48C8417B.7050101@virtualiron.com> Reply-To: deshantm@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48C8417B.7050101@virtualiron.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Steve Ofsthun Cc: Daniel Magenheimer , xen-devel mailing list List-Id: xen-devel@lists.xenproject.org > I think what Dan is getting at is, the native execution run should restrict > it's cpu and memory usage to be identical with the guest tests. So restrict > the native test cpus with "maxcpus=1" or "nosmp" on the boot line. > Similarly you can restrict memory using "mem=xxxM". Linux kernel (only had a spare Ubuntu 2.6.24) to work with nosmp mem=2048M Average Optimal load -j 4 Run (std deviation): Elapsed Time 403.744 (0.26857) User Time 373.23 (0.421485) System Time 30.32 (0.389551) Percent CPU 99 (0) Context Switches 90961.2 (105.838) Sleeps 52311.8 (83.8373)