Warning: preg_replace(): Compilation failed: nothing to repeat at offset 4 in /usr/home/esteveb.com/web/pmwiki.php on line 290
esteveb.com :: Blog / Copying files to USB made my lap crawl !




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:

https://bugs.launchpad.net/ubuntu/ source/nautilus/ bug/1208993

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 !

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