Ticket #2057 (closed enhancement: fixed)

Opened 2 weeks ago

Last modified 26 hours ago

Optimization: Improve conference mix loop performance

Reported by: ming Owned by: nanang
Priority: normal Milestone: release-2.8
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

When mixing hundreds or more ports, the mix loop is one of the bottlenecks. This ticket will reduce the CPU load substantially.

Thanks to Kal Conley (b17c0de) for the patch.

PJMEDIA test result using mips_test with 256 calls:

Clock  Item                                      Time     CPU    MIPS
 Rate                                           (usec)    (%)

without patch:
8KHz conference bridge with 256 calls            7391    0.739   59.88

with patch:
8KHz conference bridge with 256 calls            4888    0.489   39.60

Change History

comment:1 Changed 12 days ago by ming

  • Status changed from new to closed
  • Resolution set to fixed

In 5687:

Fixed #2057: Optimization: Improve conference mix loop performance

comment:2 Changed 26 hours ago by nanang

In 5698:

Re #2057: Fixed compile error on MSVC2005 due to var declaration not in the beginning of block (C89 interop).

Note: See TracTickets for help on using tickets.