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.

Periodic dips to 0bps writing large files

Featured Replies

I've recently set up an Unraid server and transfers dip down to 0bps every few seconds:

image.thumb.png.ac7fe14a2dedc05eb4241aa1f55dbec2.png

image.thumb.png.639d75462c0fbcf61467835d43267b5d.png

As this rig is built to try out Unraid, I'm using a spare Samsung 840 PRO as Cache, with shucked WD HDDs for parity and data. Based on other posts, I expected speeds to be slow (given this hardware configuration), but at least consistent during file transfers.

 

I'm transferring around 500 files via SMB, each >1GB (some up to >5GB), to a share with mover actions set to Cache->Array, so these dips occur during single file transfers, not between files on the Cache drive.

I'm using an M1 Mac, directly wired to the same router (a FRITZ!Box 6591) as the Unraid server, both using CAT 6 Gigabit.

 

Router usage stats:

image.thumb.png.340ac2a44e1614137b4d7b985e43dd6f.png

A quick speed test (ran via the web terminal) on the Cache drive:

for ((i=0;i<3;i++)) do hdparm -tT /dev/sdd; done

/dev/sdd:
 Timing cached reads:   22248 MB in  1.99 seconds = 11180.42 MB/sec
 Timing buffered disk reads: 650 MB in  3.01 seconds = 216.15 MB/sec

/dev/sdd:
 Timing cached reads:   23606 MB in  1.99 seconds = 11867.49 MB/sec
 Timing buffered disk reads: 654 MB in  3.00 seconds = 217.88 MB/sec

/dev/sdd:
 Timing cached reads:   23660 MB in  1.99 seconds = 11893.81 MB/sec
 Timing buffered disk reads: 608 MB in  3.01 seconds = 202.24 MB/sec

 

I've attached diagnostics, created, while transfers were running for around 15 minutes.

 

Is there any way to increase the consistency of the throughput without upgrading hardware? And are these speeds within expected limits?

unraid-diagnostics-20250111-0350.zip

Solved by trurl

  • Community Expert

With turbo write enabled, the array should be able to sustain 100MB/s+, do you have a different client you could test with? Ideally, Windows to see if it's any different.

  • Author

Good idea. Anything around 100MB/s would be my goal, as I'm limited to Gigabit Eithernet anyway. Wired up my Windows machine directly to the server (skipping my router, using a static IP) and speed was consistent in a perfectly acceptable range:

image.thumb.png.684d57cc6cd9b6ebf89d78cbedc796fd.png

 

I've tried the same thing using my Mac using the NIC built into my Belkin F4UO95 docking station and the Pluggable USBC-E2500 I used in my original post using the same cable. Still ran into the same (if not worse) issues using a direct connection:

 

Trying to copy 618 files (around 1GB each), results in over 10 minutes of "Preparing to copy", while Unraid and the Mac Activity Monitor report periodic 1 Mbps spikes. Disc activity of the server is at 0 the whole time, so nothing persisted during that process. I've stopped the copy operation after around 15 minutes.

image.thumb.png.5e78cbede25f63d25b4426f76463810b.png

Attached a set of diagnostics 2 minutes into the copy operation, `unraid-diagnostics-600filetransfer-20250111-1527.zip`.

 

Trying to copy just 2 files (also around 1GB each) from that 618 file batch, the transfer does start after around 3 minutes of waiting for the "Preparing to copy" step to complete, but I never get more than 4-5 spikes of full Gigabit for 1-2 seconds per minute:

image.png.cea62787081a9a050c7cbf7da75e39de.png

After around 5 minutes the 2GB transfer is complete. I've attached another set of diagnostics 2 minutes into that copy operation as well, `unraid-diagnostics-2filetransfer-20250111-1532.zip`.

 

I'm mostly dealing with video footage on storage devices formatted to HFS+, so while using Windows to troubleshoot was a great suggestion, I can't fully shift to Windows as none of the storage devices I'm importing data from would be compatible.

To be clear: All the tests above have been done directly from my M1 Mac's SSD running APFS; I'm not attempting to copy directly from an external storage device to the server just yet. Only mentioning this, to make clear that squeezing as much speed as possible out of the Gigabit connection from my Mac is my main priority.

unraid-diagnostics-600filetransfer-20250111-1527.zip unraid-diagnostics-2filetransfer-20250111-1532.zip

Edited by Cynamiter

  • Community Expert

Can't really help with Mac related issues, but see if this helps:

 

  • Author

Performance is definitely improved, but still slow compared to Windows.

image.png.00b50903ec18484e577a870935c96c45.png

 

Copying a large amount of files (around 1TB) still takes 10 minutes to start:

image.thumb.png.63ebaf38f46f6b36934febe4d1d68d9e.png

There also appears to be a big delay between files, around 30 seconds:

image.png.bc284198740697b91f91d9ec6636bc5b.png

image.png.f312dc913efda551e3af046e480adc64.png

 

Is this to be expected without using exclusive access or directly mounting a drive?

Edited by Cynamiter

Currently evaluating Unraid too (v7.0.0), with a Mac client (macOS 15.2 Sequoia). I see the same problem of write bursts with pauses in-between when writing large files (300MB) using SMB, pause seem to occur between files (halving the normal bandwidth). I switched to NFS, and speed is network max. I tried a Linux client with SMB, speed is max too. So isolated it to the Mac. Then found all kinds of server-side and client-side configuration changes for SMB on Mac, none would fix the issue.

 

SMB appears to be particularly bad on Mac. FTP is not secure. NFS isn't great either (no user account). That'd be great to have some options that works well with Macs (AFP, SFTP, whatever).

Screenshot 2025-01-11 at 16.20.13.png

  • Community Expert
  • Solution
17 minutes ago, rse said:

SFTP

Several of these and similar dockers in Apps

  • Author
17 minutes ago, trurl said:

SFTP

This seems to be the key: Since my server and Mac are air gapped right now anyway, I just enabled the integrated FTP server and used FileZilla to connect:

image.thumb.png.1059df341a58f7c55932044e8bb19f3f.png

Is there any downside to using this aside from the reduced security for things like parity and integrity? If not this would resolve my issue and this thread would be safe to close.

  • Community Expert
3 hours ago, Cynamiter said:

reduced security for things like parity and integrity

Neither of those should be affected. Built-in FTP server not recommended though. Certainly don't expose it to the internet.

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.