Synology Snelheidstest

Synology Snelheidstest

Synology Snelheidstest is een test die uitgevoerd wordt tussen twee Synology NAS-servers. Voor de test wordt gebruik gemaakt van de FTP service op één van de  Synology NAS-servers. Op deze server staat een bestand wat gedownload wordt vanaf de andere server via het Curl commando.

Synology Snelheidstest

Synology Snelheidstest voorbereiding:

turn on ssh on the Synology NAS, Control Panel, Terminal & SNMP, enable SSH service.

root Login using ssh:

ssh user@servernameoripaddress

sudo -i

To download a file from a ftp server anonymous (example):

curl -O

To download a file from a Synology ftp server with authentication(example):

curl  -O ftp://<servername>/<shared folder>/<name file> --user '<Synology User>:<password>'


curl -n --netrc-file <file name, or path to file name>  -O ftp://<servername>/<shared folder>/<name file>

 -n, --netrc   Must read .netrc for user name and password

     --netrc-file FILE  Specify FILE for netrc

file name contents:

machine <name Synology NAS-server>

login <ftp user on Synology NAS>

password <password ftp user on Synology NAS>

To upload a file to a ftp server (example):

make sure you have a 1GB file. Not in the root folder or delete afterwards.  

curl -T 1gb.bin

Speed in MByte/s(MB/s or kByte/s)
In case M multiple by 10 for megabit per second(Mbps)
In case k divide by 1000 for MByte/s(MB/s)
In case k divide by 100 for megabit per second(Mbps)

schedule download speed task:

create owner executable file with following contents:

cd /volume1/homes/user/
curl -O
rm /volume1/homes/admin/1gb.bin

Control panel, Task Scheduler, create task, run command

/volume1/homes/user/<name file>.sh

Synology DSM 6 (terminal) service control

Webuserinterface, Synology recommended:

Control Panel, Task Scheduler, Create Scheduled Task, Stop/Start Service 

Terminal command:

ssh admin@server

sudo -i

synoservicecfg --list

synoservicecfg --hard-stop <service>

synoservicecfg -stop <service>

synoservicecfg --hard-start <service>

synoservicecfg -start <service>

synoservice –status

synoservice –restart <service>

synoservicectl –restart <service>

Apache webserver:

stop pkg-apache22

start pkg-apache22

reload pkg-apache22

restart DSM Webapplication:

restart synoscgi


htop and top to see your running processes.