Re: Suggested dual human/binary interface for proc/devfs

From: Andrea Arcangeli (andrea@suse.de)
Date: Sat Apr 08 2000 - 14:44:49 EST


On Fri, 7 Apr 2000, Ed Carp wrote:

> [..] On
>the other hand, having 100,000 entries in /etc/passwd takes a while to
>search, and those sorts of things are what people point to when they
>talk about lack of scalability.
>
>I don't know what the answer is - perhaps a replacement library for
>things like getpwent and friends [..]

Use the `db' format in /etc/nsswitch.conf with lots of users. It uses low
complexity algorithm for the lookup operation. It only requires you to
rebuild the db after each update of the ASCII passwd file.

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:11 EST