Speex hardware: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
(→‎Performance results for Cirrus Logic EDB9315A @ 200MHz: Added info about gcc version and optimization level)
Line 33: Line 33:
* '''Preprocessing''': no, just bare encoding/decoding
* '''Preprocessing''': no, just bare encoding/decoding
* '''OS''': Linux, shipped with development board
* '''OS''': Linux, shipped with development board
* '''Compiler''': gcc
* '''Compiler''': gcc-4.1.2 with -O2
* '''CPU info''':
* '''CPU info''':
<pre>
<pre>

Revision as of 07:38, 23 May 2008

Please list any experience/knowledge you've had with Speex on the following hardware, including model, minimum speed required for real-time or other observations. When providing benchmarks, please specify:

  • CPU speed
  • Speex version
  • Sampling rate (narrowband vs wideband)
  • Bit-rate
  • Complexity setting
  • Any other option that isn't the default
  • Compiler (and version)

See also supported CPU and optimization flags here - http://www.speex.org/docs/manual/speex-manual/node5.html


x86

  • SSE optimisations (intrinsics)

Power

  • No Altivec support yet

ARM

  • Port with gcc inline assembly.

Performance results for Cirrus Logic EDB9315A @ 200MHz

Tests were run with following configuration:

  • Speex svn rev: 13928
  • Fixed point (though this CPU have hardware floating-point, we were interested in fixed point operation at that moment).
  • Narrow-Band
  • Complexity set either to defailt (2) or to 1, I do not recall exactly now :( But I think results will not differ considerably.
  • DTX: no
  • Preprocessing: no, just bare encoding/decoding
  • OS: Linux, shipped with development board
  • Compiler: gcc-4.1.2 with -O2
  • CPU info:
# cat /proc/cpuinfo
Processor       : ARM920Tid(wb) rev 0 (v4l)
BogoMIPS        : 192.92
Features        : swp half thumb
CPU implementer : 0x41
CPU architecture: 4T
CPU variant     : 0x1
CPU part        : 0x920
CPU revision    : 0
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format A
Cache format    : Harvard
I size          : 16384
I assoc         : 64
I line length   : 32
I sets          : 8
D size          : 16384
D assoc         : 64
D line length   : 32
D sets          : 8

Hardware        : Cirrus Logic edb9315a
Revision        : 0000
Serial          : 0000000000000000
Speex NB performance on Cirrus EDB9315A @ 200MHz
mode=2 mode=3 mode=4 mode=5 mode=6 mode=7 mode=8
encoding 1 frame (20ms of auido) 3.7ms 3.3ms 4.5ms 3.7ms 5.8ms 4.7ms 3.2ms
decoding 1 frame (20ms of auido) 0.45ms 0.5ms 0.5ms 0.5ms 0.5ms 0.55ms 0.45ms

Please, note, that these values may be inaccurate and may be different in your system. E.g. different version of gcc produce different results. These values should rather give you rough idea on how Speex performance looks like.

PocketPC 2003, Intel PXA270 312 MHz

Benny Prijono on speex-dev mailing list said:

I can get good quality voice call on my PDA (PocketPC 2003, Intel PXA270 312 MHz).
So my settings now (I use embeded Visual C++ 4 latest SP):
 - plain C (not ARM assembly), fixed point version of speex (r12832)
 - quality/complexity set to 5 (previously it was 0-1). 3-4 is also okay, but obviously quality is not as good.
 - compiler set to optimize for maximum speed (/Oxt flag, previously it was default, which is mapped to /O2).

I tried with narrowband only, and audio is good. I also tried with
adding compiler flags which I thought would be appropriate for my
processor ("/QRarch5T /QRdsp /QRxscale" options), but lacking a good
CPU monitor I don't how much improvement I got. My task manager showed
that the CPU usage for my app is 3%, obviously this is wrong.

Blackfin

  • Port with gcc inline assembly.

TI C5x

  • Known to run

TI C6x

  • Known to run

Coldfire

  • Used by Rockbox

Trimedia

  • Someone did some optimisations for that but it never got fully merged.

Symbian phones model

  • In order to make life easier for developer, let's also publish on which Symbian based phones speex works

Windows Mobile Phones

  • In order to make life easier for developer, let's also publish on which Pocket PC / Windows Mobile based phones speex works

CPU monitoring software

Links collection of past experience

  • In order to make such hardware support task more easier in the beginning let's collect all the links to experience on running speex on specific phones model