OPNsense Forum
English Forums => Zenarmor (Sensei) => Topic started by: almodovaris on November 14, 2022, 02:22:13 pm
-
On my APU2 (4 GB RAM), 93% of memory are used, and 2% of 8 GB swap are used.
-
So? And your problem/question is?
-
@almodovaris, due to a feature, we had bumped the netmap buffers in 1.12. This might be the reason.
We'll re-adjust and decrease them with the upcoming 1.12.1. Update and see if you see improvements in memory consumption.
-
Yup, fixed it with:
<item>
<tunable>dev.netmap.buf_num</tunable>
<value>100000</value>
<descr>suggested by zenarmor</descr>
</item>
</sysctl>
-
Version 1.12.1 consumes a lot more ram memory than the previous version.
-
Yup, fixed it with:
<item>
<tunable>dev.netmap.buf_num</tunable>
<value>100000</value>
<descr>suggested by zenarmor</descr>
</item>
</sysctl>
How and where can this be configured?
-
That is a copy/paste from config.xml. That means a tunable with that name and that value, the other stuff are comments for the tunable.