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 transfer on fiber

Featured Replies

Hi 

 

my server hans 4 x 4tb disk and a 128gb SSD for cache, and it keep slowing

down to 39mb/s after a short while,

 

what i did current

 

smb : 

max protocol = SMB2_02
1-Change NIC mtu do 9000 (unRAID server and any other computer with a 10GbE NIC)
2-Go to Settings -> Global Share Settings -> Tunable (enable direct IO): set to Yes

and i transfer from a 256gb SSD windows 10

 

is there anything ells i need to set ? 

littlebett-diagnostics-20170421-1427.zip

You have an unusually large number of user shares, and most are set to not use cache, so my guess is you are writing directly to the array, and your speed is typical for parity writes.

 

Are you sure you don't have some apps misconfigured that has created so many user shares?

Are you trimming your SSD? There's no scheduled trims in the log.

  • Author

mmm ssd trim? guess i have to look at that

  • Author

just installed ssd trim and ran "fstrim -v /mnt/cache"

/mnt/cache: 52.6 GiB (56447995904 bytes) trimmed

 

but still the same

What user share are you writing to? Is it set to use cache?

  • Author

Eds_D_Drive

 

and cache is set to : yes

5 minutes ago, darkgeej said:

Eds_D_Drive

 

and cache is set to : yes

Not according to your diagnostics.

 

E---------e.cfg

# Generated settings:
shareComment=""
shareInclude=""
shareExclude=""
shareUseCache="no"
shareCOW="auto"
shareAllocator="highwater"
shareSplitLevel=""
shareFloor="0"
shareExport="e"
shareSecurity="public"
shareReadList=""
shareWriteList=""
shareExportNFS="-"
shareExportNFSFsid="0"
shareSecurityNFS="public"
shareHostListNFS=""
shareExportAFP="-"
shareSecurityAFP="public"
shareReadListAFP=""
shareWriteListAFP=""
shareVolsizelimitAFP=""
shareVoldbpathAFP=""
 

  • Author

I've just turn it on after i posted the diag

  • Author

testet the speed between my ssd and my little raid system on same pc, and its about 350mb/s there

25 minutes ago, darkgeej said:

testet the speed between my ssd and my little raid system on same pc, and its about 350mb/s there

 

So it's slow copying from where?

  • Author

from windows to my unraid server

Test with this script to rule out any network issue, copy script to flash drive root, then on the console type:

 

/boot/write_speed_test.sh /mnt/cache/test.dat

 

 

write_speed_test.sh

  • Author

2217725952 bytes (2.2 GB, 2.1 GiB) copied, 5.00134 s, 443 MB/s

4116924+0 records in

4116924+0 records out

4215730176 bytes (4.2 GB, 3.9 GiB) copied, 10.006 s, 421 MB/s

4684320+0 records in

4684320+0 records out

4796743680 bytes (4.8 GB, 4.5 GiB) copied, 15.0118 s, 320 MB/s

5292437+0 records in

5292437+0 records out

5419455488 bytes (5.4 GB, 5.0 GiB) copied, 20.017 s, 271 MB/s

5691889+0 records in

5691889+0 records out

5828494336 bytes (5.8 GB, 5.4 GiB) copied, 25.0254 s, 233 MB/s

5934741+0 records in

5934741+0 records out

6077174784 bytes (6.1 GB, 5.7 GiB) copied, 30.0334 s, 202 MB/s

6122769+0 records in

6122769+0 records out

6269715456 bytes (6.3 GB, 5.8 GiB) copied, 35.0373 s, 179 MB/s

6321953+0 records in

6321953+0 records out

6473679872 bytes (6.5 GB, 6.0 GiB) copied, 40.0474 s, 162 MB/s

6545669+0 records in

6545669+0 records out

6702765056 bytes (6.7 GB, 6.2 GiB) copied, 45.0574 s, 149 MB/s

6827893+0 records in

6827893+0 records out

6991762432 bytes (7.0 GB, 6.5 GiB) copied, 50.0624 s, 140 MB/s

7104072+0 records in

7104072+0 records out

7274569728 bytes (7.3 GB, 6.8 GiB) copied, 55.0643 s, 132 MB/s

7393261+0 records in

7393261+0 records out

7570699264 bytes (7.6 GB, 7.1 GiB) copied, 60.0694 s, 126 MB/s

7950489+0 records in

7950489+0 records out

8141300736 bytes (8.1 GB, 7.6 GiB) copied, 65.0739 s, 125 MB/s

8532784+0 records in

8532784+0 records out

8737570816 bytes (8.7 GB, 8.1 GiB) copied, 70.0805 s, 125 MB/s

8916461+0 records in

8916461+0 records out

9130456064 bytes (9.1 GB, 8.5 GiB) copied, 75.0872 s, 122 MB/s

9133673+0 records in

9133673+0 records out

9352881152 bytes (9.4 GB, 8.7 GiB) copied, 80.1044 s, 117 MB/s

9312523+0 records in

9312523+0 records out

9536023552 bytes (9.5 GB, 8.9 GiB) copied, 85.1004 s, 112 MB/s

9709388800 bytes (9.7 GB, 9.0 GiB) copied, 90.1114 s, 108 MB/s

9650409+0 records in

9650409+0 records out

9882018816 bytes (9.9 GB, 9.2 GiB) copied, 95.1123 s, 104 MB/s

9820049+0 records in

9820049+0 records out

10055730176 bytes (10 GB, 9.4 GiB) copied, 100.121 s, 100 MB/s

9536023552 bytes (9.5 GB, 8.9 GiB) copied, 85.1004 s, 112 MB/s

9481825+0 records in

9481825+0 records out

9709388800 bytes (9.7 GB, 9.0 GiB) copied, 90.1114 s, 108 MB/s

9650409+0 records in

9650409+0 records out

9882018816 bytes (9.9 GB, 9.2 GiB) copied, 95.1123 s, 104 MB/s

9820049+0 records in

9820049+0 records out

10055730176 bytes (10 GB, 9.4 GiB) copied, 100.121 s, 100 MB/s

9992333+0 records in

9992333+0 records out

10232148992 bytes (10 GB, 9.5 GiB) copied, 105.129 s, 97.3 MB/s

10000000+0 records in

10000000+0 records out

10240000000 bytes (10 GB, 9.5 GiB) copied, 105.347 s, 97.2 MB/s

write complete, syncing

 

  • Author

nice script btw, looks like i slows more and more down

1 minute ago, darkgeej said:

nice script btw, looks like i slows more and more down

 

That's normal, initial writes are RAM cached, if copying from the PC to unRAID is slower than that there's a network issue or the problem is the source PC.

Edited by johnnie.black

  • Author

I've just installed the cards, and they are linked directly together with a brand new fibre cabel,
the windows machine is a I7 with 16gb ram and fully updated, 

Doesn't mean it's not the problem, it can be a windows problem, test with another PC

  • Author

just tried to get a fill from the unraid, and its about the same, so it goes both ways

  • Author

well i can't test with the fiber part, because my other machine is a mac mini ;) but its so odd since local on the
pc i get a higher speed, I've install the fiber cards in the PCIE port same size as the one for the GPU , could that be a problem?

 

 

and it startes out with 450mb/s for about 10sec

Edited by darkgeej

11 minutes ago, darkgeej said:

and it startes out with 450mb/s for about 10sec

 

Your SSD won't be able to sustain 450MB/s, it should max out at about 100MB/s or below, you'll need a faster SSD for that.

 

To check it's real writing speed without RAM cache type these in the console, one at a time,  and run the script again:

 

sysctl vm.dirty_ratio=1


 

sysctl vm.dirty_background_ratio=1

 

  • Author

just ran my Perfect disk software, and it gave a bit more, to from 60 to 180 Oo 

  • Author

ooo so. my old 128gb ssd is just way to slow? well that could explane it, so what is good for cache ?
i guess ill go for a 256gb, since im the only user on the lan ;)

850 EVO 250GB can sustain writes at close to 300MB/s

850 EVO 500GB can sustain writes at close to 500MB/s

  • Author

yar with that on console, it startes at 360 and drops fast, 

 

295912960 bytes (7.3 GB, 6.8 GiB) copied, 40.0424 s, 182 MB/s

Edited by darkgeej

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.