Opus Codec Encoding

Opus is an open audio codec. Opus is a lossy audio compression format designed primarily for interactive real-time applications over the Internet. This test uses Opus-Tools and measures the time required to encode a WAV file to Opus.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark encode-opus.

Project Site

opus-codec.org

Test Created

4 October 2012

Last Updated

20 December 2020

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

28 Seconds

Average Run Time

3 Minutes, 55 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Vorbis

Accolades

100k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsOpus Codec Encoding Popularity Statisticspts/encode-opus2012.102013.012013.042013.072013.102014.012014.042014.072014.102015.012015.042015.072015.102016.012016.042016.072016.102017.012017.042017.072017.102018.012018.052018.082018.122019.032019.062019.092019.122020.032020.062020.122021.032021.062004006008001000
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data current as of 20 June 2021.

Revision History

pts/encode-opus-1.1.1   [View Source]   Sun, 20 Dec 2020 14:52:27 GMT
Enable Windows support, add flac build.

pts/encode-opus-1.1.0   [View Source]   Sun, 20 Dec 2020 14:03:35 GMT
Update against latest upstream.

pts/encode-opus-1.0.2   [View Source]   Sat, 07 Apr 2018 19:28:55 GMT
Deprecate this test profile.

pts/encode-opus-1.0.1   [View Source]   Thu, 04 Oct 2012 08:41:49 GMT
Add vorbis-development as an external dependency for encode-opus as it is needed for building the Opus tools.

pts/encode-opus-1.0.0   [View Source]   Thu, 04 Oct 2012 07:16:56 GMT
Initial commit of a simple test profile that measures the system performance at encoding and decoding to the Opus Audio Codec.

Suites Using This Test

Audio Encoding

Encoding

Creator Workloads


Performance Metrics

Analyze Test Configuration:

Opus Codec Encoding 1.3.1

WAV To Opus Encode

OpenBenchmarking.org metrics for this test profile configuration based on 596 public results since 20 December 2020 with the latest data as of 16 June 2021.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Seconds (Average)
85th
51
6.2 +/- 0.9
83rd
43
6.4 +/- 0.6
Mid-Tier
75th
> 7.1
73rd
9
7.2 +/- 0.1
69th
5
7.3 +/- 0.1
66th
5
7.5 +/- 0.1
60th
7
7.7 +/- 0.4
55th
9
8.0 +/- 0.2
Median
50th
8.4
50th
3
8.4 +/- 0.1
48th
9
8.6 +/- 0.1
42nd
5
9.0 +/- 0.1
37th
4
9.4 +/- 0.1
37th
15
9.4 +/- 0.2
31st
6
9.5 +/- 0.1
28th
3
9.7 +/- 0.1
Low-Tier
25th
> 9.8
25th
3
9.8 +/- 0.1
16th
3
10.7 +/- 0.1
7th
4
16.5 +/- 0.2
7th
6
18.2 +/- 0.3
3rd
3
43.3 +/- 0.1
1st
4
48.6 +/- 4.4
1st
3
63.5 +/- 1.6
OpenBenchmarking.orgDistribution Of Public Results - WAV To Opus Encode596 Results Range From 2 To 65 Seconds28142026323844505662687460120180240300

Based on OpenBenchmarking.org data, the selected test / test configuration (Opus Codec Encoding 1.3.1 - WAV To Opus Encode) has an average run-time of 2 minutes. By default this test profile is set to run at least 5 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkWAV To Opus EncodeRun-Time246810Min: 1 / Avg: 1.03 / Max: 3

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.2%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsWAV To Opus EncodeDeviation246810Min: 0 / Avg: 0.23 / Max: 2

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseOpus Codec Encoding CPU Core ScalingWAV To Opus Encode468121632640.46670.93341.40011.86682.3335

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
PUNPCKLQDQ MOVDQA MULSD CVTTSD2SI CVTSI2SD DIVSD COMISD MOVAPD SUBSD ADDSD MOVD XORPD PSHUFD PSHUFLW MOVDQU CVTDQ2PS CVTSS2SD CVTSD2SS CVTPS2PD ADDPD UNPCKHPD ANDPD UCOMISD CMPNLESD ANDNPD ORPD SQRTSD CVTTPS2DQ PUNPCKHQDQ MAXSD PSRLDQ PSLLDQ PADDQ CVTPD2PS PMULUDQ MINSD UNPCKLPD CVTDQ2PD SUBPD DIVPD MULPD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB PALIGNR PABSD
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VBROADCASTSS VEXTRACTF128 VINSERTF128 VPERM2F128 VPERMILPD VPERMILPS VBROADCASTSD
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTD VINSERTI128 VEXTRACTI128 VPERMD VGATHERDPS VPBROADCASTW VPERMPD VPERMQ VPERM2I128 VPSLLVD VPGATHERQD VPBROADCASTQ
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132SD VFNMADD132SD VFMADD231SS VFMADD231SD VFNMADD132PD VFNMADD231SD VFMADD132PD VFMADD213SD VFMSUB231SS VFNMADD231SS VFMADD231PS VFMADD132PS VFNMADD132PS VFNMADD132SS VFMADD132SS VFMSUB132SS VFMADD213SS VFMSUB132PS VFMADD213PS VFNMADD213SS VFNMADD213PS VFMSUB231PS VFNMADD231PS VFMADD213PD VFNMADD213SD VFNMADD213PD VFMADD231PD VFNMADD231PD VFMSUB132SD VFMSUB213PS
The test / benchmark does honor compiler flag changes.
Last automated analysis: 30 January 2021

This test profile binary relies on the shared libraries libopusenc.so.0, libopus.so.0, libFLAC.so.8, libogg.so.0, libm.so.6, libsndio.so.7.0, libc.so.6, librt.so.1, libasound.so.2, libbsd.so.0, libpthread.so.0, libdl.so.2.

Recent Test Results

OpenBenchmarking.org Results Compare

12 Systems - 43 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Fedora 34 - 5.12.9-300.fc34.x86_64 - GNOME Shell 40.1

2 Systems - 118 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Fedora 34 - 5.12.9-300.fc34.x86_64 - GNOME Shell 40.1

8 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-xanmod1-cacule - GCC 10.2.1 20210110

7 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-051208-generic - GCC 10.2.1 20210110

6 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 4.19.0-16-amd64 - GCC 10.2.1 20210110

5 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-051208-lowlatency - GCC 10.2.1 20210110

4 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-051208-lowlatency - GCC 10.2.1 20210110

3 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-051208-generic - GCC 10.2.1 20210110

2 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 10 - 4.19.0-16-amd64 - GCC 8.3.0

11 Systems - 454 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

1 System - 1 Benchmark Result

2 x Intel Xeon E5-2630 0 - Supermicro X9DR3-F - Intel Xeon E5

Ubuntu 20.04 - 5.8.0-41-generic - X Server 1.20.9

1 System - 190 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 10 - 4.19.0-16-amd64 - GCC 8.3.0

Most Popular Test Results

Find More Test Results