Disable cache patch
alexl at redhat.com
Fri Sep 29 00:22:58 PDT 2006
On Thu, 2006-09-28 at 18:22 -0400, Havoc Pennington wrote:
> 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
Or even worse, doing a NIS lookup roundtrip on every message.
Alexander Larsson Red Hat, Inc
alexl at redhat.com alla at lysator.liu.se
He's a hate-fuelled shark-wrestling vampire hunter on the run. She's a wealthy
mutant advertising executive fleeing from a Satanic cult. They fight crime!
More information about the dbus