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
Subject: Re: xend / xenstored performance & scalability issues
Date: Thu, 12 Oct 2006 15:46:17 +0100	[thread overview]
Message-ID: <20061012144617.GB6878@redhat.com> (raw)
In-Reply-To: <C15410C8.26E0%Keir.Fraser@cl.cam.ac.uk>

On Thu, Oct 12, 2006 at 03:33:28PM +0100, Keir Fraser wrote:
> On 12/10/06 15:16, "Daniel P. Berrange" <berrange@redhat.com> wrote:
> 
> >   1. Why the need for xenstored to be doing any of this I/O in the first
> > place?
> >      If the DB needs to be kept on disk at all, it really needs to have a much
> >      saner update/transactional model to only update bits which actually
> > change,
> >      rather than re-creating the entire DB on every transaction.
> >      But it strikes me that the DB could potentially be kept entirely in
> > memory
> >      removing the disk I/O completely. Sure yyou wouldn't be able to restart
> >      the daemon then, but even today you can't restart xenstored & expect
> > things
> >      to still be working.
> 
> We plan to keep transactional state in memory, and commit to tdb only on
> transaction completion. In which case you'll be able to achieve what you
> describe above by keeping the tdb file in a ramdisk. I suspect that'll turn
> out to be unnecessary and once we keep a persistent handle on a single tdb
> file and only update what has changed, we'll find the buffer cache will work
> quite nicely.

Agreed,that sounds like it ought to be able to significantly reduce overhead
without neccessarily needing to go to a purely memory backed storage.

Regards,
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:[~2006-10-12 14:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12 14:16 xend / xenstored performance & scalability issues Daniel P. Berrange
2006-10-12 14:25 ` Keir Fraser
2006-10-12 14:33 ` Keir Fraser
2006-10-12 14:46   ` Daniel P. Berrange [this message]
2006-10-12 15:04 ` Ewan Mellor

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=20061012144617.GB6878@redhat.com \
    --to=berrange@redhat.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --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.