Bug 1158828

Summary: free output has changed
Product: [Fedora] Fedora Reporter: Branislav Blaškovič <bblaskov>
Component: procps-ngAssignee: Jaromír Cápík <jcapik>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: jcapik, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-31 07:10:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Branislav Blaškovič 2014-10-30 10:22:58 UTC
Description of problem:
  /bin/free has changed its output from f20 to f21. Why is that? There is missing line '-/+ buffers/cache:'

Version-Release number of selected component (if applicable):
  procps-ng-3.3.10-4.fc21.x86_64

Actual results:
              total        used        free      shared  buff/cache   available
Mem:          15738        2070        6466          81        7201       13283
Swap:          7877           0        7877


Expected results:
             total       used       free     shared    buffers     cached
Mem:          1841       1737        103         95         84        313
-/+ buffers/cache:       1338        502
Swap:         2063        192       1871

Comment 1 Jaromír Cápík 2014-10-30 15:09:42 UTC
Ahoj Branislave.

The -/+ buffers/cache line lost sense with the recent modifications/additions and has been removed intentionally. The value reported as 'used' now excludes buffers and caches and therefore is equal to the previously reported '-' value and the value reported in the 'available' column is a correct/better replacement for the previously reported '+' value, that was marked as misleading and according to the kernel people, it was reinforcing a misconception that memory in the page cache can be considered free.

If you have more questions, don't hesitate to ask. Otherwise I'll close this report as NOTABUG.

Thanks,
Jaromir.

Comment 2 Branislav Blaškovič 2014-10-31 07:10:29 UTC
Thank you for explanation.