lkml.org 
[lkml]   [1999]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2005-03-22 13:50    [W:0.018 / U:1.100 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site