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/
Home Products Support Community News


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

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] VM start time slows with large number of VMs
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Thu, 6 Sep 2007 18:44:14 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Mats Petersson <mats@xxxxxxxxxxxxxxxxx>, "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Delivery-date: Thu, 06 Sep 2007 10:45:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C305F800.153A4%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <46e038f5.2805420a.2d00.ffff8dd0@xxxxxxxxxxxxx> <C305F800.153A4%Keir.Fraser@xxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
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

|=- 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