Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2018 12:03:43 +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-Tu3iQfOO8M@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 #2 from Thomas Hurst <tom@hur.st> ---
The built-in caching doesn't seem useful for this case.  Enabling it result=
s in
a test run creating this unfortunate entry in top:

63957 root             9  52    0 24000K  4696K uwait  19   9:15 268.91% ns=
cd

and actually *slows down* stat(1) in my tests - /usr/src goes from 22 secon=
ds
to almost 90, and my CVS repository scan goes from 55 seconds to 2 minutes.

--=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-Tu3iQfOO8M>