[Fedora-xen] CPU management

John Summerfield debian at herakles.homelinux.org
Fri Jan 18 13:51:53 UTC 2008


Richard W.M. Jones wrote:
>> I would like to be able to give, for example, 33% for dom1 and dom2
>> and 33% for dom0, but  I know that we can only work with VCPUs.
> 
> It doesn't work like this.  Guests don't normally consume CPU 
> continuously (well, unless you're running something like numerical 
> simulations, which I really wouldn't recommend for virtualization).
> 
> First of all, if you do nothing at all then guests' virtual CPUs are 
> scheduled to run on physical CPUs at random.  When a guest starts to do 
> something, a physical CPU is picked and the guest runs on that for some 
> short timeslice.  You can easily have more virtual CPUs than physical 
> CPUs.  If your guests are mostly idle, the this is fine.

Something that has occurred to me, and which troubled someone else, is 
that if the host is busy running Firefox, OOo and other desktop software 
as well as guest operating systems, those guests probably are not going 
to perform well.

I think Xen will perform better in this sort of environment than KVM.

The virtualisation software I'm most familiar with (from a theoretic 
POV) is IBM's VM which runs on its mainframes. It's a hypervisor only, 
and all users have their own virtual computer, and it's those virtual 
computers that do the real work.

Tuning VM to work best is an intricate job.

VM is now about 40 years old.


-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)




More information about the Fedora-xen mailing list