Solve mouse cursor moving slowly while copying a large file to USB

Are you facing system freezes/ unresponsive/ unusable while copying the large file to your USB drive in Ubuntu 16.04 LTS. Don’t worry about it. This post will help you to solve this issue.

First of all, we have to open the terminal (ctrl+alt+T). Now, follow the steps below.

$ sudo su

This command will help you to prevent typing your sudo password again and again. Then, you’ll see;


Now, Type below command to edit the sysctl.conf file.

# gedit /etc/sysctl.conf

Then, a document will instantly open on your desktop. Add the below lines at the end of it. If you’re curious about what are these lines are? Then, Visit the post “Better Linux Disk Catching & Performance with vm.dirty_ratio & vm.dirty_background_ratio”.

vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

Now, save and close it. In your terminal, Type the below command to see whether it is working or not.

# sysctl -p

Then, you’ll see;

# sysctl -p
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

Hurray, You made it! Now, Type exit in your terminal to exit from sudo su state and again, type exit to close the terminal window. Finally, Copy your large file to test whether it’ll work or not! I hope it’ll work.

Published on Nov 1, 2017

Last revised on May 5, 2021