All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <dunlapg@umich.edu>
To: Juergen Gross <jgross@suse.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
	Wei Liu <wei.liu2@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Jan Beulich <jbeulich@suse.com>
Subject: Re: [Xen-devel] [PATCH 1/2] tools/xenstore: start with empty data base
Date: Mon, 15 Jul 2019 16:06:10 +0100	[thread overview]
Message-ID: <CAFLBxZbLQ84UT9gQPbWbHthe6Z61Czt3aVwfzMWSfMwxhZsApw@mail.gmail.com> (raw)
In-Reply-To: <20170110161339.9529-2-jgross@suse.com>

On Tue, Jan 10, 2017 at 4:14 PM Juergen Gross <jgross@suse.com> wrote:
>
> Today xenstored tries to open a tdb data base file on disk when it is
> started. As this is problematic in most cases the scripts used to start
> xenstored ensure xenstored won't find such a file in order to start
> with an empty xenstore.

Sorry to respond to such an old thread, just trying to record this in
a useful place: in the distros design session at the recent XenSummit,
it turned out that:
1. Most distros had to mount a tmpfs for the xenstore database to
prevent xenstore from destroying disk performance
2. xenstored already has an `-I` option which creates a memory-only database

At which point it was asked: Why is this option not the default?

This patch seems to imply that the main reason at the moment for an
external db is debugging; in which case, it does seem like the default
should be in-memory, with an external db as a debugging option.

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  parent reply	other threads:[~2019-07-15 15:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-10 16:13 [PATCH 0/2] tools/xenstore: don't use old tdb file in xenstored Juergen Gross
2017-01-10 16:13 ` [PATCH 1/2] tools/xenstore: start with empty data base Juergen Gross
2017-01-13 10:49   ` Wei Liu
2017-01-16 10:39   ` George Dunlap
2019-07-15 15:06   ` George Dunlap [this message]
2017-01-10 16:13 ` [PATCH 2/2] tools: don't remove tdb data base file before starting xenstored Juergen Gross
2017-01-13 10:50   ` Wei Liu
2017-01-13 12:11 ` [PATCH 0/2] tools/xenstore: don't use old tdb file in xenstored Wei Liu

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=CAFLBxZbLQ84UT9gQPbWbHthe6Z61Czt3aVwfzMWSfMwxhZsApw@mail.gmail.com \
    --to=dunlapg@umich.edu \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jgross@suse.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /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.