NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Hawk321
Oct 01, 2019Apprentice
readynas rn102 copy internal from c: to d: slow
Hello, Iam copying a big amount of data (6TB) from my c: hdd to the d: hdd. First I tried it with Total Commander and mounted therefore the c:/d: als network drivers. I got speeds between 10 mb...
Hawk321
Oct 01, 2019Apprentice
Hi,
I use 6.10.1 as Firmware and I have Gigabit ethernet.
Iam not using any USB drives, both drives are in the NAS and are the same model. They are white labeld WDD 8 TB drives from WD my books. I try to copy data from hdd C: to Hdd D:
Midnight commander is a ssh tool like total commander which can be used in the SSH enviroment on the NAS.
https://www.youtube.com/watch?v=uJY6ig9bIg4
Actuel speed:´http://prntscr.com/pdeiki
So I tried now something. I copied a file from a SSD in the network to C: HDD and I got the same speed around 9000 kbytes/s. I copied the same file then to D: HDD and got a speed of 30000 kbytes/s.
The only difference between the two HDD`s is that C. is encrypted (ReadyOs) and D: isnt. I Think the encryption, I used AES 512, is causing a 66 % slower copy speed comparing to a none encrypted drive. Well that sucks :-(
StephenB
Oct 01, 2019Guru - Experienced User
Hawk321 wrote:
Hi,
I use 6.10.1 as Firmware and I have Gigabit ethernet.
Iam not using any USB drives, both drives are in the NAS and are the same model. They are white labeld WDD 8 TB drives from WD my books. I try to copy data from hdd C: to Hdd D:
Ok, so you are using WD Reds (re-labeled), configured as JBOD, and with volume names C and D.
Hawk321 wrote:
The only difference between the two HDD`s is that C. is encrypted (ReadyOs) and D: isnt. I Think the encryption, I used AES 512, is causing a 66 % slower copy speed comparing to a none encrypted drive. Well that sucks :-(
The RN102 doesn't have hardware acceleration for AES encryption, so it will be slower. I don't know how much, but 66% is more than I'd expect. You could also try disabling snapshots on the target system (and perhaps also disable volume quota and btrfs checksums).
Can you try using dd to test the write speed on both volumes? Here's what I get on my RN102 (using 1 TB Ironwolf drives configured as XRAID)
root@RN102:~# dd if=/dev/zero of=/data/test bs=512k count=2048 oflag=direct 2048+0 records in 2048+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 9.78328 s, 110 MB/s root@RN102:~# rm /data/test
- Hawk321Oct 01, 2019Apprentice
root@BIGBUBUJR:~# dd if=/dev/zero of=/root/testfile bs=1G count=1 oflag=direct dd: memory exhausted by input buffer of size 1073741824 bytes (1.0 GiB) root@BIGBUBUJR:~# dd if=/dev/zero of=/root/testfile bs=512k count=2048 oflag=direct 2048+0 records in 2048+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 13.1802 s, 81.5 MB/s root@BIGBUBUJR:/# cd /C root@BIGBUBUJR:/C# dd if=/dev/zero of=/root/testfile bs=512k count=2048 oflag=direct 2048+0 records in 2048+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 13.1461 s, 81.7 MB/s root@BIGBUBUJR:/C# cd /D root@BIGBUBUJR:/D# dd if=/dev/zero of=/root/testfile bs=512k count=2048 oflag=direct 2048+0 records in 2048+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 13.7516 s, 78.1 MB/s
Iam not sure if this is the right way to test dd on different disks ? Maybe it will always test it on the same disk?
- Hawk321Oct 01, 2019Apprentice
root@BIGBUBUJR:/# dd if=/dev/zero of=/root/C/testfile bs=512k count=2048 oflag=direct dd: failed to open '/root/C/testfile': No such file or directory root@BIGBUBUJR:/# dd if=/dev/zero of=/C/testfile bs=512k count=2048 oflag=direct 2048+0 records in 2048+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3529.05 s, 304 kB/s root@BIGBUBUJR:/# dd if=/dev/zero of=/D/testfile bs=512k count=2048 oflag=direct 2048+0 records in 2048+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 17.5555 s, 61.2 MB/s
I ran it now on C: and D:. C: is the encrypted HDD and is much slower! - StephenBOct 01, 2019Guru - Experienced User
Hawk321 wrote:
Iam not sure if this is the right way to test dd on different disks ? Maybe it will always test it on the same disk?/root is actually a RAID-1 array of the two disks. The writes are going to both drives in parallel.
Hawk321 wrote:
C: 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3529.05 s, 304 kB/s D: 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 17.5555 s, 61.2 MB/s
I ran it now on C: and D:. C: is the encrypted HDD and is much slower!Yikes. It will go faster w/o the oflag=direct flag, so maybe retest without that.
But the answer is pretty clear - disk encryption does kill the performance on the RN100
- Hawk321Oct 01, 2019Apprentice
root@BIGBUBUJR:/# dd if=/dev/zero of=/C/testfile bs=512k count=2048 2048+0 records in 2048+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 92.0958 s, 11.7 MB/s
This is without direct flag and simlilar to the speed I get with total comander. So it does kill the speed by 50 MB/s. Damn this is around 80% speed loss.
Will be AES 256 be similar slow as AES 512?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!