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] very interesting Xen Disk I/O performance

To: Jia Rao <rickenrao@xxxxxxxxx>
Subject: Re: [Xen-users] very interesting Xen Disk I/O performance
From: Peter Booth <peter_booth@xxxxxxx>
Date: Wed, 01 Apr 2009 16:19:17 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 01 Apr 2009 13:20:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <994429490903302102j52cdf4f2r96c7100efd881b20@xxxxxxxxxxxxxx>
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: <994429490903302102j52cdf4f2r96c7100efd881b20@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You have eight cores and two VMs with 2vcpu. Can you try the experiment with 8 VMs?
On Mar 31, 2009, at 12:02 AM, Jia Rao wrote:

Hi all,

I tested the xen vm disk I/O this weekend and had some interesting observations:
I ran TPC-C benchmarks (mostly random small disk read) within two  
VMs (PV) with the exactly the same resource and software  
configuration. I started the benchmarks in the two VMs at the same  
time (started with a script, the time difference is within several  
ms). The Xen VM scheduler seems always favor one VM, which results  
in a 50% better performance over the other VM.  I changed the  
seqence of the VM creation and application starting order, the  
specific VM always got better performance, 30%-50% better.
What could be the reason that xen always favor a specific VM?

I ran the above test for several more times. Between each run, I purged the cached data within each VM to make the I/O demand always the same. It is interesting that the performance gap between the two VM becomes smaller and smaller. After 6 runs, the performance almost the same.
Anyone has any idea? Does the VM scheduler scheduling VMs based on  
history?
I am using Xen 3.3.1, CentOS 5.1, linux 2.8.18-x86_64
Each VM has 512M, 2-VCPU not pinned. Dom0 with 512M, not pinned.
Host: dell poweredge 1950: 8G, two quad-core Intel xeon.

Thanks in advance,
Jia.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] very interesting Xen Disk I/O performance, Peter Booth <=