RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1886258 - mem.vmstat.drop_pagecache & mem.vmstat.drop_slab are always zero
Summary: mem.vmstat.drop_pagecache & mem.vmstat.drop_slab are always zero
Keywords:
Status: CLOSED DUPLICATE of bug 1854035
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcp
Version: 8.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: pcp-maint
QA Contact: Jan Kurik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-08 05:01 UTC by Yogesh Babar
Modified: 2021-09-17 12:44 UTC (History)
5 users (show)

Fixed In Version: pcp-5.2.2-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-08 05:38:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Yogesh Babar 2020-10-08 05:01:45 UTC
Description of problem:

mem.vmstat.drop_pagecache & mem.vmstat.drop_slab metric values are always zero though the /proc/vmstat reflects them properly. 

Version-Release number of selected component (if applicable):
pcp-5.0.2-5.el8.x86_64

How reproducible:


Steps to Reproduce:
1. drop the cache couple of times 
 
$echo 3 > /proc/sys/vm/drop_caches
$ echo 3 > /proc/sys/vm/drop_caches
$ echo 2 > /proc/sys/vm/drop_caches
$ echo 2 > /proc/sys/vm/drop_caches
$ echo 1 > /proc/sys/vm/drop_caches

2. The /proc/vmstat has refelected the values: 

$ cat /proc/vmstat | grep -i drop
  drop_pagecache 2
  drop_slab 2

3. but PCP is not able to read it properly. Its always zero: 

$ pmrep mem.vmstat.drop_pagecache
  m.v.drop_pagecache
  count/s
  N/A
  0.000
  0.000
  0.000
  0.000
  0.000

$ pmrep mem.vmstat.drop_slab
  m.v.drop_slab
  count/s
  N/A
  0.000
  0.000
  ^C


Actual results:

mem.vmstat.drop_pagecache & mem.vmstat.drop_pagecache metric values are always zero

Expected results:

They should reflect the real time values. 

Additional info:

Comment 1 Nathan Scott 2020-10-08 05:04:27 UTC
Will be resolved via rebase in 8.4 - marking as dup to simplify tracking.

*** This bug has been marked as a duplicate of bug 1854035 ***

Comment 2 Nathan Scott 2020-10-08 05:38:04 UTC

*** This bug has been marked as a duplicate of bug 1854035 ***


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