[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Memory figures



Hi debian-user,

Recently I added a 64 MB DIMM to a machine with 128 MB RAM,
making a total of 192 MB.  The funny thing is that if I do 'free'
on the machine it says something like

             total       used       free     shared    buffers     cached
Mem:        192896      98172      94724      17752      63632      15328
-/+ buffers/cache:      19212     173684
Swap:       393584          0     393584

Doing 'ps' or 'top', OTOH, indicates that no process is using
more than 0.8% of memory, and there are only 30 processes, so the
used memory should be at most 46 MB, and not 98 MB as 'free'
says. Sometimes the 'used' figure in 'free' is as high as 180 MB
even when the machine is idle. After rebooting, it is okay, i.e.,
free shows something like 15-20 MB as used memory. But it soon
returns to the above state. Further, even when free says that
most of the memory is used the machine doesn't slow down
appreciably. E.g., I compiled a kernel using kernel-package, and
it took just a few minutes.

The machine doesn't run X.

Please let me know if you have any ideas on this.

Thanks,
Raghavendra.

-- 
N. Raghavendra                    | GnuPG signed/encrypted mail
raghu@mri.ernet.in                | welcome.  Key ID: 03618806.
Harish-Chandra Research Institute |    C75D D0AF 457E 7454 BEC2
http://www.mri.ernet.in/~raghu/   |    37AD C6E1 0407 0361 8806

Attachment: pgpVYr45xkQMu.pgp
Description: PGP signature


Reply to: