[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev local directory listing - TOO SLOW
From: |
dickey |
Subject: |
Re: lynx-dev local directory listing - TOO SLOW |
Date: |
Mon, 11 Jan 1999 05:27:10 -0500 (EST) |
>
> Amazingly enough Bela Lubkin said:
> > I doubt this would make any noticable difference, as long as [ug]id's
> > are being cached. It might also help to use a setpwent(), repeat
> > getpwent() loop to fill that cache, rather than specific getpwuid() for
> > each new ID. (But that could cost a lot of memory on systems with large
> > /etc/passwd.)
that's effective on systems which read the whole passwd file each time it's
referenced (SunOS and Linux). not so effective on Solaris.
> How many subdirectories really how files owned by more than a handful of
> different owners?
>
> Mostly /tmp.
right (I use AVL-trees for my directory editor's uid/gid cache for exactly
this reason - on a system with 5000 users it does make a difference)
> So preloading the cache would not gain much in the average case, I would
> think.
it depends on what the average case is.
the only puzzling thing is that LP's reporting slow access times on a
standalone PC with djgpp, too, iirc.
> mrc
> --
> Mike Castle Life is like a clock: You can work constantly
> address@hidden and be right all the time, or not work at all
> www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
> We are all of us living in the shadow of Manhattan. -- Watchmen
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
- Re: lynx-dev local directory listing - TOO SLOW, (continued)
Re: lynx-dev local directory listing - TOO SLOW, Leonid Pauzner, 1999/01/08
Re: lynx-dev local directory listing - TOO SLOW, dickey, 1999/01/02
Re: lynx-dev local directory listing - TOO SLOW, Henry Nelson, 1999/01/08
Re: lynx-dev local directory listing - TOO SLOW, Bela Lubkin, 1999/01/10
Re: lynx-dev local directory listing - TOO SLOW, dickey, 1999/01/10
Re: lynx-dev local directory listing - TOO SLOW, dickey, 1999/01/11
Re: lynx-dev local directory listing - TOO SLOW, Bela Lubkin, 1999/01/13
Re: lynx-dev local directory listing - TOO SLOW, Henry Nelson, 1999/01/13