Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Very slow writes to cache pool

Featured Replies

Hello. Hoping someone can offer some help. I'm seeing extremely slow writes to the cache of my new unraid server. I'll  try to set out what I've been doing below, along with things I've tried. I'll gladly provide any more info if you need it. I've attached my diagnostics as seems to be the norm, and also a screengrab of a large transfer (c. 80GB) to show the issue. I took the diagnostics during the transfer in the screenshot.

 

I also noticed that the CPU is pretty much pinned while the transfer is going on (screenshot also attached), but when I looked in the processes tool, I couldn't see anything with high usage. Is this normal? CPU is an i5-4590.

 

My setup is: 

 

2x 240GB SATA SSDs for cache. These are set to the typical Raid 1. 

I have the trim plugin installed and set to daily. I also ran it from the terminal. 

I have the cache pool set to maintain 20GB of free space, and there is plenty left on the SSDs. 

Cache is set to "Yes" in the share I'm writing to. I've also confirmed it is indeed being written to the cache pool. 

Speeds were ok for the first couple of transfers I made, about 85MB/s, then suddenly dropped mid transfer to 20MB/s and have pretty much stayed there since. 

 

Many thanks for any help you can offer!

 

 

Capture.PNG

Capture 1.PNG

old-hen-diagnostics-20201218-1602.zip

Edited by toptable

Just now, toptable said:

2x 240GB SATA SSDs for cache. These are set to the typical Raid 0. 

Stock is RAID1. You manually rebalanced?

  • Author
Just now, jonathanm said:

Stock is RAID1. You manually rebalanced?

Sorry, RAID1 is what it is! Will edit...

  • Community Expert

This look like a device problem, is it faster if you transfer directly to the array with turbo write enable?

  • Author
9 minutes ago, JorgeB said:

This look like a device problem, is it faster if you transfer directly to the array with turbo write enable?

I turned on reconstruct write and copied a 13GB file to a share with cache set to "no" to test this. The copy averaged about 95MB/s. Stable speeds throughout. 

 

I've also attached a screengrab of me running trim 3 times in a row on the SSDs. The results are always the same. Is this right? 

Trim.PNG

  • Community Expert

Not all SSDs can sustain fast writes, especially QLC based SSDs like the ones you're using, recommend using a 3D TLC model, like the 860 EVO, Crucial MX500, WD Red/Blue, etc.

  • Author

Fair enough, they are economical SSDs, however I'd expect them to manage more than 20MB/s. I'd also expect them not to drop to 350KB/s pretty much ever!  Wouldn't you?

 

I've used my fair share of cheap SSDs in my time and never seen performance like that! 

 

Thanks for taking the time to help me! 

  • Community Expert

I've had all sorts of performance trouble with cheap SSDs, including similar ADATA models.

  • Community Expert

And for reference here are my own tests with the models I mentioned, I had them installed as a small array, so no trim, transfer size was around 26GB in large files:

 

imagem.thumb.png.ac01fee9d86020aeaac35dbf82c0f816.png

 

 

  • Author

Well I can certainly return them. It's not too much more to get some WD blues as you mentioned. 

 

So everything else with my config looks fine then? How about that trim thing, is that normal? 

 

Thanks again for all the help man :)

  • Community Expert
2 minutes ago, toptable said:

How about that trim thing, is that normal? 

Yep.

  • Community Expert

Note that I can say for sure the SSDs are the problem, but since a transfer to the array is fine, it's the most likely problem.

  • Author

Righto, advice taken. A set of Crucial MX500s are on their way and the ADATAs are going back.  

 

I'll let you know how I get on when I receive  and install them. Many thanks to you! 

  • Author

Hello! I'm checking back in for completeness. Hopefully this will help someone with the same issue in the future. The advice I was given was bang on. My crappy ADATA SSDs were to blame. Use decent SSD drives with 3D TLC NAND. I'm using WD Blues. 

 

My cache drives are now running at line speed, all the time. See attached screengrab for the results. 

 

Thanks so much for the help. 

upgrade.PNG

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.