Slow SMB speed

Curry22

Dabbler
Joined
Sep 12, 2022
Messages
11
Can u guys help me please?? i use SMB to back up my mac using time machine, I'm only getting 30MB/s even when I'm transferring regular files like videos.
 

Attachments

  • Screenshot 2022-10-28 at 16.28.40.png
    Screenshot 2022-10-28 at 16.28.40.png
    375.2 KB · Views: 2,154

Curry22

Dabbler
Joined
Sep 12, 2022
Messages
11
As you're on a Mac, try disabling SMB "strict sync"

In the SMB auxiliary settings (Services -> SMB -> Little Wrench Icon) add a line that says strict sync = no

Restart the SMB service afterwards, and try a copy again.
Here?????
 

Attachments

  • Screenshot 2022-10-28 at 16.50.02.png
    Screenshot 2022-10-28 at 16.50.02.png
    252.5 KB · Views: 2,349

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Can you provide some further hardware information? I see that you're on likely consumer hardware, from the i5-4670 CPU, and 16GB of RAM - but you also only have a single data disk, probably a 4TB. Do you know the model, or can you post the results of camcontrol devlist when run from the shell/SSH?
 

Curry22

Dabbler
Joined
Sep 12, 2022
Messages
11
Can you provide some further hardware information? I see that you're on likely consumer hardware, from the i5-4670 CPU, and 16GB of RAM - but you also only have a single data disk, probably a 4TB. Do you know the model, or can you post the results of camcontrol devlist when run from the shell/SSH?
thanks for helping me. Yah i do have only one drive there cause I don't mind losing data if the drive fails. i did installed truenas thru Hyper-V before I was getting the same speed "30MB/s" from my mac but when I use the local host I used to get 300-400MB/s easy...
 

Attachments

  • Screenshot 2022-10-28 at 17.18.01.png
    Screenshot 2022-10-28 at 17.18.01.png
    63.1 KB · Views: 1,237

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Apologies, somehow I missed the notification on this - one of your drives is listed as a Seagate ST4000DM004 which is known to use shingled magnetic recording or "SMR" - these drives can have very poor performance characteristics under "rewrite" scenarios. Is the pool you're copying to using that Seagate drive?
 

Curry22

Dabbler
Joined
Sep 12, 2022
Messages
11
it’s okay… what I realized the other day is that when I plug one of my pc’s directly into the router build-in switch I get 150MB/s easy however I get 25MB/s over the wifi
 

spuky

Explorer
Joined
Oct 11, 2022
Messages
60
25 MB/s over wifi are OK thats 200mbit/s if you Alt click the wifi icon on your mac you see additional info on your connection I would guess the tx-rate is 400mbit/s with all the wifi overhead 200mbit/s is a normal value... and the wifi connection is fore sure the weakest link in your chain...
 

Curry22

Dabbler
Joined
Sep 12, 2022
Messages
11
I thought I could’ve at least get a reasonable speed "100-150MB/s" over the wifi… is there any solution for that ???
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
I thought I could’ve at least get a reasonable speed "100-150MB/s" over the wifi… is there any solution for that ???
Yeah, use Ethernet. WiFi speeds are highly unreliable subject to interference, distance, obstructions, antenna types, etc. etc. and a million other things.

There's a reason why enterprise servers never use WiFi for network connection.

On top of that, you're expecting 150 MB/s, which is impossible to achieve even on a Gigabit ethernet connection (maxes out at 119.2 MB/s), let alone WiFi lol...

I'm not sure how you're getting it "easy" unless you're running some kind of 2.5 G or 10 G network, which I think is a bit unlikely since your server is only running an old 4th-gen Core i5 CPU.
 
Last edited:

spuky

Explorer
Joined
Oct 11, 2022
Messages
60
With newest aX access points and newest macbook ax 2-mimo streams and you alone in a remote place with no interferenz sitting right next to the accesspoint should give you a value near to 100MB/s
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
With newest aX access points and newest macbook ax 2-mimo streams and you alone in a remote place with no interferenz sitting right next to the accesspoint should give you a value near to 100MB/s
Even IF your WiFi can somehow achieve that (which requires extremely ideal situations), as I mentioned earlier, your server is a mere 4th-gen Core i5 CPU, which can't achieve 150 MB/s "easy" even under ideal conditions cause it likely only has a 1 Gigabit NIC. I could be making wrong assumptions here and you may have added an after-market faster NIC solutions, but I'll go with my gut feeling here and assuming that you didn't. What you're seeing is more than likely some cached number especially if you've been testing with the same files over and over again.
 
Last edited:

spuky

Explorer
Joined
Oct 11, 2022
Messages
60
yes forgot the irony tags ;-) the advertising on wifi gear markets theoretical phy layer speeds in optimal conditions.... real world is far off

if you need the speed get a nic and a cable...
 

Curry22

Dabbler
Joined
Sep 12, 2022
Messages
11
I got two NICs installed and thanks for the info, maybe I get hardware I could get a better speed.
 
Top