Bug 1285709
Summary: | Entries in /proc/meminfo explained incorrectly | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jana Heves <jsvarova> |
Component: | doc-Deployment_Guide | Assignee: | Maxim Svistunov <msvistun> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ecs-bugs |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 6.8 | CC: | aquini, mflitter, mrdest, msvistun, poros, rfreire, rhel-docs, riel |
Target Milestone: | rc | Keywords: | Documentation |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-30 08:57:10 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
Jana Heves
2015-11-26 10:29:26 UTC
Dear Sumanto, Thank you very much for drawing our attention to incorrect documentation of entries in /proc/meminfo. Could you please review my suggestions for improvement? I tried to provide new definitions for the four entries. Any help is much appreciated. Thanks, jana Hi! From the kernel code, it looks like the values are not in kB (kilobytes) but in kibibytes (KiB) because they are multiples of pages (which is usually 4096B = 4KiB). Getting the correct definitions of the values might be a little tricky, but the starting point should be: http://git.app.eng.bos.redhat.com/git/rhel6.git/tree/Documentation/filesystems/proc.txt If that documentation is not accurate, you should get in touch with Kernel Engineers (devs) to provide more details. Thanks! Following the discussion with Maxim, I submitted an RFC to kernel upstream about the kB/KiB. I think we should document this thing: the values are in fact kibibytes. So even if the output is 'kB', it should be considered to be 'KiB'. It would probably be useful to: 1) do a mention that the output is technically incorrect. Explain that due to legacy issues the hardcoded 'kB' cannot be changed the meaning of 'kB' is actually 1024 bytes which is KiB (kibibyte). 2) Use the correct terms in our documentation (I am working to push some update to upstream documentation about this). When explaining each term instead of 'kilobyes' used the correct term of 'kibibytes'. Thanks! The Linux developers (including me) have written some documentation on /proc/meminfo already. Please start reading here: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/filesystems/proc.txt#n831 The extensively changed appendix section /proc/meminfo is now available at: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-proc-meminfo.html Thanks everybody for help! |