Messages in this thread | | | Date | Tue, 2 Feb 1999 23:36:09 -0800 (PST) | From | Gerhard Mack <> | Subject | Re: SLOW SLOW SLOW tar with 2.2.0 |
| |
On Tue, 2 Feb 1999, Mark Lord wrote:
> 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.
FYI the latest versions of glibc have a daemon to cache requests.
Gerhard
-- gmack@imag.net
As a computer I find your faith in technology amusing.
- 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/
| |