dealy663
Dabbler
- Joined
- Dec 4, 2021
- Messages
- 32
Hi
I'm on TrueNAS-SCALE-22.02-RC.2 and have always had really strange unreliable and frequently slow behavior when trying to copy files from my Macs to the new NAS system I've built up. My pools are simple mirrors and I'm sharing with SMB. I started out with standard 1Gbe and slowly moved up to 2.5Gbe and now have a 10Gbe link to my main MacBook Pro. No matter which speed of link copying files via the finder or on the command line proved difficult. With things usually starting out well seeing flashes of 70-80MB/sec throughput, but then within 5 min or so falling lower and lower until finally hours later dropping down to a few KB/sec. So I never really got all of my data on to the NAS. I'm sure having hundreds of thousands of small file plays a big role in the avg throughput numbers. But it was taking 6+hours, sometimes more than 8 to copy less than 2 TB of data
Eventually I went to rsync on the command line and discovered that the link would break (broken pipe error) every time. This was still copying over SMB via the mounted drives. Today it finally occurred to me to setup an Rsync Module on truenas. Once I got that working I did a ~100GB transfer without dropping any broken pipe error messages and averaged ~95MB/sec transfer rate. This was over my 10Gbe connection but I'll take what I can get (and blame the rest on the spinning HD inside my server). Ok much much much better.
But what is going on here? Why was using my SMB configuration so terrible? I've been working with SMB protocol transfers for what 15-20 years now? Are there some liabilities with transferring large numbers of files in this version of TrueNAS or is there some aspect of the SMB config I have wrong that is contributing to this?
I'm on TrueNAS-SCALE-22.02-RC.2 and have always had really strange unreliable and frequently slow behavior when trying to copy files from my Macs to the new NAS system I've built up. My pools are simple mirrors and I'm sharing with SMB. I started out with standard 1Gbe and slowly moved up to 2.5Gbe and now have a 10Gbe link to my main MacBook Pro. No matter which speed of link copying files via the finder or on the command line proved difficult. With things usually starting out well seeing flashes of 70-80MB/sec throughput, but then within 5 min or so falling lower and lower until finally hours later dropping down to a few KB/sec. So I never really got all of my data on to the NAS. I'm sure having hundreds of thousands of small file plays a big role in the avg throughput numbers. But it was taking 6+hours, sometimes more than 8 to copy less than 2 TB of data
Eventually I went to rsync on the command line and discovered that the link would break (broken pipe error) every time. This was still copying over SMB via the mounted drives. Today it finally occurred to me to setup an Rsync Module on truenas. Once I got that working I did a ~100GB transfer without dropping any broken pipe error messages and averaged ~95MB/sec transfer rate. This was over my 10Gbe connection but I'll take what I can get (and blame the rest on the spinning HD inside my server). Ok much much much better.
But what is going on here? Why was using my SMB configuration so terrible? I've been working with SMB protocol transfers for what 15-20 years now? Are there some liabilities with transferring large numbers of files in this version of TrueNAS or is there some aspect of the SMB config I have wrong that is contributing to this?