[Bug 230491] stat(1): Improve performance with getpwuid() and getgrgid() caching

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 11 03:08:20 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230491

--- Comment #14 from Thomas Hurst <tom at hur.st> ---
11.2-STABLE, consistent across several runs:

Conrad's patch: 8.792 real, 4.506 user, 4.788 sys;  page: 0 hard/13520 soft,
swap: 0, I/O: 8818/0

My patch: 8.577 real, 4.547 user, 4.525 sys;  page: 0 hard/13264 soft, swap: 0,
I/O: 8818/0

Looks good, particularly given it makes the code more straight-forward.

Reducing thread count improves performance with nscd, but at "threads 1" it's
still 52s vs 22s uncached.

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


More information about the freebsd-bugs mailing list