Hi,
I was trying to install OpenWrt to DNS-313. Everything went OK, but the download/upload speed (using ksmb for instance) are low and some time later (1-3 hours) device timed-out and need to be rebooted. There are warnings in the log (see below) and while searching for it I found 1 topic here, but nothing was resolved there (19.07.0 Raidsonic nas ib-4220 eth driver error). I'm using the firmware from https://dflund.se/~triad/krad/dlink-dns-313/ with "Linux version 5.15.86"
Mon Jan 9 13:51:51 2023 kern.err kernel: [ 296.951383] gmac-gemini 60000000.ethernet: could not find mapping
Mon Jan 9 13:51:51 2023 kern.err kernel: [ 296.988032] gmac-gemini 60000000.ethernet: could not find mapping
Mon Jan 9 13:51:52 2023 kern.err kernel: [ 298.341541] gmac-gemini 60000000.ethernet: could not find mapping
Mon Jan 9 13:51:52 2023 kern.err kernel: [ 298.378204] gmac-gemini 60000000.ethernet: could not find mapping
Mon Jan 9 13:51:53 2023 kern.err kernel: [ 299.618704] gmac-gemini 60000000.ethernet: could not find mapping
So I've tried to reflash the older stock OpenWrt (22.03.3 r20028-43d71ad93e) the error was gone but after some time it reappeared, but the performance isn't still great. I've around 8 MB/s write and 11 MB/s read speeds using ksmbd using SATA 5600 RPM disk inside. With the old stock firmware, the speeds were 2 times better (that is write was around 17 MB/s). This is the "top" output while copying the file to the NAS.
As one can see 70% is spent in system, so it looks like CPU bound. Is this max I can get? Does using NFS could yield better performance? Could I do some tests to find out max speeds?
Thanks
edit: Clarification and info about the error reappearance.
I see. Looking at the old reviews, the max write speed was around 7 MB/s so it looks what I get is better. I was sure I was getting better speeds but I may have mixed it up with another NAS.
The only problem now is this "could not find mapping" error which is sometimes bringing the whole network down (I need to unplug the ethernet cable from DNS-313 to bring it back).