Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 01:16:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230491] stat(1): Improve performance with getpwuid() and getgrgid() caching
Message-ID:  <bug-230491-227-afzz59H5wE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230491-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230491-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230491

--- Comment #5 from Garance A Drosehn <gad@FreeBSD.org> ---
(In reply to Garance A Drosehn from comment #3)

Ugh.  I didn't notice that 'ncsd' was mentioned in the response right before
mine!  The performance of nscd might depend on how it's configured in
/etc/nscd.conf.

On the linux systems where I use this, we have over 11000 userids, and turn=
ing
on 'nscd' does make a huge difference in 'ls' and 'stat'.  The resulting sp=
eed
is *almost* as fast as doing 'ls -ln /sample/directory', for instance.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230491-227-afzz59H5wE>