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

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



On Thu, Sep 06, 2007 at 06:31:28PM +0100, Keir Fraser wrote:
> On 6/9/07 18:29, "Mats Petersson" <mats@xxxxxxxxxxxxxxxxx> wrote:
> 
> >> If I save the output from the xenstore-ls, the file has 61,318 lines
> >> with information from all the VMs run yesterday. I conclude that
> >> xenstore does not get cleared on startup. Is there a way to clear it?
> > 
> > 
> > It is perfectly fine to remove the xenstore.tdb [filename from
> > memory] in /var/xen/lib [again, from memory]. Unless of course you
> > actually NEED some of your old Xenstrore entries for soemthing, but
> > in general, they are fine to be removed completely.
> 
> Yes, actually this would be something perhaps we should do from the xend
> startup script, if we can determine that xenstored is not running. It'd be
> nice to get a patch.

Or just put the database on /dev/shm so its in RAM - that way it just goes
away whenever you reboot & you reduce the disk I/O overhead xenstored has.
IIRC last time I tested it doubled xenstored performance using /dev/shm

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®.