Using swap is not a bad thing in itself (quite the opposite in many cases).

The actual process of swapping is expensive, though, and you want to
minimise that.

One way to see whether you have a lot of swapping going on is to run
"vmstat 1" (you don't need to be root). That will produce a new line of
data every second until you stop it (^C). in the middle are two columns
under the label "swap", one sub-labelled "si" and the other "so". They are
respectively "swap in" (ie, read from disk back into memory) and "swap
out" (the other way). If those columns hold mostly zeros, you don't have a
swap problem.

How does it look on your system?
-- 
Linux Tips:     https://www.tiger-computing.co.uk/category/techtips/

-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-10-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to