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.

Weird fluctuating writes speeds to Unraid cache / best practices and help troubleshooting needed.

Featured Replies

I'm getting weird fluctuating transfer speeds when copying from a workstation to Unraid cache drive (screenshot attached).

 

Source where I'm copying from is capable of sustaining speeds about 900MB/s, Copying from the same source to another disk attached to the workstation it will average out (~4tb folder) to about 750-900MB/s with file system overheads. I'd really like to achieve at least the same speeds when copying to unraid. 

 

The share is set up to use cache as a primary storage, and array as secondary. Cache drive itself is a btrfs raid0 with 1 nvme pcie drive and 2 sata ssd's. I'm using raid0 since I need the cache to be at least 3TB. IF this is definitely the issue I could just buy a bigger nvme drive and use it as a single drive.

 

Here are some average hdparm read test results of the individual disks, that are part of cache raid0. I haven't done any write tests yet. Is it safe to write straigth to the device when its part of raid0 with dd?

/dev/nvme0n1:
 Timing cached reads:   34890 MB in  1.98 seconds = 17630.33 MB/sec
 Timing buffered disk reads: 4242 MB in  3.00 seconds = 1413.82 MB/sec
/dev/sdc:
 Timing cached reads:   35154 MB in  1.98 seconds = 17751.61 MB/sec
 Timing buffered disk reads: 1010 MB in  3.00 seconds = 336.35 MB/sec
/dev/sdb:
 Timing cached reads:   36866 MB in  1.98 seconds = 18629.65 MB/sec
 Timing buffered disk reads: 1002 MB in  3.00 seconds = 333.70 MB/sec

 

 

Any pointers and best practices would be really appreciated what to check next and how to troubleshoot this.

 

Also if this has any significance, this is a file server / project archive for my company, not a media server. 

 

 

 

Screenshot 2024-05-24 at 13.18.33.png

postraid-diagnostics-20240524-1321.zip

Solved by JorgeB

  • Author

Forgot to mention that copying over SMB and from MacOS 12.7.1

  • Community Expert
  • Solution

Kingston SA400 have a very low sustained write performance, recommend retrying with just the NVMe device for testing, though using a Mac can also bring other issues, see here for some recommendations:

https://forums.unraid.net/topic/146818-optimal-samba-settings-to-get-better-macos-to-unraid-performance/?do=getNewComment

 

Also recommend that you make the pool an exclusive share, or use the disk share to test.

  • Author

Thanks for the reply JorgeB

 

I swapped the cache raid0 to a single nvme and the issue is gone. Even without exclusive share the performance is now OK for what I need. The peaks may be a tiny bit lower but overall speed is much better, no fluctuations any more.

 

Time to get a larger nvme drive. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.