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.

samba share is very slow on nvme cache pool

Featured Replies

With unraid smb all default settings:

sftp is 7.9x faster than smb

sftp also get lower cpu usage

 

nvme-cow:
TotalRead  = 62 MiB
TotalWrite = 62 MiB
TotalFiles = 2,926 (335)
TotalTime  = 01:19
TransRate  = 0.81 MB/s
FileRate   = 36.6 files/s

nvme-nocow:
TotalRead  = 62 MiB
TotalWrite = 62 MiB
TotalFiles = 2,926 (335)
TotalTime  = 01:37
TransRate  = 0.67 MB/s
FileRate   = 30.1 files/s
hdd*1(xfs)
TotalRead  = 62 MiB
TotalWrite = 62 MiB
TotalFiles = 2,926 (335)
TotalTime  = 01:34
TransRate  = 0.69 MB/s
FileRate   = 30.9 files/s

 

smb
win11->unraid(nvme raid1 cache pool)
nvme-cow: 01:19
nvme-nocow: 01:37
hdd*1(xfs): 01:34

win11(pc)->win10(pc-vm): 39s
sftp
win11->unraid(nvme raid1 cache pool)
cow=nocow=hdd*1(xfs)=10s

sftp.png

smb.png

Solved by JorgeB

  • Author

via docker:

drakkan/sftpgo:

ftp  64s
sftp 50s

 

crazymax/pure-ftpd:

14s

Edited by akami

  • Community Expert
  • Solution

Try using the disk path/share, user share always add some overhead.

  • Author
On 2/28/2023 at 4:43 PM, JorgeB said:

Try using the disk path/share, user share always add some overhead.

When Docker mounts a path to /mnt/cache/xxx, there is no shfs process usage.

New folder with 70k files

via docker

sftpgo-ftp rclone--transfers=16 11m14.9s
sftpgo-sftp rclone--transfers=16 11m7.4s
syncthing 10m52s

 

via unraid build-in sftp
host-sftp 2m6s

 

Transferring many files via docker is still slow, docker's wirte operation is direct to disk. However, via native sftp, data is cached in ram and written to disk.

Edited by akami
correct data

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.