Slow file copy from one dataset to another in the same pool using rsync

ghigorange

Cadet
Joined
Apr 23, 2019
Messages
3
I'm copying a large directory (a few GBs) from one dataset to another in the same pool using rsync and I only get ~10 MB/s of speed.
I'm performing the copy by SSHing into the NAS and running
Code:
rsync --info=progress2 -auvz <source> <destination>

I noticed that if I start copying some files from my laptop to the NAS using SMB I see a ~43 MBps of inbound bandwidth to the NAS that makes me think that the disks can definitely write faster than 10 MB/s.
Moreover, if I start reading/writing to the NAS while performing the copy, the speed of the copy doesn't change at all.
Any idea?

FreeNAS Version: FreeNAS-11.2-U3
Memory: 8 GB
Model: Intel(R) Atom(TM) CPU C3558 @ 2.20GHz
Drives: 6 x IronWolf Green 6 GB
 

ghigorange

Cadet
Joined
Apr 23, 2019
Messages
3
If I run the same script using the Shell in the FreeNAS UI instead of using a terminal running in my laptop, the speed increases to ~ 12 MB/s.
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
you are copying to the same pool that is why you are getting 10 MB/s you are reading and writing with the same disks

copying files from your laptop is not the same thing at all - you are only writing to the pool

this seems about right (10 MB/s) this is about what i was getting when writing and reading to the same pool
 
Top