[Bug 232940] Investigate poor ncsd performance reported in bug 230491

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 3 16:37:17 UTC 2018


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

            Bug ID: 232940
           Summary: Investigate poor ncsd performance reported in bug
                    230491
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-qa, patch, performance
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: cem at freebsd.org
                CC: bugs at FreeBSD.org, cem at freebsd.org, gad at FreeBSD.org,
                    tom at hur.st
        Depends on: 230491

See comments #2, 5, 6, and 14 on bug 230491.

> The built-in caching doesn't seem useful for this case.  Enabling it results in a test run creating this unfortunate entry in top:
>
> 63957 root             9  52    0 24000K  4696K uwait  19   9:15 268.91% nscd
>
> and actually *slows down* stat(1) in my tests - /usr/src goes from 22 seconds to almost 90, and my CVS repository scan goes from 55 seconds to 2 minutes.


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


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230491
[Bug 230491] stat(1): Improve performance with getpwuid() and getgrgid()
caching
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-bugs mailing list