Date: Sat, 11 Aug 2018 01:51:40 +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-74xwYQ5wbi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230491-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230491 --- Comment #7 from Garance A Drosehn <gad@FreeBSD.org> --- (In reply to Conrad Meyer from comment #4) Just how much overhead is there in IPC? It's easy to see that a local cache will beat the caching done by a separate nscd process, but why would using nscd be so much slower than doing a totally non-cached look up of the user and group names each time? Doesn't that seem a little odd? And the local-to-stat caching: won't that only help if many commands are 'stat'-ed in a single command, as opposed to doing many stat-commands with one file per command? Does 'ls' do local caching? If there is a big benefit in doing local-caching in 'stat', should we also do it with 'ls'? I know I do a lot more 'ls -l's than I do 'stat'-commands of any kind. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230491-227-74xwYQ5wbi>
