SMB transfer speed is lower than testing result.

zsw12abc

Dabbler
Joined
Nov 22, 2022
Messages
25
hey mate, my smb speed is only 10~30% of the testing speed.
I used 4 HHD WD Red and Raid z0.
Network is 2.5GB connected with 6-cable
the speed should be around 300MB at least?
please help me.

1670849480051.png

1670849548556.png
 

zsw12abc

Dabbler
Joined
Nov 22, 2022
Messages
25
is there any difference between iperf3 and SMB transferring?
I did a iperf3 testing between my PC and NAS
the speed looks correct.
1670968866923.png

but it didn't do well via SMB
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
iperf measures only the network transfer rate. Any pair of reasonable systems should be able to saturate all available bandwidth at least up to 10 Gbit/s.

SMB transfers data to and from your storage pool. You need to tell us a bit more about your hardware and setup as required by the forum rules. What's a raidz0, for example? That does not exist.
 

zsw12abc

Dabbler
Joined
Nov 22, 2022
Messages
25
Hey @Patrick M. Hausen thanks for replying my question.
My hardward is
CPU I7-8700K
32GB DDR4 2400MHZ RAM
500 m2 Samgsung 960 SSD
4*2tb wd RED HHD
Network is 2.5GPS
this graph is the recent testing with a 80 gb video file writing to NAS via SMB.
it can keep reaching 250MB/S for around first 40% time and drop to 50MB/S after that
After i pause the transferring, and resume it, it backs to 250MB again but didn't keep the speed and back to around 50mb/s
1670990956437.png
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
What model of WD Red exactly?
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
@zsw12abc , I recommend that you check the forum rules (link in red at the top middle of the screen) for how to maximize your chance for a helpful response. You did not provide various details, esp. about your pool design, and it is not possible to give specific guidance without that kind of detail.
 

zsw12abc

Dabbler
Joined
Nov 22, 2022
Messages
25
Thanks @ChrisRJ
I just update my device info
Today, i reinstall all my settings with TrueNAS-SCALE-22.12.0.
This morning, I copied 80GB Video files to test my speed and it was fine with 250MB/S
But now i try to copy a folder of videos (each file is around 500MB) then the speed drop to 52mb/s.
 

zsw12abc

Dabbler
Joined
Nov 22, 2022
Messages
25
Hey @Patrick M. Hausen
Sorry I am new here. I update my NAS configurations.
Today, i reinstall all my settings with TrueNAS-SCALE-22.12.0.
This morning, I copied 80GB Video files to test my speed and it was fine with 250MB/S
But now i try to copy a folder of videos (each file is around 500MB) then the speed drop to 52mb/s.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Your WDC_WD20EZBX is an SMR drive which is not suited for ZFS and might well be the cause of your performance degradation. If this is a new NAS with no critical data on it (yet), you might want to just offline that drive (zpool offline <poolname> <diskid>) and repeat your benchmarks. If that solves the problem replace the drive with a CMR one or create a new pool with one drive less.

You will lose redundancy when offlining the drive, so don't do this if there is valuable data on the pool. In that case you should definitely replace that drive.
 
Top