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.

Slow SMB Performance Unraid 7

Featured Replies

HI,

 

i use 5x ST4000LM024-2AN17V_WFG0NV2C (sde) and 1x WDC_WD40EFRX-68N32N0_WD-WCC7K0KJXL2P (sdd) as Parity HDD.

My Array is a normal XFS Array with one Share on it. I also use 2x WD_BLACK_SN850X_1000GB_24129G4A1J04 (nvme1n1) as Cache with btrfs.

 

My CPU is an Intel i5 1235U and i use 40GB RAM the other Nvme´s are not important.

 

If i copy files internal or from cache i can copy wit up to 140MB/s (think max my HDDs can reach)

But if i copy over SMB i only get 40 max 50MB/s 

 

Any ideas why this happens?

 

Thank you for helping me

 

Tirti

  • Author

I already set configuration to "Turbo Mode" the speed is the same.

If. only copy files from one drive the transfer speed slow down to stable 40MB/s.

 

From Nvme Cache its possible to copy with 112MB/s near the maximum of my 1Gbit Network

  • Community Expert

Post new diags saved during a large file transfer to the array.

 

 

 

  • Community Expert

There's nothing being written to the array when the diags were saved, only reads from disk1.

  • Author

that I mean. The read Speed to the Client is pretty poor. Will try to Write some files to Array but my Main Problem is the read Speed from smb 

 

UPDATE: Writeing on SMB is the same, seems maxed by 40mb/s

Edited by Tirti

  • Community Expert

I though write speed was the problem, run a single stream iperf test in both directions and post the results.

  • Author
3 hours ago, JorgeB said:

I though write speed was the problem, run a single stream iperf test in both directions and post the results.

My first thoughts with plugins seems wrong. i am not sure why my transfer speed is so slow

Networks seems good

Bildschirmfoto 2025-01-19 um 14.44.30.png

Bildschirmfoto 2025-01-19 um 14.42.45.png

 

 

After i done those test i copy files from unraid to this client 20GB with 30mb/s 😞

 

Edited by Tirti

  • Community Expert

Doesn't look like a network problem, though sometimes it can still be despite good iperf results, try this test by opening a terminal window in Unraid, then type:

 

pv /path/to/large/file > /dev/nul

 

and post the results.

  • Author
52 minutes ago, JorgeB said:

Doesn't look like a network problem, though sometimes it can still be despite good iperf results, try this test by opening a terminal window in Unraid, then type:

 

pv /path/to/large/file > /dev/nul

 

and post the results.

 

Bildschirmfoto 2025-01-19 um 16.29.51.png

  • Community Expert

Thats not super fast, but it can be normal for the inner tracks of a slower disk, try a different file on a different disk.

  • Author
59 minutes ago, JorgeB said:

Thats not super fast, but it can be normal for the inner tracks of a slower disk, try a different file on a different disk.

Alle the drives has the near Same Performance somewhere between 81-97mbs. Anyway on smb read I Never reach more than the half

  • Community Expert

That still looks slower than normal, but since SMB is even slower, not the main issue, it can still be network related, or even a client problem, you can try testing with NFS, or SFTP, for example, to see if it's the same.

Hi, I have the same problem as indicated in my post here:

 

 

I transfer both internally and between servers at 10 Gbit and SMB is stuck at 150 MB/s, jDownloader's docker is even worse, if I download I go to 5MB/s, if I install speedtest inside docker the tests do 10 Gbit.

I write on NVME disks, I think there is some problem with some process that manages the writing of the disks. I can't explain anything else. With DD the disks fly...

  • 2 weeks later...
  • Author

I switched the HDDs to 2x ST4000VN006 so everyting should be fine in basics.

Fresh and unused Hdds with good Performace and its still the same. 

For me it looks like there must be a Software problem, or the SATA Ports of my Ugreen DXP6800 Pro

are on an other Controller then my Nvme´s because if i do exactly the same thing from my cache (WD_BLACK_SN850X_1000GB) it runs like hell.

 

Any Hints or things i can try? Dont have any other ideas 😞

  • Community Expert

Did the local performance improve or is it still also limited?

  • Author
On 1/31/2025 at 9:02 AM, JorgeB said:

Did the local performance improve or is it still also limited?

Internal / Local Performance growes up to 140-147 mb/s but SMB Performance is still the same

After several tests I came to the conclusion that UNRAID 7 has some bug that limits the speed of writing and reading the disks. Not because of FUSE because I tried to bypass it but without improvements. I am working on nvme disks not on arrays.
When I use commands like DD the disks go at high speeds even using real files. When I use the unraid file manager I go at least half the speed if not less.

When I transfer via SMB on a 10 Gbit network after a thousand tweaks I managed to transfer at 500/600 MB/s. The strange thing is that if I change the MTU of UNRAID and the windows client to 9000 for a few hours I transfer at 1.2 GB/s and then align again at 500/600 MB/s.

Something inside unraid caps the speeds.

  • Community Expert

dd is not a good test, there are plenty of things that can influence SMB transfer speeds, but there's no hard limit in Unraid, this is one of my servers transferring large files to and from Unraid with 25GbE:

 

Screenshot 2024-01-27 14.11.38.pngScreenshot 2024-01-27 14.12.06.png

 

 

 

 

Something must be different in unraid 7 compared with unraid 6...

I did a test with a 83GB file and its always the same.

When copied from Windows 11 to unraid, it always starts with ~150-200MB/sek

After a longer periode it went up to 1100MB/sek.

On some smaller files, it never reaches more then ~450MB/sek.

On the old v6 it started immediately with the full speed.

The other direction (from unraid to windows) is almost like normal...

On unraid v6 i had ~1000MB/sek and on v7 its slightly under 1000MB/Sek.

 

File Transfer.jpg

Edited by Zonediver

8 hours ago, Zonediver said:

Something must be different in unraid 7 compared with unraid 6...

I did a test with a 83GB file and its always the same.

When copied from Windows 11 to unraid, it always starts with ~150-200MB/sek

After a longer periode it went up to 1100MB/sek.

On some smaller files, it never reaches more then ~450MB/sek.

On the old v6 it started immediately with the full speed.

The other direction (from unraid to windows) is almost like normal...

On unraid v6 i had ~1000MB/sek and on v7 its slightly under 1000MB/Sek.

 

File Transfer.jpg

I have the same problem, what I noticed is that by setting MTU to 9000 for a while everything seems to work as it should but after a few hours the performance collapses.

At this point looking at the speeds of @JorgeB  it could be a problem with the network card drivers (maybe just some) that negatively affects.

In another post I asked for help for a problem with the jDownloader docker that was running at 10 MB/s. I discovered that it was a problem with the MTU of the docker that had taken the same MTU as the network card (9000 at that time). Forcing it to 1500 or full bandwidth download. It is not normal however that there is ALL this difference. Something in the network cards is not working properly...

  • 2 weeks later...
  • Author

On my side nothing changed. Still the same slow SMB speed.

 

  • 3 months later...

My server also very slow speed by samba.

When copy file Unraid to my PC, average max speed 70MB/s.

This means is not average that speed, sometimes the speed down to 10MB/s.

Past when I used native Ubuntu, average max speed 100MB/s.

I cannot still figureout this problem.

If the reason of speed slow is spec about Unraid, I should be re-think change my server os.

Please advise to me.

Edited by hilee

  • Community Expert

Start by running a single stream iperf test in both directions and post the results.

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.