memory counted wrong ?!

Hans-Helmut Buehmann (hans@expmech.ing.tu-bs.de)
Sat, 24 Feb 1996 12:50:08 +0100 (MET)


I repeat this message, because I got no reply, and here are sometimes
problems with the mailing system:

On Tue, 20 Feb 1996, I wrote:

> Hello!
>
> With my Linux-system (version 1.3.66) "cat /proc/meminfo"
> gives, if the system has high load, for exaple the following result:
>
> total: used: free: shared: buffers: cached:
> Mem: 31940608 22433792 9506816 22142976 1044480 8998912
> Swap: 33640448 0 33640448
>
> With version 1.3.59 a few weeks ago it gives:
>
> total: used: free: shared: buffers: cached:
> Mem: 15138816 14675968 462848 15314944 262144 4608000
> Swap: 33640448 2252800 31387648
>
> total: used: free: shared: buffers: cached:
> Mem: 15138816 14704640 434176 14376960 180224 4370432
> Swap: 33640448 2441216 31199232
>
> total: used: free: shared: buffers: cached:
> Mem: 15073280 14745600 327680 16306176 364544 4546560
> Swap: 33640448 2392064 31248384
>
> total: used: free: shared: buffers: cached:
> Mem: 15073280 14888960 184320 16666624 233472 4849664
> Swap: 33640448 2281472 31358976
>
> Why is cached + shared > used ?
> Or why is shared > total ?
>
> Interrups the kswapd-process (high priority) the kernel-process
> while counting the memory ?
>
> I wrote a program (patch) for procps to display the memory, but
> sometimes the graphics is wrong.
>
> The used computer:
> i486, 66 MHz
> 16 MB ram / kernel v1.3.59
> 32 MB ram / kernel v1.3.66
> NCR 810 SCSI
> GCC 2.7.2 libc.so.5.2.18
>
> Is this a bug or a feature ?
>
> Greetings
> Hans-Helmut Buehmann
>
> hans@expmech.ing.tu-bs.de
>
>