Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I saw memory usage by using System Monitor it showed me 778Mb/2012Mb. Then I checked it using free -m on terminal. I saw this

             total       used       free     shared    buffers     cached
Mem:          2012       1922         89          0        130       1013
-/+ buffers/cache:        778       1234
Swap:         2047          0       2047

How come this vast difference. Looks like system monitor is showing -/+ bufferes/cache reading as total used memory. But what is this exactly? If used memory of 1922Mb was true, then my system would have become horrible slow. Will anyone explain this? I use fedora 13

share|improve this question
    
Your reasoning is backwards. The more memory the system uses, the faster it gets. That why you put more memory in a machine if it's slow -- so it can use more memory and thus run faster. (This is a very common and very fundamental misunderstanding of how memory works on a modern computer. Free memory does nothing to make your machine faster, it just sits there. Used memory is good, it holds useful data that can save the computer from having to do things like read from disk.) –  David Schwartz Jun 20 '12 at 11:26

2 Answers 2

up vote 2 down vote accepted

I like to point people with this concern to this website: www.linuxatemyram.com

share|improve this answer
    
enlightening article –  Shades88 Jun 21 '12 at 10:16

The majority of the memory that you are talking about it simply cached data. That means (generally) that the operating system has predicted what is likely to be accessed in the near future, and if it guesses correctly (very very common) then you get a significant speed boost.

If for whatever reason, more memory is needed, some things simply get flushed from the cache.

A dramatic slowdown occurs when the OS/programs are forced to pull directly from the swap partition, as a hard drive is much slower than RAM.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.