[Home]

Summary:ASTERISK-27335: CDR performance needs improvement.
Reporter:Richard Mudgett (rmudgett)Labels:
Date Opened:2017-10-12 11:54:28Date Closed:2017-10-13 16:45:18
Priority:MajorRegression?
Status:Closed/CompleteComponents:CDR/General
Versions:13.17.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The CDR performance needs improvement because busy systems can hit the task processor limit for the {{subm:cdr_engine-xxxxxxxx}} task processor.

{noformat}
sipp 127.0.0.1:5060 -sn uac -i 127.0.0.2 -p 6000 -s 100 -d 10000 -r 50 -m 10000
{noformat}

When I ran the built in sipp call scenario above my slow test box was able to complete around 1200 calls.  After the improvements it was able to complete around 1300 calls or about an 8% improvement.  Please note that the call activity for this machine is like a giant stepping on an ant.
Comments:By: Friendly Automation (friendly-automation) 2017-10-13 16:45:18.862-0500

Change 6761 merged by Jenkins2:
cdr.c: Fix setting dnid, callingsubaddr, and calledsubaddr

[https://gerrit.asterisk.org/6761|https://gerrit.asterisk.org/6761]

By: Friendly Automation (friendly-automation) 2017-10-13 16:57:40.374-0500

Change 6776 merged by Jenkins2:
cdr.c: Fix setting dnid, callingsubaddr, and calledsubaddr

[https://gerrit.asterisk.org/6776|https://gerrit.asterisk.org/6776]

By: Friendly Automation (friendly-automation) 2017-10-13 17:00:50.155-0500

Change 6762 merged by Jenkins2:
cdr.c: Set stringfields only if they are different.

[https://gerrit.asterisk.org/6762|https://gerrit.asterisk.org/6762]

By: Friendly Automation (friendly-automation) 2017-10-13 17:12:33.751-0500

Change 6782 merged by Kevin Harwell:
cdr.c: Fix setting dnid, callingsubaddr, and calledsubaddr

[https://gerrit.asterisk.org/6782|https://gerrit.asterisk.org/6782]

By: Friendly Automation (friendly-automation) 2017-10-13 17:30:37.977-0500

Change 6777 merged by Jenkins2:
cdr.c: Set stringfields only if they are different.

[https://gerrit.asterisk.org/6777|https://gerrit.asterisk.org/6777]

By: Friendly Automation (friendly-automation) 2017-10-13 17:43:29.845-0500

Change 6783 merged by Jenkins2:
cdr.c: Set stringfields only if they are different.

[https://gerrit.asterisk.org/6783|https://gerrit.asterisk.org/6783]

By: Friendly Automation (friendly-automation) 2017-10-13 17:56:14.780-0500

Change 6763 merged by Jenkins2:
cdr.c: Defer getting ao2_global_obj_ref() until needed.

[https://gerrit.asterisk.org/6763|https://gerrit.asterisk.org/6763]

By: Friendly Automation (friendly-automation) 2017-10-13 18:14:18.814-0500

Change 6778 merged by Jenkins2:
cdr.c: Defer getting ao2_global_obj_ref() until needed.

[https://gerrit.asterisk.org/6778|https://gerrit.asterisk.org/6778]

By: Friendly Automation (friendly-automation) 2017-10-13 18:43:43.743-0500

Change 6764 merged by Jenkins2:
cdr.c: Eliminated many calls to ao2_global_obj_ref().

[https://gerrit.asterisk.org/6764|https://gerrit.asterisk.org/6764]

By: Friendly Automation (friendly-automation) 2017-10-16 05:45:08.812-0500

Change 6779 merged by Joshua Colp:
cdr.c: Eliminated many calls to ao2_global_obj_ref().

[https://gerrit.asterisk.org/6779|https://gerrit.asterisk.org/6779]

By: Friendly Automation (friendly-automation) 2017-10-16 05:45:42.358-0500

Change 6784 merged by Joshua Colp:
cdr.c: Defer getting ao2_global_obj_ref() until needed.

[https://gerrit.asterisk.org/6784|https://gerrit.asterisk.org/6784]

By: Friendly Automation (friendly-automation) 2017-10-16 05:45:52.606-0500

Change 6785 merged by Joshua Colp:
cdr.c: Eliminated many calls to ao2_global_obj_ref().

[https://gerrit.asterisk.org/6785|https://gerrit.asterisk.org/6785]

By: Friendly Automation (friendly-automation) 2017-10-17 10:42:08.503-0500

Change 6765 merged by Jenkins2:
cdr.c: Add container to key off of Party B channel names.

[https://gerrit.asterisk.org/6765|https://gerrit.asterisk.org/6765]

By: Friendly Automation (friendly-automation) 2017-10-17 10:45:16.313-0500

Change 6786 merged by Jenkins2:
cdr.c: Add container to key off of Party B channel names.

[https://gerrit.asterisk.org/6786|https://gerrit.asterisk.org/6786]

By: Friendly Automation (friendly-automation) 2017-10-17 11:06:38.288-0500

Change 6780 merged by Joshua Colp:
cdr.c: Add container to key off of Party B channel names.

[https://gerrit.asterisk.org/6780|https://gerrit.asterisk.org/6780]

By: Friendly Automation (friendly-automation) 2017-10-17 11:06:57.740-0500

Change 6787 merged by Joshua Colp:
cdr.c: Rename the Party A CDR container.

[https://gerrit.asterisk.org/6787|https://gerrit.asterisk.org/6787]

By: Friendly Automation (friendly-automation) 2017-10-17 11:07:06.858-0500

Change 6766 merged by Joshua Colp:
cdr.c: Rename the Party A CDR container.

[https://gerrit.asterisk.org/6766|https://gerrit.asterisk.org/6766]

By: Friendly Automation (friendly-automation) 2017-10-17 11:07:18.061-0500

Change 6781 merged by Joshua Colp:
cdr.c: Rename the Party A CDR container.

[https://gerrit.asterisk.org/6781|https://gerrit.asterisk.org/6781]