From: Keir Fraser Subject: Re: Benchmark results Date: Sun, 03 Aug 2008 18:07:39 +0100 Message-ID: References: <1409402707@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1409402707@web.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: bbmailing@web.de, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org If the virtual disc is a loopback-mounted file then the domU is probably benefitting from dom0's buffer cache (i.e., domU is happening to exploit dom0's memory to cache its own data). -- Keir On 3/8/08 17:51, "bbmailing@web.de" wrote: > Hey everyone, >=20 > I hope you guys can help me explaining a pretty strange result that came = up > when benchmarking a native Red Hat installation against a Xen DomU (insta= lled > in a file container). I used lmbench3 on a dualcore AMD-machine. To make = the > results comparable, I "unplugged" all CPU cores but one in the native > installation (setting the "online"-entry to 0). The DomU had only one vCP= U > assigned. The installed packages on both machines were identical as well. > After doing the initial configuration of lmbench3 I ran a script doing 10 > times a "make rerun". >=20 > All results seem to be OK somehow. But I cannot explain why Xen is faster= than > the native installation when creating and deleting files? Its 12ms (DomU) > against 24ms (native) for creating a 0K file and 50ms (DomU) against 60ms > (native) for creating a 10K file. Please find all the results attached. >=20 > Is there any way this is possible? Maybe the communication methods used b= y the > shared device drivers make the virtual machine think the operation has be= en > finished successfully faster than the native way? Is there is anyone out = there > who can help me understanding this result? >=20 > Furthermore: Is there a special recommendation for benchmarking Xen again= st > native installations? I liked lmbench so far since it puts the focus on b= asic > operations... what are your favourites? Is lmbench from a design perspect= ive > the wrong tool to use? >=20 > I have to find some reliable results so I am really thankful for every si= ngle > hint here... please feel free to email me directly as well! >=20 > Thank you so much in advance! >=20 > Best regards, > Bjoern=20 > _______________________________________________________________________ > Jetzt neu! Sch=FCtzen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage > kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=3D022220 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel