They offer different flash templates with latest features.
Login

Forgot password
Register
Back
Written by:
michelsaey
Score: 11
votes: 19
Format: Article

 Reduce swappines


The swap tendancy is way to high in Linux Mint.

You can reduce it by following these steps:

-open a terminal en type: cat /proc/sys/vm/swappiness

The tendancy is probably '60', what good is for servers but is to high for normal users

-type in terminal:  gksudo gedit /etc/sysctl.conf  (in mate you use pluma instead of gedit)

-add at the bottom of that text file, the following lines (copy and paste):

#
# Reduce the swap tendency
vm.swappiness = 10

 

-save the file and restart the computer.

 

The rule is:

1GB RAM or more: set the swappiness to 10

Less then 1GB: set the swappiness to 1


Tags: swap swappines
Created: 3 years ago.
Last edited: 3 years ago.
Reviewed: 3 years ago.
Read 0 times.

Comments
4 months ago

KiLLA
I consider this option is being ignored on Mint 17.1, i have it on netbook with 1GB RAM, swappiness is set correct way to 1 as "cat /proc/sys/vm/swappiness" shows.. When i use more than ~700MB RAM a huge SWAP PARTY makes netbook unusable.. This happened even when i got SWAP partition udefined = as there was none.. Previous version i have used here was Mint 15 which i say is the BEST MINT SO FAR and was able to use ~950MB of RAM set the same way.. The newer versions use too much CPU and RAM resources for the same result..
@Shankaraya: dont use nemo.. i tried to do a backup copy of android x86 source (20,1GB) and nemo was mega sloooow showing 1h30m to complete and fully used 1 CPU core (1 of 4).. it gets stuck on lots of small files.. GNOME COMMANDER did same job much faster only using less than 20% of 1 core and in ~30minutes..
 
5 months ago

rick1959
Excellent and simple, Thank You!  
10 months ago

MagicMint
@Shankaraya: Fileroller has probably nothing to do with it. It looks more like a memory leak, a problem I can confirm, and which has been addressed (at least in cinnamon) according to http://segfault.linuxmint.com/2015/03/cinnamon-2-4-updates-coming-through/ :-)  
1 year ago

Shankaraya
nemo got so slow after putting 200 gbyte on my 500gbyte hard disk with mint 17.1. Deleting fileroller and reducing swappiness to 10 (4gigaRAM) makes nemo much more fluent  
1 year ago

shinegami
It worked in my Linux Mint 17.1. Thank you very much.  
1 year ago

mctom
It would be a perfect tutorial if you wrote what are the expected gains from doing such a thing. I did this to conserve my SSD.
Anyway, thank you. :)
 
1 year ago

goldshirt9
in Qiana replace gedit with kate i.e
gksudo kate /etc/sysctl.conf

then follow the rest of the tutorial
 
1 year ago

c123
Dont work in Linux Mint 17 MATE  
3 years ago

JuneKernel
1
Other than your opinion why is this prudent?

2
for installs TO usb flash?
 
3 years ago

Mintification
I do this for any Mint installs. Good tutorial :)  

Other tutorials from michelsaey