How many virtual machines can I run on my Synology NAS?

How many virtual machines can I run on my Synology NAS?

Details

With Virtual Machine Manager, you can run virtual machines on selected models of Synology NAS. This FAQ will guide you on how to calculate the number of virtual machines that you can run on your Synology NAS, with recommended numbers at the end of the article.

Understanding Memory Requirements

The number of virtual machines that you can run on your Synology NAS is determined by the following:

  • Memory available for all virtual machines: This can be calculated after you know the system reserved memory.
  • Memory required by each virtual machine: This is determined by the specifications of virtual machines.
  • System reserved memory
    • After you know the size of system reserved memory, you can calculate how much memory will be available for VMs.
    • If your Synology NAS has 8 GB memory, DSM will reserve 1.5 GB for system use and provide 6.5 GB for VMs. If your Synology NAS has 16 GB memory or above, DSM will reserve 10% of the total memory for system use and provide the rest of the memory for VMs.
  • Specifications of virtual machines
    • Each physical CPU thread can offer 2 vCPUs. You can refer to this article to know how many CPU threads are supported by your Synology NAS.
    • Resources for the hypervisor: Each VM requires 128 MB; each vCPU requires 80 MB; each vDisk requires 32 MB.

Examples

This section takes DS1517+ (8 GB) as an illustrative example when running virtual machines with different specifications.

  • DS1517+
    • Total memory: 8 GB
    • System reserved memory: 1.5 GB
    • Memory available for VMs: 6.5 GB (6656 MB)
    • Number of physical CPU threads: 4
    • Maximum number of vCPUs: 8 (4 x 2)
  • Virtual Machine A

    2 vCPUs + 2 GB memory + 2 vDISKs
    This VM's memory consumption will be: 128 MB + 80 MB x 2 + 2 GB + 32 MB x 2 = 2400 MB
    DS1517+ (8 GB) can run 2 virtual machines with the same specifications as Virtual Machine A. For the third one, the NAS is short of 544 MB (6656 MB - 2400 MB x 3 = -544 MB).

  • Virtual Machine B

    1 vCPU + 1 GB memory + 4 vDISKs
    This VM's memory consumption will be: 128 MB + 80 MB + 1 GB + 32 MB x 4 = 1360 MB
    DS1517+ (8 GB) can run 4 virtual machines with the same specifications as Virtual Machine B. For the fifth one, the NAS is short of 144 MB (6656 MB - 1360 MB x 5 = -144 MB).

  • Virtual Machine C

    4 vCPUs + 4 GB memory + 8 vDISKs
    This VM's memory consumption will be: 128 MB + 80 MB x 4 + 4 GB + 32 MB x 8 = 4800 MB
    DS1517+ (8GB) can run 1 virtual machine with the same specifications as Virtual Machine C. For the second one, the NAS is short of 2944 MB (6656 MB - 4800 MB x 2 = - 2944 MB).
    However, this NAS still has 1856 MB (6656 MB - 4800 MB) left to run 1 Virtual Machine B when 1 Virtual Machine C is already running.

Recommended Number of Virtual Machines

The table below shows the recommended number of virtual machine instances to run on supported Synology NAS models:

Model Max System Memory Installed Recommended Virtual Machine Instances
(with 1 vCPU and 1 GB RAM)
FS6400 512 GB (32 GB x 16) 32
FS3600 128 GB (32 GB x 4) 24
FS3410 128 GB (32 GB x 4) 16
FS3400 128 GB (32 GB x 4) 16
FS3017 512 GB (32 GB x 16) 24
FS2500 32 GB (16 GB x 2) 8
FS2017 128 GB (32 GB x 4) 16
FS1018 32 GB (16 GB x 2) 4
HD6500 512 GB (32 GB x 16) 40
SA6400 1024 GB (64 GB x 16) 24
SA3610 128 GB (32 GB x 4) 24
SA3600 128 GB (32 GB x 4) 24
SA3410 128 GB (32 GB x 4) 16
SA3400 128 GB (32 GB x 4) 16
SA3400D 64 GB (16 GB x 4 per controller) 16
SA3200D 64 GB (16 GB x 4 per controller) 8
RS18017xs+ 128 GB (32 GB x 4) 12
RS4021xs+ 64 GB (16 GB x 4) 16
RS4017xs+ 64 GB (16 GB x 4) 16
RS3621xs+ 64 GB (16 GB x 4) 16
RS3621RPxs 64 GB (16 GB x 4) 12
RS3617xs+ 64 GB (16 GB x 4) 12
RS3618xs 64 GB (16 GB x 4) 8
RS3617xs 32 GB (8 GB x 4) 8
RS3617RPxs 64 GB (16 GB x 4) 8
RS2821RP+ 32 GB (16 GB x 2) 8
RS2818RP+ 64 GB (16 GB x 4) 4
RS2423+/RS2423RP+ 32 GB (16 GB x 2) 8
RS2421+/RS2421RP+ 32 GB (16 GB x 2) 8
RS2418+/RS2418RP+ 64 GB (16 GB x 4) 4
RS2416+/RS2416RP+ 6 GB (2 GB + 4 GB) 2
RS1619xs+ 64 GB (16 GB x 4) 8
RS1221+/RS1221RP+ 32 GB (16 GB x 2) 8
RS1219+ 16 GB (8 GB x 2) 4
RS822+/RS822RP+ 32 GB (16 GB x 2) 8
RS820+/RS820RP+ 18 GB (2 GB + 16 GB) 4
RS818+/RS818RP+ 16 GB (8 GB x 2) 4
RS815+/RS815RP+ 6 GB (2 GB + 4 GB) 2
RC18015xs+ 32 GB (8 GB x 4) 8
DS3622xs+ 48 GB (8 GB x 2 + 16 GB x 2) 12
DS3617xsII/DS3617xs 48 GB (16 GB + 16 GB x 2) 8
DS3018xs 32 GB (16 GB x 2) 4
DS2422+ 32 GB (16 GB x 2) 8
DS2419+II/DS2419+ 32 GB (16 GB x 2) 4
DS2415+ 6 GB (2 GB + 4 GB) 2
DS1825+ 32 GB (16 GB x 2) 8
DS1823xs+ 32 GB (16 GB x 2) 8
DS1821+ 32 GB (16 GB x 2) 8
DS1819+ 32 GB (16 GB x 2) 4
DS1817+ 16 GB (8 GB x 2) 4
DS1621xs+ 32 GB (16 GB x 2) 8
DS1621+ 32 GB (16 GB x 2) 8
DS1618+ 32 GB (16 GB x 2) 4
DS1525+ 32 GB (16 GB x 2) 8
DS1522+ 32 GB (16 GB x 2) 4
DS1520+ 8 GB (4 GB x 2) 4
DS1517+ 16 GB (8 GB x 2) 4
DS1019+ 8 GB (4 GB x 2) 4
DS925+ 32 GB (16 GB x 2) 8
DS923+ 32 GB (16 GB x 2) 4
DS920+ 8 GB (4 GB x 2) 4
DS918+ 8 GB (4 GB x 2) 4
DS723+ 32 GB (16 GB x 2) 4
DS720+ 6 GB (2 GB + 4 GB) 2
DS718+ 6 GB (2 GB + 4 GB) 2
DS620slim 6 GB (2 GB + 4 GB) 2
DS423+ 6 GB (2 GB + 4 GB) 2
DS420+ 6 GB (2 GB + 4 GB) 2
DS224+ 6 GB (2 GB + 4 GB) 2
DS220+ 6 GB (2 GB + 4 GB) 2
DS218+ 6 GB (2 GB + 4 GB) 2
DVA3221 32 GB (16 GB x 2) 4
DVA3219 32 GB (16 GB x 2) 4
DVA1622 6 GB (2 GB + 4 GB) 2

Notes:

  • Certain models may not be available in your location. Please contact your local distributors for more information.
  • The specifications vary depending on system configuration and memory size and are for reference only. Learn more about applied models
Understanding Memory Requirements
Examples
Recommended Number of Virtual Machines