Kernel parameters stopped my lap to slowdown while copying files

I needed to move a 10GB file from a computer to another. Quick way: USB pendrive. I found out that the mouse moved weird while copying the files, and the rest of the things, well… stalled.

A quick search in the net revealed this:

So, I applied the changes:

As root, edit /etc/sysctl.conf and add these lines:

vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

Then update the configuration (to avoid rebooting):

sudo sysctl -p

Done ! Now I can copy files and continue working !

© 2017 Esteve Boix | Powered by PmWiki | Original skin Barthelme theme by Scott and ported by Chi Shang.