Bug 1329958 - slabtop command cannot calculate correctly USE value
Summary: slabtop command cannot calculate correctly USE value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: procps-ng
Version: 7.4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jan Rybar
QA Contact: David Jež
URL:
Whiteboard:
Depends On: 1330008
Blocks: 1298243 1380361 1420851
TreeView+ depends on / blocked
 
Reported: 2016-04-25 08:15 UTC by Takayuki Nagata
Modified: 2017-08-01 18:02 UTC (History)
1 user (show)

Fixed In Version: procps-ng-3.3.10-13.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1330008 (view as bug list)
Environment:
Last Closed: 2017-08-01 18:02:15 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2271771 0 None None None 2016-04-25 08:15:12 UTC
Red Hat Product Errata RHBA-2017:1898 0 normal SHIPPED_LIVE procps-ng bug fix update 2017-08-01 18:05:14 UTC

Description Takayuki Nagata 2016-04-25 08:15:12 UTC
Description of problem:
slabtop output the followings. USE shows 47% but it is actually 81699472/81699500*100 = 99.9.

  OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME
85325940 85325940  49%    0.19K 4266297       20  17065188K dentry

Version-Release number of selected component (if applicable):
procps-ng-3.3.10-5.el7_2

How reproducible:
Always in ACTIVE > 42949672

Steps to Reproduce:
1. Consume slabs.
2.
3.

Actual results:
  OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME
85325940 85325940  49%    0.19K 4266297       20  17065188K dentry

Expected results:
  OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME
85325940 85325940 100%    0.19K 4266297       20  17065188K dentry

Additional info:

Comment 11 errata-xmlrpc 2017-08-01 18:02:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1898


Note You need to log in before you can comment on or make changes to this bug.