Low ram , fresh install Mi Router 4

is it normal to have 78% of ram used in a fresh insttaled openwrt no packages installed ???

root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:         119260       50200       42668         416       26392       31080
Swap:             0           0           0

I have a MTC WR1201 using the same SoC and amount of RAM, no issues, ever, only rebooted because of openwrt firmware updates.

it always have 20+ devices (low bandwidth IoT's) connected.

root@IoT:~# free
              total        used        free      shared  buff/cache   available
Mem:         119252       46240       46304         344       26708       34908
Swap:             0           0           0
root@IoT:~#

That is fairly normal, "empty" OpenWrt boots to 20-30MB used, then you add 5MB for wifi + 1MB per client (almost nothing per wired client), few megabytes of dns cache are allocated, 1/10-1/8 RAM for firewall gets initialized somewhere between a week or day of uptime.
Every process you run on OpenWrt settles cache until that memory is needed for real data.
You are fine :wink:

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.