Solving: samba registry with client programs
idra at samba.org
Tue Apr 24 10:52:01 MDT 2012
On Tue, 2012-04-24 at 10:39 +0200, Volker Lendecke wrote:
> On Mon, Apr 23, 2012 at 01:56:01PM +0200, Stef Walter wrote:
> > On 04/22/2012 08:00 AM, Volker Lendecke wrote:
> > > 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.
> > Here you go. At 24 settings changes to the global section, the
> > difference before and after the patch is lost in the noise. The time in
> > this test is overwhelmed by the startup time for the process, and
> > initialization.
> > I also did another test with 10000 settings changes. That one has a
> > bigger difference before and after the patch. However, it's hard to
> > argue though that there would be 10000 changes in the [global] section
> > (which is all that's mirrored for client apps) worth changing :)
> If I got the maths right, the smb.conf copy costs roughly
> 0.1 milliseconds. Simo, would that be acceptable for you to
> implement without a parameter guarding it?
I was more concerned about popping up a file people would not expect, so
that's why I wanted an option. But it's probably not a big deal, if we
find the need we can easily add it later.
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical