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