How to Run a Speed Test on a Synology NAS with iPerf3

In this tutorial, we’re going to take a look at how to run a speed test on a Synology NAS with iPerf3.

We’re going to be using iPerf3 because it’s a tool that measures the maximum achievable bandwidth that you’ll be able to receive for local network transfers between a client device and a server device.

This is especially important for a Synology NAS because you’re constantly transferring data back and forth from client devices. Without having a baseline of what you should be receiving, you won’t be able to verify if you’re running into any issues.

This will also allow you to verify that everything is set up properly if you decide to upgrade to a 10Gb network infrastructure in the future.

The tutorial below uses the new version of Docker, installed on DSM 7.1.

1. How to Run a Speed Test on a Synology NAS with iPerf3

We’ll be setting up iPerf3 using Docker to run our speed test on a Synology NAS. This is extremely easy to do and will allow you to turn on/off the docker container whenever you would like to test network connectivity.

1. Open Docker and select Registry. Search for iPerf3 and download the latest networkstatic/iperf3 image by double-clicking it.

how to run a speed test on a synology nas with iperf3

2. When it’s done downloading, double-click the container under the Image tab to create a new container.

image 8

3. Select Use the same network as Docker Host and select Next.

image 9

4. Give the container a name, then select Advanced Settings.

NOTE: I keep the container disabled unless I want to use it, but if you always want it running, select Enable auto-restart.

image 10

5. Under Execution Command, enter the information below in the Command section.

--server
image 11

6. All other settings can stay as default. Select Next until you can select Done to create the container.

image 12

7. If you’re using Synology’s Firewall, set up an allow rule for TCP Port 5201.

image 14

8. After the container is started, the Synology will be listening as the iPerf3 server. This means that you can use another device as a client to test the connection speeds. This will test the local network transfer speeds between the client device and the server device (Synology NAS).

2. How to Run a Speed Test on a Synology NAS with iPerf3 Client Devices

To set up an iPerf3 client, you’ll have to download the package on the correct operating system. The iPerf website has a bunch of versions of the installer that you can download and install.

2.1 Raspberry Pi/Debian Client Setup

To install iPerf3 on a Raspberry Pi, run the install command below. Please keep in mind that this install command should work properly for all debian-based Linux distributions.

sudo apt install iperf3 -y

1. After iPerf3 is downloaded and installed, you can run the command below to test the local network transfer speeds.

iperf3 -c [SYNOLOGY_NAS_IP]
image 13

2. You’ll see that I am getting around 100-110 MB/s from a wired Raspberry Pi to a wired Synology NAS, both using gigabit NIC’s. These are right around the speeds that I’d expect.

2.2 Windows PC Client Settings

1. Download the iPerf3 Windows EXE file and navigate to the folder location using the command prompt.

iperf3 windows

2. Run the command below to test the local network transfer speeds from your Windows PC to your Synology NAS.

NOTE: Make sure you are in the folder directory where the iperf3.exe file is.

iperf3.exe -c [SYNOLOGY_NAS_IP]
image 16

You’ll see that I’m getting around 30-40 MB/s of local network transfer speeds. This is because I’m on a wireless connection and my local network transfer speeds are significantly less than they would be if I was on a wired connection.

It’s not ideal but it is expected for my home network and the speeds I’ve come to expect.

3. Conclusion – How to Run a Speed Test on a Synology NAS with iPerf3

This tutorial looked at how to run a speed test on a Synology NAS with iPerf3. Even if you don’t think that you’re running into performance issues, it doesn’t hurt to get a baseline of your local network speeds. This will help you troubleshoot any issues (if they happen to arise) with transfer speeds.

Thanks for checking out the tutorial on how to run a speed test on a Synology NAS with iPerf3! If you have any questions, please leave them in the comments!

Please share if this helped you!

This Post Has 2 Comments

  1. Evis

    Another great tool I didn’t know I needed, thanks!
    Getting around 110Mb/s, I think its running ok

    1. WunderTech

      Glad that it helped! Those speeds look good to me!

Leave a Reply