swap is always at 0

Asked by Bob

is this right??
it shows it has 3.1 to use but never does, even watching videos no swap going on??
is this why my cpu it running most of the time at 90% and up even on start up it around 90% and I have not even turned on firefox yet.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

High CPU doesn't start swap being used. If you start filling your RAM and the system needs more space then it will swap data in the RAM to the swap space then load the new application to RAM.

Not using swap is a good thing. It means that your system has enough RAM for it's use.

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#2

For more info about swap and paging, please read this:

https://en.wikipedia.org/wiki/Paging#Unix_and_Unix-like_systems

Swap is only triggered by low memory situations, NOT by high CPU loads.

Revision history for this message
Bob (smith13) said :
#3

Thanks Mark Rijckenberg, that solved my question.