after buying a 10TB wd red disk and creating a Turris NAS, I was checking throughput and things did not seem to be right.
As based on the spec this HDD drive speed should be about 200MB/s, which is awesome, close to (half of) the speed of an SSD. But of course in a gigabit network one can get only 125MB/s, but I could only get around 50-80MB/s, I realized that the culprit was cpu usage, i uninstalled pakon and device detection, and stopped surricata, because cpu usage was at 100%, after stopping it, the speed went up to 114MB/s with around 20% cpu usage. Is there anything that could prevent it to go to 125MB/s?
But I would rather have these plugins to work normally, is there a way to confiugre surricata to skip NFS usage to keep cpu usage low? How can I do it?
Another test I did was to test the other bottleneck, the HDD locally from router using dd, writing 1GB zeroes into a file I got 130MB/s speed with 10GB file it was 160MB, still quite far away from 220MB/s that I could see testing in a video, it went to 220 and falled back slowly and stabilized at 190MB/s.
What could be the reason that I can only get so low values? Is it because of BTRFS?
The disk is only used around 20%, 2TB out of 10TB.