Synology SSD Cache Setup and Testing

Enabling Synology SSD Cache

Due to budget constraints my Synology DS1815+ is only populated with 6 WD Red drives, and the last two bays have been sitting empty for a while now. After a recent unrelated upgrade I found myself in possession of two Samsung SSD 830 Series 256GB drives. I’m not really in need of any additional storage drives in the DS1815+, so I decided to try out the SSD drives configured as Synology SSD Cache.

Video Walk-Through

If you prefer video format over written documentation I cover how to configure and test the Synology SSD cache in the following Techthoughts video:

Setting up Synology SSD Cache

Before configuring SSD Cache on your Synology you should first familiarize yourself with the Synology SSD Technology Whitepaper.

Setup is relatively simple:

  1. Backup your Synology critical data (always a good idea before you make any major change)
  2. Backup your Synology configuration (Control Panel – Update & Restore – Configuration Backup)
  3. Power down your Synology unit
  4. Install SSDs (two required for both read and write cache | one required for just read cache)
  5. Power on Synology unit
  6. Verify SSDs are showing as healthy and available:
    1. Synology Storage Manager HDD/SSD
  7. Create SSD cache
    1. Create Synology SSD Cache
  8. Choose Synology SSD cache mode
    1. Synology SSD Cache - Read-write or Read-only mode
  9. Associate SSD cache with desired volume
    1. Synology SSD Cache Mount Selection
  10. Select drives that will become members of the cache
    1. Synology SSD Cache disk selection
  11. Choose SSD cache RAID type
    1. Synology SSD Cache RAID Selection
  12. Finalize SSD Cache Configuration
    1. Synology SSD Cache Configuration Settings
  13. Confirm Synology SSD cache creation
    1.  Synology SSD Cache configuration confirmation
  14. Allow SSD cache to finish mounting
    1. Synology SSD Cache Mounting Status
  15. Synology SSD Cache configuration complete
    1. Synology SSD Cache Normal Status

Synology SSD Cache Test Results

Testing Setup

  • DS1815+
    • DSM 6.1.4-15217 Update 1
    • WD Rest 2.7TB (6x) – RAID 6 – Brtfs
    • Samsung 830 256GB (2x) – RAID 1 – SSD Cache
  • IOMeter Settings:
    • The number of outstanding I/Os: 32
    • per target Worker: 1 (per share)
    • Running time: 3 minutes
    • Ramp up time: 30 seconds
    • Data size: 20GB
    • SSD cache size: 238.47GB
    • Workload: Random 4KB IOPS

IOMeter settings are essentially the same used in the Synology whitepaper testing for SSD caching.  The SSD cache was setup against a normal RAID 6 Brtfs volume containing several shared folders.

Testing results

Initial No Cache results were not surprising with the DS1815+ only putting up around 100 IOPS of random 4KB access on all three tests.

What was really surprising was the dip in performance after I enabled the cache.  The same test results with SSD cache enabled dropped down to around 70 IOPS – a 30% decrease in performance.

Once I allowed the IOMeter test file to become fully cached though, performance became nothing short of amazing.

Synology DS1815+ IOMeter Test Results Graph

What’s really concerning though is that 30% initial drop.  It took four test runs of IOMeter before the test file became fully cached.

You can see the results in the graph below:

Synology DS1815+ Multiple IOMeter Test Results Graph

This behavior makes a lot of sense to me, with performance dramatically increasing as more data is cached.

What bothers me is that initial dip.  Based on these results it would appear that enabling the cache against a normal Brtfs volume actual incurs a penalty for the majority of the data on the volume. Sure, once data is cached it really starts to sing, but is a 30% drop in performance for the non-cached data worth it?

I was able to replicate this effect several times by removing and re-adding the SSD cache on the DS1815+.  In each testing cycle, IOPS testing suffers after the SSD cache is added.


Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should. -Ian, Jurassic Park

Having a few SSDs laying around, and a few spare bays in your Synology NAS doesn’t mean your going to suddenly get an amazing increase in performance.

In fact, these testing results indicate that if you’re engaging a normal volume share, you may actually suffer a decrease!

You really need to understand your workloads, and what you hope to accomplish with the NAS.

A larger SSD cache, for example (1TB+) mounted to an iSCSI volume could really make some for some great VM performance on the DS1815+.

For now, despite the results, I’m going to leave the SSD cache in place and continue to report back on this article as I engage the device day-to-day.

If you’ve experienced different results, or have some recommendations on these findings, feel free to comment below.

7 Responses

  1. I know this site gives quality dependent articlles or reviews and other stuff,
    is there any other website which gives these kinds of data in quality?

  2. boaz kallenberg says:

    All an all a nice piece but i do have one problem with it.

    How did you decide that all uncached data access would get that kind of performance penalty?
    Maybe the penalty was because of the initial cache building process?
    You need to rethink your testing and observation technics to be more “scientific” in the logical way.

    • Jake says:

      boaz, thanks for the comment, but I’m not sure how to be more black and white about it. Random read/writes without cache across all data on the device are in the low 100’s. Turn caching on, and anything not in the cache drops 30%. I’ve replicated this over and over. The testing is using the same white-paper testing that Synology uses. I’ve had others confirm the same. Turn caching on, and things that get cached will perform very well. Everything not in the cache takes a hit.

      • Gertude Cantagowitz says:

        Testing method make sense to me. Great article, but what about write performance? Surely the SSD should help here?

  3. Sam says:

    What happen if both SSD cache life span is reached 100%? Will the Synology Volume or LUN will crashed?

  4. Got iometer working
    Have not installed my SSD cache
    How do you connect to the Synology unit from iometer?


  5. Dennis says:

    The last 2 bays on the DS1815+ appearently have a known issue with SSDs and its recommended to use the first 2 bays for SSD cache.

Leave a Reply

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