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?
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.
top
?