[opus] AM335x ARM Cortex-A8 performance drop opus 1.1

Sebastian Reimers service at it-sreimers.de
Fri Oct 18 07:11:33 PDT 2013


Hello!,

i've just compared the 1.0.3 release with the master branch
on a BeagleBone Black (AM335x 1GHz ARM Cortex-A8 with NEON
floating-point accelerator) and Arch Linux ARM.

At the moment I dont no why, but I see that 1.1 is much slower
in encoding. Are there any default changes, that I missed and could
explain this? Normaly I suggested a better performance with 1.1 and
the ARM optimizations.

Please let me know, if you need more informations.

opus-tools version 0.1.7


[root at studio-connect.de audio]# opusenc music_orig.wav music_orig.opus
Encoding using libopus 1.0.3 (audio)
-----------------------------------------------------
   Input: 48kHz 2 channels
  Output: 2 channels (2 coupled)
          20ms packets, 96kbit/sec VBR
 Preskip: 312

Encoding
complete                                                                      
-----------------------------------------------------
       Encoded: 1 minute and 30.82 seconds
       Runtime: 1 minute and 8 seconds
                (1.336x realtime)
         Wrote: 1106810 bytes, 4541 packets, 93 pages
       Bitrate: 96.7055kbit/s (without overhead)
 Instant rates: 76kbit/s to 165.6kbit/s
                (190 to 414 bytes per packet)
      Overhead: 0.81% (container+metadata)


[root at studio-connect.de audio]# opusenc music_orig.wav
music_orig.opus1.1
Encoding using libopus unknown (audio)
-----------------------------------------------------
   Input: 48kHz 2 channels
  Output: 2 channels (2 coupled)
          20ms packets, 96kbit/sec VBR
 Preskip: 312

Encoding
complete                                                                      
-----------------------------------------------------
       Encoded: 1 minute and 30.82 seconds
       Runtime: 1 minute and 24 seconds
                (1.081x realtime)
         Wrote: 1263224 bytes, 4541 packets, 93 pages
       Bitrate: 110.387kbit/s (without overhead)
 Instant rates: 24.4kbit/s to 197.2kbit/s
                (61 to 493 bytes per packet)
      Overhead: 0.796% (container+metadata)

Compiler Options:

-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4

same results with:

-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe
-fstack-protector --param=ssp-buffer-size=4

nice regards

Sebastian Reimers

------------------------------------------
IT-Service Sebastian Reimers
Am blanken Boom 14
32369 Rahden
Festnetz: 05776-137324
Fax-Nummer: 05221-17242088
Skype: miete-admin
E-Mail: service at it-sreimers.de
Internet: www.it-sreimers.de
Internet: www.miete-admin.de
Steuernummer: 331/5079/2619
UST-IdNr.: DE239109607
------------------------------------------



More information about the opus mailing list