Jump to content

Solved: Slow disk writes


jogger

Recommended Posts

I was experiencing slow writes to internal SD card and hard drives connected to an USB 2.0 hub on multiple Odroid HC1. IOWAIT was 99.99% most of the time during large file copies.

I found that Armbian was simply waiting too long to write data to disk. Kernel parameters are optimized for writing small amounts of data to SD card when running from that in order to reduce wear.

If you have the same problem, you might get factor 10-100 faster writes using the following sysctl settings:

vm.dirty_writeback_centisecs=50
vm.dirty_expire_centisecs=50

No need to act, if iotop shows low IOWAIT values on your system.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines