Mohamed Patricio wrote:
hello people,

             total       used       free     shared    buffers     cached
Mem:        513488     510424       3064        668       8144     344916
-/+ buffers/cache:     157364     356124
Swap:      1228964      18428    1210536

Is correct I say , this: my machine have only 3064 of memory free to new
programs?



Almost, but not quite....
There are 3064 KB of RAM that is currently not used by the system for anything. If any process requests more memory the kernel can allocate
RAM to meet that request from this pool of RAM with very little overhead.


You have 356124 KB of ram that is "free" for allocation to processes
that request it, but "8144+344916" KB of that RAM is currently being
used for disk cache and buffer space, allocating RAM from this pool
is possible, but
will take a little longer than allocating from the 3064KB that is
unused because the kernel would have to either flush buffers to disk,
or delete the most stale cache and remove the references in the cache
management structures before the RAM could be alocated.

You can adjust the amount of buffer/cache/free space that the kernel
will play with dynamically by looking at these parameters (among others)

/proc/sys/vm/freepages
/proc/sys/vm/buffermem
/proc/sys/vm/bdflush




-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to