cstanley
Cadet
- Joined
- Apr 24, 2016
- Messages
- 8
Hello!
I have noticed something perplexing when transferring large files over to my NAS using the CIFS protocol and rsync.
When I first initialize my transfer with rsync, it times out for a minute or so before it picks up and starts going 10x SLOWER than it should.
EXAMPLE:
It shows the speed at 89.39 KB/s, however I can check and see that there is actually no I/O present during this hang.
In an attempt to understand the situation more, I ran the same command, but this time bypassing the CIFS share and going directly to the pool over SSH
EXAMPLE:
As you can see, the speeds here are much faster, and there is no lag between files.
Not seeing anything related in some of the logs I checked. Any ideas or suggestions?
BUILD: FreeNAS-11.1-U2
I have noticed something perplexing when transferring large files over to my NAS using the CIFS protocol and rsync.
When I first initialize my transfer with rsync, it times out for a minute or so before it picks up and starts going 10x SLOWER than it should.
EXAMPLE:
cstanley@dell:~$ sudo mount -t cifs //X.X.X.X/backups /home/cstanley/backups
cstanley@dell:~$ sudo rsync -r --progress dash/ backups/cameras/dashcam/LoopREC/00001/
sending incremental file list
201801120808_000387AA.MP4
32,768 0% 89.39kB/s 0:03:54 ^C <----HANGS for 1 minute before resuming at about 20MB/s
It shows the speed at 89.39 KB/s, however I can check and see that there is actually no I/O present during this hang.
In an attempt to understand the situation more, I ran the same command, but this time bypassing the CIFS share and going directly to the pool over SSH
EXAMPLE:
Code:
cstanley@dell:~$ sudo rsync -r --progress -e 'ssh' dash/ root@X.X.X.X:/mnt/zfsp1/backups/cameras/dashcam/LoopREC/00001/ sending incremental file list 201801120758_000386AA.MP4 419,430,400 100% 239.51MB/s 0:00:01 (xfr#1, to-chk=319/347) 201801120808_000387AA.MP4 20,971,520 100% 202.96MB/s 0:00:00 (xfr#2, to-chk=318/347) 201801120809_000389AA.MP4 230,686,720 100% 209.28MB/s 0:00:02 (xfr#3, to-chk=317/347)
As you can see, the speeds here are much faster, and there is no lag between files.
Not seeing anything related in some of the logs I checked. Any ideas or suggestions?
BUILD: FreeNAS-11.1-U2