Summary: | ASTERISK-06836: [patch] Improve CPU-performance of MG2 ec | ||
Reporter: | Michael Gernoth (mgernoth) | Labels: | |
Date Opened: | 2006-04-24 07:39:09 | Date Closed: | 2006-05-08 06:19:02 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) mg2ec-performance.diff.txt | |
Description: | MG2 currently (in the worst case) loops through the last 256 input signals to determine if the signal is continous DC and needs to be passed through without cancellation. ****** ADDITIONAL INFORMATION ****** The attached patch gets rid of the loop and simply counts how long the last input signal was already seen previously. If this count exceeds 255 the input signal will not be cancelled. This should reduce CPU-usage and does not change the EC characteristics and algorithm. | ||
Comments: | By: BJ Weschke (bweschke) 2006-05-04 16:18:36 assigning to mattf as he is probably the one that can review this patch before committing. By: Matthew Fredrickson (mattf) 2006-05-08 06:18:10 Committed to trunk. Thanks!!! |