Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
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

1 Answer 1

up vote 2 down vote accepted

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.

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

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.