[Home]

Summary:ASTERISK-23811: Improve performance of Asterisk by reducing the number of channel snapshots created
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-06-01 15:16:31Date Closed:2014-06-13 13:17:59
Priority:MajorRegression?
Status:Closed/CompleteComponents:Core/Stasis
Versions:12.3.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ASTERISK-23811-12-patch.diff
Description:During some performance testing of Asterisk with AGI, ARI, and lots of Local channels, we noticed that there's quite a hit in performance during channel creation and releasing to the dialplan (ARI continue). After investigating the performance spike that occurs during channel creation, we discovered that we create a lot of channel snapshots that are technically unnecessary. This includes creating snapshots during:
# AGI execution
# Returning objects for ARI commands
# During some Local channel operations
# During some dialling operations
# During variable setting
# During some bridging operations

And more.

The attached patch reduces a reasonable amount of channel snapshots, and improved performance in a variety of scenarios.
Comments: