On Mon, Dec 31, 2012 at 3:23 PM, Maxim Kammerer <m...@dee.su> wrote: > On Mon, Dec 31, 2012 at 10:45 PM, Mike Frysinger <vap...@gentoo.org> wrote: >> On Sunday 30 December 2012 13:47:40 Maxim Kammerer wrote: >>> >>> Desktop users would probably benefit more from glibc databases, if they >>> worked: https://bugs.gentoo.org/show_bug.cgi?id=432020 >>> http://sourceware.org/bugzilla/show_bug.cgi?id=14498 >> >> (1) i doubt it and (2) this isn't a discussion of bugs in nscd > > It's relevant to the discussion, because glibc databases are an > alternative to running nscd. As a desktop user, I run nscd even on a > desktop without YP/NIS+, because I don't like the idea of glibc > functions parsing plain text files on each related query. I would use > glibc databases instead of nscd if that was a reliable option.
flatfile lookups are 2-4ms with hot cache. How much faster is the db option? The flatfiles are not *that* big. People who have /etc/passwd (or other entity datastores) that are 4 megs in size are already not using flatfiles if they have any sense. This is rare in the 'typical' desktop world though. -A > > -- > Maxim Kammerer > Liberté Linux: http://dee.su/liberte >