Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 2015 10:05:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 199169] [patch] zone "UMA Zone" has bigger size than need
Message-ID:  <bug-199169-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: luke.tw@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199169-8>