I flashed 22.03.5 on EA7500 V2 (MT7621), installed Samba and Aria2 on it. Mounted HDD with ntfs-3g in ntfs format.
When downloading anything on Aria, it maxes at 2MB/s speed which is less than half my actual speed. The write speed is horrible on the HDD through Aria2.
With Samba I can read/write at around 20MB/s so that's not an issue. It's only happening while downloading in Aria, and it's not a speed limit or anything.
I'm mounting using ntfs-3g which seems to be the culprit: ntfs-3g /dev/sda5 /mnt/usb-ntfs -o rw,big_writes
Some tests:
hdparm -tT /dev/sda5
Timing cached reads: 272 MB in 2.01 seconds = 135.32 MB/sec
Timing buffered disk reads: 122 MB in 3.03 seconds = 40.25 MB/sec
time dd if=/dev/zero of=testfile count=200k
204800+0 records in
204800+0 records out
real 4m 6.69s
user 0m 1.89s
sys 0m 41.23s
time dd if=testfile of=/dev/null count=200k
204800+0 records in
204800+0 records out
real 0m 3.82s
user 0m 0.26s
sys 0m 2.34s
Horrible write speed but nice read speed? HDD is defragmented, giving 120MB/s speed on PC.
Also I'm coming from EA6350 V3 router to this one, I was maxing out my speeds with the same setup on that router. Around 4-5MB/s on Aria downloads. I still have that router. Any help?
I have found the issue and solution myself. The issue is with MT7621 and its Dual-core CPU which is limited to 25% usage only for user apps.
Aria2 utilizes a lot of CPU power, and NTFS-3G too. So both of these running together put max load on CPU and Aria can't handle the speed above 2MB/s then.
To fix this you can remove NTFS-3G and use the KMOD-ANTFS because it's light-weight and gives Aria2 room to max the 25% CPU. Then you get max speeds on your downloads.
But another issue arises, ANTFS is not fast. If you have Samba or NFS, you will only get 6 - 8MB/s transfer speeds on files.
So you can choose one of these:
Get slow speeds on Aria2 but get 20MB+ on Samba transfers.
Get good speeds on Aria2 but get 8MB/s on SMB.
That's about it. I'll be using my old EA6350 router dedicated to Aria and SMB because it works great having a quad-core CPU. MT7621 just can't handle it, learned it the hard way.