[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Interesting results for getservbyname() performance (and possible changes for /etc/services)



Ralf Ertzinger wrote:
> AFAIK nscd can cache everything going through nsswitch.conf, including
> services.

No, you're wrong.  nscd  only caches passwd, group, hosts data.  Nothing
else.

And I'm reluctant to add support for rarely used other services because
the cost doesn't really justify the gains.  For this problem, as I told
Phil already internally, I think it's perfectly fine to use nss_db.
It's really static data so updating the database when a) the
/etc/services file changes or b) the nss_db implementation changes, is
no big issue.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]