Increase RAID Rebuild / rsync Performance for QNAP NAS

QNAP has limited the amount of resources dedicated to their NAS lineup when rebuilding a RAID array or performing rsync backups.  The decision here was to limit the amount of impact these types of processes have on your system in order to maintain an acceptable level of responsiveness.  This is very considerate of QNAP, however, I prefer a bit more control over my system and would like these processes to complete faster; well-knowing I will be sacrificing system responsiveness.

If you are interested in modifying your NAS to grant more resources to these process, then knowing what your current settings are can give you insight into what changes you should make.

NOTE: Editing the configuration files incorrectly can cause serious, system-wide problems. QNAP nor computingondemand.com cannot guarantee that any problems resulting from the use of configuration file editing can be solved. Back up your information first, but use at your own risk.

  • Under Network Services, make sure Allow SSH connection is checked.

Open an SSH connection to your NAS.  I prefer putty for my SSH client, but your mileage may vary.

  1. Open putty and type the IP address of your NAS in the Host Name (or IP address field)
  2. Click Open
  3. Login to your NAS with your admin username and password (default username: admin | default password: admin)

To see what your current settings are, use the following commands

Maximum speed:
cat /proc/sys/dev/raid/speed_limit_max
Minimum speed:
cat /proc/sys/dev/raid/speed_limit_min

The results returned will be KB/s.  For my purposes the following results were returned:

To increase either of these settings you can use the following example:

echo 50000 >/proc/sys/dev/raid/speed_limit_min

This change will take immediate effect.  This value may not be suitable for your system and will require some testing.  Once you find the value that will work for you, you will need to edit your autorun.sh to make the changes permanent.

You can find the instructions for creating or modifying your autorun.sh directly on the QNAP Wiki Page.

About Joe D

I have always had a passion for everything computing. In early 2000, I decided to take my passion to the web. Thus, C.O.D. was born. Through the years we have made many great friends at C.O.D. and hope to continue our journey for years to come.

Check Also

ASUSTOR ADM 2.4 Overview

ASUSTOR has been hard at work. Not only have they been releasing some very impressive NAS lately, but they are also hard at work in the development labs to try and make ADM (ASUSTOR Data Master) the best operating system they can. ADM is intuitive, impressive, and fast.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.