Date: Sat, 11 Aug 2018 03:24: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-IW45rEr6uJ@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 #15 from Thomas Hurst <tom@hur.st> --- As for the use-case, here's the initial report: > I'm seeing really, *REALLY* bad performance from stat(1) on FreeNAS. Case in point: a `find . -print0 | xargs -0 shasum >file.sha` takes about 7.5h on dirtree with 1.9TiB and 24.5M > > while a `find . -print0 | xargs -0 stat -f '%d %i %#p %l %u %g %r %z %a %m %c %B %k %b %f %N%SY' >file.stat` takes 21 hours > > almost TRIPLE the time for reading just the metadata versus reading ALL THE DATA, seems really weird! Seems like they were making a catalogue of the metadata of a large set of small files. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230491-227-IW45rEr6uJ>
