PitzKey
November 12, 2025, 4:59pm
1
Hello everyone,
I have a system handling an average of 10,000 calls per day. I configured the channel storage backend to use cpp_map_name_id and have confirmed the configuration loaded successfully:
root@svr1:~# asterisk -x"core show settings" | grep Channel
Channel storage backend: cpp_map_name_id
I am using LibreNMS to monitor server resources and compared resource usage from two different days. Regarding memory, I observed minimal improvement. However, the CPU usage spiked significantly compared to the previous day.
My question is: what differences should I expect to see—and where—after enabling this channel storage backend?
Thank you
gjoseph
November 12, 2025, 5:09pm
2
Which asterisk version are you using?
gjoseph
November 12, 2025, 5:33pm
4
Hmmm. 10,000 calls per day isn’t all that much, even if it was spread out only over 8 hours. I wouldn’t have expected to see any difference at all.
Can you provide some additional info?
Exactly how much did CPU utilization increase?
System resources available (CPUs, memory, etc)
OS, distribution, version
Install from packages or built from source?
If packages, from where?
If from source, was optimization enabled?
What’s the approximate calls-per-second?
Can you confirm that changing it back to ao2_legacy reduces the utilization?
I personally did not see any major improvements .
I really anticipated it should to be much more !
but did not see a increase in cpu vice versa a little decrease was there .
(from a overloaded node spiking to 30 load , going down to a consistent 22 load on a 20 core .)
or am i underappreciating the impact ?
stasis has a huge impact on the cpu . the average load is by 10 going up to 15
did not try stasis without cpp_map_name_id so i do not know if stasis update by itself has the same impact
that is my experience
jcolp
November 12, 2025, 5:51pm
6
The channels container, in comparison to stasis, is not used anywhere near as much.
PitzKey
November 12, 2025, 6:20pm
7
Thank you for looking at this.
See inline responses.
gjoseph:
Exactly how much did CPU utilization increase?
Around 5%
gjoseph:
System resources available (CPUs, memory, etc)
16 GB Ram, 6 CPU Cores.
gjoseph:
OS, distribution, version
Debian 12.12.
root@svr1:~# uname -a
Linux svr1.domain.com 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64 GNU/Linux
gjoseph:
Install from packages or built from source?
If packages, from where?
If from source, was optimization enabled?
From a custom package, yes, optimization was enabled.
gjoseph:
What’s the approximate calls-per-second?
Varies from 5-30
gjoseph:
Can you confirm that changing it back to ao2_legacy reduces the utilization?
I did not try that yet.
gjoseph
November 12, 2025, 6:24pm
8
PitzKey:
Around 5%
I would think that 5% is well within a normal day-to-day variability.
PitzKey:
I did not try that yet.
Yeah, I would try flipping back and forth for a few days and see if there really is a statistical difference.
system
Closed
December 12, 2025, 6:25pm
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.