[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] VM start time slows with large number of VMs



 
We compared total elapsed time to start 320 para VMs on ES7000 (56x 160gb) 
where xenstore was on physical disk vs ram disk:

physical:  5 hours 19 minutes
ram disk:  4 hours  2 minutes


brian carb
unisys corporation - malvern, pa


-----Original Message-----
From: Daniel P. Berrange [mailto:berrange@xxxxxxxxxx] 
Sent: Wednesday, September 05, 2007 1:38 PM
To: Keir Fraser
Cc: Carb, Brian A; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] VM start time slows with large number of VMs

On Wed, Sep 05, 2007 at 06:11:06PM +0100, Keir Fraser wrote:
> xenstore slowness seems a reasonable hypothesis. How does performance 
> of Œtime xenstore-ls >/dev/null¹ change as you increase the number of guests?

There's another issue with the way hotplug scripts do locking which exhbits 
fairly pathelogical behaviour when a large number of guests are started 
concurrently. We've got a patch we're evaluating which changes  the use of lock 
files + looping + sleeps, to instead use the 'flock' shell util.

I suspect the performance issues will be a combination of both the locking 
stuff and the xenstore I/O. You might also want to try putting 
/var/lib/xenstored onto tmpfs eg in  initscripts before xenstored starts ...

  mkdir /dev/shm/xenstored
  mount --bind /dev/shm/xenstored /var/lib/xenstored


Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.