|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
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
 
 |   
 
 | 
    | 
  
  
    |   | 
    |