When evaluating hybrid services on NanoPi R4S or ArmSoM, first note the device’s specific memory configuration, log retention period, and connection size, and then discuss “how many plug-ins can be installed.”
Grasp the state of three moments
Record MemAvailable, process memory and kernel logs respectively after power-on, business peak and long-term operation. Linux will use free memory for caching. Just looking at the low free value cannot determine whether it is insufficient. Pay attention to whether the memory can be recovered after the load is over, and whether there is reclamation pressure.
Let the plug-ins be added one by one
First verify the pure routing baseline, then enable indicator collection, and finally enable historical query and graphics pages. Use the same business traffic to compare management page loading, forwarding delays, and memory peaks. If only long-term history queries are stuck, adjust the sampling and retention strategy first.
Decide when to tear down the service
Once the gateway’s memory is tight, it will affect the entire site. If the observability load fluctuation is much greater than the forwarding load, the long-term storage can be moved to a separate device, so that the gateway only retains short-term buffering, and the two parts of capacity are calculated separately when purchasing.
Board documentation and references

- ArmSoM Sige5 · hardware and interface manual · Sige5 · product page
- FriendlyELEC NanoPi R4S Manual
- Linux kernel pressure indicator PSI
