wimc
Moderator
Posts: 477
Likes: 411
|
Post by wimc on Sept 2, 2021 12:20:34 GMT
From the video review thread rodney posted. Using free -mwimc@pc1:~$ free -m total used free shared buff/cache available Mem: 64156 965 61687 52 1503 62509 Swap: 2047 0 2047 wimc@pc1:~$
If this swap is same thing.
|
|
enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Sept 2, 2021 14:18:14 GMT
bodhi@MS-7693:~$ free -m total used free shared buff/cache available Mem: 7947 1212 3988 120 2746 6315 Swap: 2047 0 2047 bodhi@MS-7693:~$ uptime 07:16:17 up 8 days, 17:42, 2 users, load average: 2.60, 2.35, 2.25 With default swappiness not using any swap. It's only been up 8 days tho, usually as time goes on eventually that wont be zero.
|
|
kev392
Crew Member
Posts: 356
Likes: 474
|
Post by kev392 on Sept 2, 2021 22:14:42 GMT
The easiest way to check the level is in Terminology with cat /proc/sys/vm/swappiness
It will simply list the number as 60 or whatever the user has set previously.
I use sudo nano /etc/sysctl.conf to access the file where it can be changed.
Typically, at the bottom of the file, you will need to add the swappiness command.
I just use:
# Reduce the swap tendency vm.swappiness = 0
If using less than 4 GB RAM then a higher number than 0 might be preferable.
|
|
wimc
Moderator
Posts: 477
Likes: 411
|
Post by wimc on Sept 3, 2021 0:00:24 GMT
Well, not something that I'll mess with.
|
|