Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
42
rated 0 times [  42] [ 0]  / answers: 1 / hits: 67171  / 2 Years ago, wed, october 5, 2022, 1:57:53

Yesterday I was copying a single, 8 GB file to a USB with a slow, 7 MB/s write speed, while my RAM is 3 GB. While copying the system froze, to the point where I couldn't even move the cursor.



I managed to log into the text console, and ran iotop, it showed that a process named kswapd0 was taking 99.99% of IO.



Are there workarounds so copying a large file doesn't make my system unusable?


More From » usb

 Answers
1

According to this bug report I solved it adding following lines



vm.dirty_background_ratio = 5
vm.dirty_ratio = 10


into /etc/sysctl.conf



and running



sudo sysctl -p

[#27769] Thursday, October 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingsta

Total Points: 391
Total Questions: 103
Total Answers: 124

Location: Bonaire
Member since Wed, Mar 29, 2023
1 Year ago
ingsta questions
Sun, Oct 23, 22, 01:42, 2 Years ago
Sat, Oct 30, 21, 11:27, 3 Years ago
Sun, Nov 28, 21, 12:49, 2 Years ago
;