Re: SLOW SLOW SLOW tar with 2.2.0
Mark Lord (mlord@pobox.com)
Tue, 02 Feb 1999 20:27:56 -0500
Thierry Danis wrote:
> We have here at work a group NIS map with ~ 1000 entries.
> To make things go faster (logging, su, ls, etc.), we
> removed 'nisplus' and 'nis' from the group line in
> nsswitch.conf and run :
>
> $ cp -f /etc/group-orig /etc/group+
> $ ypcat group >>/etc/group+
> $ mv -f /etc/group+ /etc/group
>
> each time the group NIS map is modified (and regularly
> every night through a cron).
>
> If we don't do that, each file access last a long time,
> with a lot of request towards our NIS server (Note that
I noticed the same problem 4-5 years ago,
and ended up hacking libc to be more clever
about things -- maintaining a local cache of
recently looked-up entries. I have long since
lost the hacks, though.
HP-UX used to have the same problem.
--
mlord@pobox.com
-
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/