Solving: samba registry with client programs

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Apr 22 00:00:59 MDT 2012


On Fri, Apr 20, 2012 at 08:47:47AM -0400, simo wrote:
> On Fri, 2012-04-20 at 08:16 +0200, Volker Lendecke wrote: 
> > On Thu, Apr 19, 2012 at 01:38:07PM -0400, simo wrote:
> > > On Thu, 2012-04-19 at 07:24 +0200, Volker Lendecke wrote: 
> > > > On Wed, Apr 18, 2012 at 03:53:34PM -0400, simo wrote:
> > > > > > And, I
> > > > > > don't think that registry smb.conf modifications are
> > > > > > so frequent that this really hurts. The fsyncs on the
> > > > > > registry.tdb are probably much, much more expensive.
> > > > > 
> > > > > True, but I was not too much concerned with performance, rather rewrite
> > > > > of the file over an over, if someone wants to check changes with
> > > > > something like inotify it would get multiple wakeups all over.
> > > > 
> > > > We rewrite the registry over and over too, so I think this
> > > > problem exists already today.
> > > 
> > > Yes and we drafted a plan to fix it by using 2 tdb files a while ago, I
> > > guess we could accept the penalty now and then solve the problem at the
> > > same time once we get around to fix the registry general issues.
> > 
> > Sorry, I did not understand your message. Does this mean
> > that you bless the smb.conf text copy of the registry that
> > Stef proposed?
> 
> Yes, but I'd like an option (possibly off by default) to disable the
> behavior for those installs that do not want the overhead (as little as
> it is).

Stef, would it be possible that you test how much it costs?
A typical [global] with possibly one or two dozen settings?
I would guess the overhead can not be measured.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list