Community discussions

MikroTik App
 
wsantos
just joined
Topic Author
Posts: 15
Joined: Fri Oct 07, 2022 2:55 pm

hap ax3 using to much memory with default configuration

Sat Jan 14, 2023 1:02 pm

I've 2 routers at home RB750Gr3 and C53UiG+5HPaxD2HPaxD (hap ax3) and here is the memory usage I've right now, my ax3 is brand new nothing installed, RB750Gr3 already has some small firewall rules 2 wireguard tunnels and an address list with 926 entries:

RB750Gr3, 195.5MB of 256MB -> ~24% usage.
C53UiG+5HPaxD2HPaxD, 682.8MB of 1024GB -> ~33% usage.

Is there an explanation for that? how can I check what is eating the memory? remember my hap ax3 is brand new.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5412
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: hap ax3 using to much memory with default configuration

Sat Jan 14, 2023 5:03 pm

Wifiwave2-AX package will most likely be the culprit. Wave2 is known to require quite a bit of memory, AX more so.
HEX doesn't have wifi so no wave2.
But I am not sure how to get the details on memory usage to make that a proven statement.
Logically thinking: there is a reason why they put 1Gb of memory in that device vs 256Mb on AC3 ... that's not only because that's a cheaper size. AX-drivers will have something to do with it as well.

I'll wait here with you for an answer.

As a workaround, disable the wifi interfaces on AX3, reboot and see what happens with memory usage.
 
wsantos
just joined
Topic Author
Posts: 15
Joined: Fri Oct 07, 2022 2:55 pm

Re: hap ax3 using to much memory with default configuration

Sat Jan 14, 2023 5:37 pm

Wifiwave2-AX package will most likely be the culprit. Wave2 is known to require quite a bit of memory, AX more so.
HEX doesn't have wifi so no wave2.
But I am not sure how to get the details on memory usage to make that a proven statement.
Logically thinking: there is a reason why they put 1Gb of memory in that device vs 256Mb on AC3 ... that's not only because that's a cheaper size. AX-drivers will have something to do with it as well.

I'll wait here with you for an answer.

As a workaround, disable the wifi interfaces on AX3, reboot and see what happens with memory usage.
I had to disable the package and now I have 784MB free, I was expecting to have ~900MB tbh something else is also eating memory seems like
 
holvoetn
Forum Guru
Forum Guru
Posts: 5412
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: hap ax3 using to much memory with default configuration

Sat Jan 14, 2023 5:46 pm

Very odd.
On my AC3 (256Mb memory), incl some firewall rules, DHCP server, filtering, VLANs, routing rules and wave2 active, I still have139Mb free.

Otherwise post your config so we can have a look what the default looks like.
/export file=anynameyouwish ( minus router serial # and any public WANIP information )
Post config between [ code] quotes.
 
wsantos
just joined
Topic Author
Posts: 15
Joined: Fri Oct 07, 2022 2:55 pm

Re: hap ax3 using to much memory with default configuration

Sat Jan 14, 2023 5:50 pm

Very odd.
On my AC3 (256Mb memory), incl some firewall rules, DHCP server, filtering, VLANs, routing rules and wave2 active, I still have139Mb free.

Otherwise post your config so we can have a look what the default looks like.
/export file=anynameyouwish ( minus router serial # and any public WANIP information )
Post config between [ code] quotes.
There is no config, it's a brand-new router, I noticed the memory usage and decided not configure before identifying what was eating the memory
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1347
Joined: Mon Sep 23, 2019 1:04 pm

Re: hap ax3 using to much memory with default configuration

Sat Jan 14, 2023 6:27 pm

You can't compare like that, totally different SoCs underneath.
 
wsantos
just joined
Topic Author
Posts: 15
Joined: Fri Oct 07, 2022 2:55 pm

Re: hap ax3 using to much memory with default configuration

Sat Jan 14, 2023 7:27 pm

You can't compare like that, totally different SoCs underneath.
True ax3 is an arm 64bits but would be nice to understand the memory usage.
 
Rox169
Member
Member
Posts: 433
Joined: Sat Sep 04, 2021 1:47 am

Re: hap ax3 using to much memory with default configuration

Sun Jan 15, 2023 9:39 pm

this is very useless topic...almost 700MB free RAM is not enough for you?
 
wsantos
just joined
Topic Author
Posts: 15
Joined: Fri Oct 07, 2022 2:55 pm

Re: hap ax3 using to much memory with default configuration

Mon Jan 16, 2023 12:57 am

this is very useless topic...almost 700MB free RAM is not enough for you?
It's not for the containers I want to use and the main reason is to understand how to profile memory, not useless if we can understand how to do it.

Who is online

Users browsing this forum: britgent, Cloudtechiq [Bot], rextended, rjuho, VinceKalloe and 88 guests