User Tools

Site Tools


blog:copying_large_files_to_usb_device_blocks_system

Copying large files to USB Device blocks system

When copying large amounts of data, e.g. digital images to an usb drive, I noticed laggy system behaviour, to the point that the mouse would not move.

The problem seems to be cache queue bloat, which I could reduce by adding these settings to my local sysctl config file (/etc/sysctl.d/my-sysctl.conf>:

vm.swappiness=10
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

I had to reboot the system because sudo sysctl -p did not reload the values. For more details on this see the references

Ref:

Discussion

Enter your comment. Wiki syntax is allowed:
   ___      __ __  __   ___  ______
  / _ \ __ / / \ \/ /  / _ \/_  __/
 / // // // /   \  /  / // / / /   
/____/ \___/    /_/  /____/ /_/
 
blog/copying_large_files_to_usb_device_blocks_system.txt · Last modified: 2017-04-03 17:09 by brb