- Joined
- Dec 8, 2017
- Messages
- 442
Hey all, new user here, but I went as far as I could for this problem.
I have transmission/sonarr set up in jails, saving files in a folder called Downloads. The problem is that whenever I copy data from Downloads created by transmission, i get between 20-40MBps. If i create a file via smb or dd in the same folder, then copy it off the NAS via SMB, i get 300-400MB (via 10gb link to nvme drive). If create a file via dd or smb in the Downloads folder, then copy it to another dataset via terminal i get at least 80MBps, so at least 4x faster.
I noticed during these copies that the disk busy hits 100%, similar to if I was doing random reads, however, the files are 3-4GB in size so I would expect them to be laid out sequentially. Is it possible that either the jail (warden still), transmission, or sonarr is writing the file non-sequentially?
usr/bin/time -h dd if=/dev/random of=sometestfile bs=1G count=40 within the jail itself to the media folder (linked to Downloads) still gives me 150MBps even though CPU spikes very high.
Testing is done via 10GB link via smb, as well as copy's between one dataset to another via cp command via ssh and times using /usr/bin/time -h.
Specs for NAS:
Celeron G3930
16GB memory (non-ECC don't yell at me)
6X 4TB Seagate NAS drives in RAIDZ1 single vdev.
I have transmission/sonarr set up in jails, saving files in a folder called Downloads. The problem is that whenever I copy data from Downloads created by transmission, i get between 20-40MBps. If i create a file via smb or dd in the same folder, then copy it off the NAS via SMB, i get 300-400MB (via 10gb link to nvme drive). If create a file via dd or smb in the Downloads folder, then copy it to another dataset via terminal i get at least 80MBps, so at least 4x faster.
I noticed during these copies that the disk busy hits 100%, similar to if I was doing random reads, however, the files are 3-4GB in size so I would expect them to be laid out sequentially. Is it possible that either the jail (warden still), transmission, or sonarr is writing the file non-sequentially?
usr/bin/time -h dd if=/dev/random of=sometestfile bs=1G count=40 within the jail itself to the media folder (linked to Downloads) still gives me 150MBps even though CPU spikes very high.
Testing is done via 10GB link via smb, as well as copy's between one dataset to another via cp command via ssh and times using /usr/bin/time -h.
Specs for NAS:
Celeron G3930
16GB memory (non-ECC don't yell at me)
6X 4TB Seagate NAS drives in RAIDZ1 single vdev.