Disable cache patch

Tim Dijkstra newsuser at famdijkstra.org
Fri Sep 29 05:51:10 PDT 2006


On Fri, 29 Sep 2006 09:22:58 +0200
Alexander Larsson <alexl at redhat.com> wrote:

> On Thu, 2006-09-28 at 18:22 -0400, Havoc Pennington wrote:
> > Hi,
> > 
> > This looks fine to me, thanks, though I'm still worried there was a
> > good reason we did the caching in the first place. Maybe in
> > benchmarking your glibc is set up differently from the default (or
> > historical default)? I'm thinking now that when we added this,
> > every call to get groups was opening and parsing /etc/groups, and
> > this happens on *every* bus message.... that would probably make
> > dbus about 100x slower than it is today.
> 
> Or even worse, doing a NIS lookup roundtrip on every message.

Most people using NIS are probably using nscd already.

grts Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060929/e7b65aa7/signature-0001.pgp


More information about the dbus mailing list