WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Difference performances between HVM and PV guest in hard

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Difference performances between HVM and PV guest in hard disc reading
From: Javier Guerra <javier@xxxxxxxxxxx>
Date: Sat, 30 May 2009 20:02:46 -0500
Cc: Heli <helicoterus-elih@xxxxxxxx>, "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Delivery-date: Sat, 30 May 2009 18:03:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A216ACE.8070108@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <51147.49632.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <7207d96f0905241536h5d1e9063ke6737b0dc2a4c2e4@xxxxxxxxxxxxxx> <4A216ACE.8070108@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.11.2 (Linux/2.6.28-12-generic; KDE/4.2.2; x86_64; ; )
Heli wrote:
> How is it possible that a PV domU returns 180 MB/sec if on a normal 
> linux hdparm returns 45 MB/sec?

easy, if the 'block device' is in fact a file on Dom0, with a lot more RAM 
available for cache

but as soon as you do real load, that cache becomes a nuisianse.  you get much 
better performance if you turn the cache off (with tap:) or use a block device 
(with phy:), even if the benchmarks drop down to realistic levels

-- 
Javier

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users