Ubuntu uses only 9.7% of the physical memory and 66% of the virtual memory (swap).

How can I tell the system to take advantage of the physical memory so it would run normally?

  • 1
    can you post the screenshot of top? – Karlson Feb 5 '12 at 3:15
  • 1
    What is your swappiness? ( $ cat /proc/sys/vm/swappiness ) – int_ua Feb 5 '12 at 3:28
  • 2
    How much physical memory (RAM) do you have. That is important information to give. – grahammechanical Feb 5 '12 at 3:38

The simplest way to tell the system not to use swap is to simply turn it off:

sudo swapoff -a

This way the OS will have to choice. But if you have 66% of swap in use and only 10% of physical memory there is something very wrong.

| improve this answer | |
  • Thanks You i'll try it . Any more seggestion? – yinon Feb 5 '12 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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