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] Measure disk activity in full-virtualization.

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] Measure disk activity in full-virtualization.
From: "Alain Barthe" <ab266061@xxxxxxxxx>
Date: Thu, 24 Jul 2008 12:45:03 +0200
Cc: Alejandro Paredes <aleparedes@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Jul 2008 03:45:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=rUhynoXq1wkwypLqgnw+pxZlwoIAH+oOjDnSB0zvcds=; b=W2ep4Q61ZuhSTv5wheaGQtiQd0b8hAKAltD1aEC3bDAcwdYTEM1l2TXJfarU2zy+J5 VoCKIn2WRMsXWjhpySAy68Xajn4fnH3ILI29PsTm7IXrZIoGQ9yJnShrf7TNWsy5kuk6 CSm6z9eK/dyDOEDGtK96x7CUz4K8keEgB91Ik=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=dYlvOwE4Ard0PJFy8ZLJQdESdE5LPLSHvbeudm3gc6NYUOlVbDgJWZdEhkkCd7P+AW I+FyAUeftcXm/ELtAkqHt9YOX3vEhbK8N4F22RDf5FuPrinCVrwiJOSTKO33b1j1GhBR tPXpUbagdHZL+swUJT/TK/c+ry1Fo9VFouSsQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0807231126r4a8fe8fdicc218fcd17a78663@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: <c8c57fc50807181230lf19cd2dmfef3db9eb92c1881@xxxxxxxxxxxxxx> <1e16a9ed0807191909u7b0cca5j98883564886013b2@xxxxxxxxxxxxxx> <94e2f00b0807210221p503d474brea03b6c3df7841d4@xxxxxxxxxxxxxx> <1e16a9ed0807220813x698614axe790bb9399822440@xxxxxxxxxxxxxx> <94e2f00b0807230211x68ef6f64v5b2279d3b912803d@xxxxxxxxxxxxxx> <1e16a9ed0807231126r4a8fe8fdicc218fcd17a78663@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2008/7/23 Todd Deshane <deshantm@xxxxxxxxx>:
>
> Sure, but concerning CPU isolation, I can't understand, theorically, that
> full virtualisation is better than para virtualisation. And our experiment
> confirms this. Can you explain this point ?

My understanding is that a lot of the CPU isolation comes from the scheduler.
The schedulers in modern operating systems in general should be good enough
to provide good isolation, regardless of para vs. full virtualization.

I agree. I suppose that the hypervisor scheduler does the job in PV, and the OS process scheduler does the job in FV. I am not sure they have the same policy, nor the same goals. Also, the hypervisor scheduler seems to be more tunable than the OS one.
 
Performance isolation is different than simple measuring overall performance and
I don't think that it is fundamental that full or para will be better
in general. The
implementation done by the scheduling mechanism both in the guest and of the
hypervisor matters. It is very possible that our CPU test was not
stressful enough.
It is also possible that the tests that you are doing stress more than
just the CPU
and the degradation noticed in the other guests is due some other factor such as
disk or network or even memory.

Yes. The test we done was roughly 5 parallel gzipped tar on big files, so I think that mainly the CPU and disk I/O were stressed. So you are right, we cannot compare your methodic benchmark with our simple and subjective experiment.
 
Our work is actually ongoing and choosing the right CPU-intensive test
will be an
important decision going forward.

Thanks for your questions/comments. Feel free to give suggestions etc.

I like to see that there is others doing performance isolation testing
now. When we
started, we didn't know of others doing that kind of testing.

Cheers,
Todd

Thanks for your reply.
 


--
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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