Bug 21292 - Wrong memory values
Summary: Wrong memory values
Status: CLOSED INVALID
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Andrew Morton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 20:32 UTC by sworddragon2
Modified: 2012-05-12 12:56 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.36-1-generic ubuntu
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Memory usage of the system (311.85 KB, image/png)
2010-10-27 20:32 UTC, sworddragon2
Details

Description sworddragon2 2010-10-27 20:32:34 UTC
Created attachment 35282 [details]
Memory usage of the system

I get from top and htop wrong memory values. The following things aren't correct:

1. Both applications say that every process is using the swap and this aren't low values. But the sum in the overview says there is no swap in use (this seems to be the correct value).

2. The CODE + DATA values are in the most processes bigger than the RES values.

3. The virtual memory usage is to high (this seems because of the wrong swap values).

4. The sum of the RES memory of the processes is significant lower than the values in the overview.


I have tested this problem now on 4 different computer with a 32 bit version of ubuntu, a 64 bit version of ubuntu and a 32 bit version of debian but there is every time the same problem.
Comment 1 Alan 2012-05-12 12:55:42 UTC
This is the correct behaviour. Please read up on what the values actually mean

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