Changes between Version 1 and Version 2 of PJMEDIA-MIPS


Ignore:
Timestamp:
Jul 4, 2008 11:33:31 PM (16 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PJMEDIA-MIPS

    v1 v2  
    44 
    55All the results below are done with the stock settings that come with PJSIP distribution. The test source is in {{{pjmedia/src/test}}} directory. 
     6 
     7== Test Method == 
     8 
     9Each test should measure the overall performance for both directions. So for example for resampling, the test shows the total upsample and downsample time in a single test,  and for codec it will show the total encoding and decoding time. 
     10 
     11The test program depends on a correct setting of MIPS value of the processor being set correctly during compilation time. The test uses strictly one thread only. 
     12 
    613 
    714== Interpreting the Results == 
     
    2027 From the elapsed time above, we can measure how much CPU usage needed to run this component in real-time. For example, if the time elapsed is 1 second (one million microseconds) then this component will take 100% of CPU time when run in real-time. Or if the time elapsed is 0.5 second (500 thousands microseconds) then this component will take 50% of the CPU time when run in real-time. 
    2128 
     29 The CPU percentage maybe larger than 100% if the time taken to process 1 second worth of audio samples is more than 1 second. 
     30 
    2231 '''MIPS:''' :: 
    23  Also from the elapsed time above, we can measure the MIPS needed to run this component in real-time.  
     32 Also from the elapsed time above, we can measure the MIPS needed to run this component in real-time, since we know (or we can assume) the MIPS value of the processor. 
    2433 
    2534 
     
    3241 
    3342 '''conference bridge with N call(s):''' :: 
    34   This measures the performance of the conference bridge with N calls. Note that we don't use actual call for the test since we only want to measure the conference bridge performance and not codec performance (this will be measured in separate tests). So for this test we use memplayer for each ''call'' to supply audio to the bridge. 
     43  This measures the performance of the conference bridge with N calls. Note that we don't use actual call for the test since we only want to measure the conference bridge performance and not codec performance (this will be measured in separate tests). So for this test we use memplayer for each ''call'' to supply audio to the bridge. During the test all the calls (ports) will be connected to port zero and port zero will be connected to all calls. No connection among calls is created. 
    3544 
    3645 '''upsample+downsample:''' :: 
     
    3847 
    3948 '''WSOLA PLC - N% loss:''' :: 
    40   This measures the performance of Waveform Similarity based Overlap and Add (WSOLA) algorithm when it is used to generate/emulate lost packet (a.k.a Packet Lost Concealment/PLC). Timing for various loss percentage is shown. 
     49  This measures the performance of Waveform Similarity based Overlap and Add (WSOLA) algorithm when it is used to generate/emulate lost packet (a.k.a Packet Lost Concealment/PLC). Timing for various loss percentage is shown. The WSOLA algorithm is used by both the delay buffer and PLC algorithm in pjmedia. The delay buffer itself is used by the splitcomb, sound port, and the conference bridge to adapt to audio burst and clock drifts. 
    4150 
    4251 '''WSOLA discard N% excess:''' :: 
    43   This measures the performance of Waveform Similarity based Overlap and Add (WSOLA) algorithm when it is used to discard excess audio samples (e.g. caused by clock drifts). Timing for various excess percentage is shown. 
     52  This measures the performance of Waveform Similarity based Overlap and Add (WSOLA) algorithm when it is used to discard excess audio samples (e.g. caused by clock drifts). Timing for various excess percentage is shown. The WSOLA algorithm is used by both the delay buffer and PLC algorithm in pjmedia. The delay buffer itself is used by the splitcomb, sound port, and the conference bridge to adapt to audio burst and clock drifts. 
    4453 
    4554 '''echo canceller Nms tail len:''' :: 
    46   This measures the performance of the acoustic echo canceller (AEC) for various echo tail settings. 
     55  This measures the performance of the acoustic echo canceller (AEC) for various echo tail settings. The audio source is taken from memplayer, and there is no acoustic delay in the audio samples. 
    4756 
    4857 '''tone generator with single/dual freq:''' ::