Samba SMBD limited to 25% CPU DLINK 860l

What's the deal with CPU and multicore? Please look carefully at this:

WRT1200AC : 2 core ARM 1300 MHz
DIR860L : 2 (x2) core MIPS 880 MHz

So you have almost 1.5x the MHz and also ARM vs MIPS means there's quite a bit more CPU to back a single-threaded process in the WRT1200. Being considered two CPUs by Linux the WRT1200 maxed on one thread would be reported as 50% of the whole machine.

Theoretical line speed of a Gb ethernet cable is about 110 MB /s.

1 Like

I think the current tuning is as good as it gets except minor tuning of CFLAGS and possibly disable encryption (?) but that'll probably give you just a few megabytes at best.

@ all
Please keep in mind that most supported router/gateway SoCs by OpenWrt are not very suitable for NAS applications which is one of the reasons why you haven't seen MIPS based NAS boxes in a long time except the really budget ones (most entry level ones used ARMv5 or similar) and as Andy2244 mentioned USB2/3 does increase the load compared to native SATA interfaces or SATA PCIe controllers. Pair that with very limited amout of memory which also limits the kernels ability to cache files etc. Set your expections at a resonable level...

You can monitor those 2 PR, which adds cifsd to 19.07, so next 19.07-rc2 will have support for it to test.


1 Like