[Bug 199169] [patch] zone "UMA Zone" has bigger size than need

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 5 10:05:35 UTC 2015


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

            Bug ID: 199169
           Summary: [patch] zone "UMA Zone" has bigger size than need
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: luke.tw at gmail.com
          Keywords: patch

Created attachment 155194
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=155194&action=edit
UMA Zones size patch

It calculates the size for per cpu cache with (mp_maxid + 1 ). 
This allocates space with one extra struct uma_cache.

* before patch
 % vmstat -z | grep Zone
UMA Zones:             1152,      0,     196,       2,     196,   0,   0

* after patch
% vmstat -z | grep Zone
UMA Zones:             1024,      0,     196,       2,     196,   0,   0

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


More information about the freebsd-bugs mailing list