All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com,
	Mats Petersson <mats@planetcatfish.com>,
	"Carb, Brian A" <Brian.Carb@unisys.com>
Subject: Re: VM start time slows with large number of VMs
Date: Thu, 6 Sep 2007 18:44:14 +0100	[thread overview]
Message-ID: <20070906174414.GH1291@redhat.com> (raw)
In-Reply-To: <C305F800.153A4%Keir.Fraser@cl.cam.ac.uk>

On Thu, Sep 06, 2007 at 06:31:28PM +0100, Keir Fraser wrote:
> On 6/9/07 18:29, "Mats Petersson" <mats@planetcatfish.com> 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  -=| 

  reply	other threads:[~2007-09-06 17:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 16:51 VM start time slows with large number of VMs Carb, Brian A
2007-09-05 17:11 ` Keir Fraser
2007-09-05 17:37   ` Daniel P. Berrange
2007-09-11 16:27     ` Carb, Brian A
     [not found]       ` <089B0D75973E1241B941D0A9854F23FC08F4CE10@USEA-EXCH2.na.uis .unisys.com>
2007-09-11 17:42         ` Mats Petersson
2007-09-24 14:18     ` Carb, Brian A
2007-09-06 16:24   ` Carb, Brian A
     [not found]     ` <089B0D75973E1241B941D0A9854F23FC08E92D5C@USEA-EXCH2.na.uis .unisys.com>
2007-09-06 17:29       ` Mats Petersson
2007-09-06 17:31         ` Keir Fraser
2007-09-06 17:44           ` Daniel P. Berrange [this message]
2007-09-06 19:25         ` Carb, Brian A
2007-09-06 21:25           ` Keir Fraser
     [not found]           ` <089B0D75973E1241B941D0A9854F23FC08E93337@USEA-EXCH2.na.uis .unisys.com>
2007-09-06 21:32             ` Mats Petersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070906174414.GH1291@redhat.com \
    --to=berrange@redhat.com \
    --cc=Brian.Carb@unisys.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=mats@planetcatfish.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.