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 five times.

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

Project Site

opus-codec.org

Source Repository

github.com

Test Created

4 October 2012

Last Updated

21 April 2023

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

4 Minutes, 57 Seconds

Average Run Time

1 Minute, 25 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Vorbis

Accolades

150k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsOpus Codec Encoding Popularity Statisticspts/encode-opus2012.102013.022013.062013.102014.022014.062014.102015.022015.062015.102016.022016.062016.102017.022017.062017.102018.022018.072018.122019.042019.082019.122020.042020.102021.032021.072021.112022.032022.072022.112023.032023.072023.112024.038K16K24K32K40K
* 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 updated weekly as of 15 June 2024.

Revision History

pts/encode-opus-1.4.0   [View Source]   Fri, 21 Apr 2023 10:31:36 GMT
Update against Opus 1.4 upstream.

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.4

WAV To Opus Encode

OpenBenchmarking.org metrics for this test profile configuration based on 231 public results since 21 April 2023 with the latest data as of 7 June 2024.

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.

OpenBenchmarking.orgDistribution Of Public Results - WAV To Opus Encode231 Results Range From 17 To 187 Seconds1730435669829510812113414716017318619920406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Opus Codec Encoding 1.4 - WAV To Opus Encode) has an average run-time of 4 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-Time48121620Min: 2 / Avg: 3.22 / Max: 16

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

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

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.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseOpus Codec Encoding CPU Core ScalingWAV To Opus Encode468160.39580.79161.18741.58321.979

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 MOVUPD UNPCKLPD MULPD MOVHPD SHUFPD CVTPD2PS PMULUDQ MINSD SUBPD CVTDQ2PD DIVPD
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 VINSERTF128 VPERM2F128 VPERMILPS VEXTRACTF128 VPERMILPD VBROADCASTSD
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTD VPERMD VEXTRACTI128 VINSERTI128 VGATHERDPS VPBROADCASTW VPERMPD VPERMQ VPERM2I128 VPGATHERQD VPBROADCASTQ
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD213PD VFMADD213SD VFMADD231PD VFMADD132PD VFMADD231SD VFMADD132SD VFNMADD132SD VFMADD231SS VFNMADD132PD VFNMADD231SD VFMSUB231SS VFNMADD231SS VFMADD231PS VFMADD132PS VFNMADD132PS VFNMADD132SS VFMADD132SS VFMSUB132SS VFMADD213SS VFMSUB132PS VFMADD213PS VFNMADD213SS VFNMADD213PS VFMSUB231PS VFNMADD231PS VFNMADD213SD VFNMADD213PD VFNMADD231PD VFMSUB132SD VFMSUB213PS
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 24 June 2023

This test profile binary relies on the shared libraries libopusenc.so.0, libopus.so.0, libFLAC.so.12, libm.so.6, libc.so.6, libogg.so.0.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
RISC-V 64-bit
riscv64
rv64imafdcvsu
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-V2 72-Core, Apple M2, Rockchip ARMv8 Cortex-A76 4-Core, rk1-mainline-emmc, rk1-mainline-nvme, rk1-rok-emmc

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 377 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASUS ROG STRIX X370-F GAMING - AMD Starship

Linuxmint 21.3 - 6.5.0-35-lowlatency - X Server 1.21.1.4

4 Systems - 532 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

5 Systems - 233 Benchmark Results

AMD Ryzen 5 5600G - ASRock B550M Pro4 - AMD Renoir

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

4 Systems - 469 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

4 Systems - 323 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

3 Systems - 305 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

3 Systems - 205 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

2 Systems - 138 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Debian 12 - 6.1.0-20-amd64 - LXQt 1.2.0

2 Systems - 44 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Debian 12 - 6.1.0-20-amd64 - LXQt 1.2.0

4 Systems - 145 Benchmark Results

4 Systems - 42 Benchmark Results

AMD Ryzen 5 5600G - ASRock B550M Pro4 - AMD Renoir

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

3 Systems - 42 Benchmark Results

AMD Ryzen 5 5600G - ASRock B550M Pro4 - AMD Renoir

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

2 Systems - 18 Benchmark Results

AMD Ryzen 5 5600G - ASRock B550M Pro4 - AMD Renoir

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

1 System - 489 Benchmark Results

rk1-mainline-nvme - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 215 Benchmark Results

AMD EPYC 7343 16-Core - Supermicro H12SSL-i v1.02 - 8 x 64 GB DDR4-3200MT

AlmaLinux 9.1 - 5.14.0-162.12.1.el9_1.x86_64 - GCC 11.3.1 20220421

2 Systems - 608 Benchmark Results

2 Systems - 111 Benchmark Results

AMD Ryzen 7 6800U - System76 Pangolin - AMD Device 14b5

Pop 22.04 - 6.2.6-76060206-generic - GNOME Shell 42.5

3 Systems - 197 Benchmark Results

2 x AMD EPYC 7773X 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.4

2 Systems - 35 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - ASRock X670E PG Lightning - AMD Device 14d8

Ubuntu 22.10 - 5.19.0-23-generic - GNOME Shell 43.0

2 Systems - 191 Benchmark Results

AMD Ryzen Z1 Extreme - ASUS RC71L v1.0 - AMD Device 14e8

Ubuntu 23.04 - 6.4.0-060400rc6-generic - GNOME Shell 44.2

2 Systems - 234 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

3 Systems - 49 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

2 Systems - 234 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

3 Systems - 37 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 22.04 - 5.19.0-38-generic - GNOME Shell 42.2

3 Systems - 22 Benchmark Results

AMD Ryzen 5 5500U - NB01 NL5xNU - AMD Renoir

Tuxedo 22.04 - 6.0.0-1010-oem - KDE Plasma 5.26.5

2 Systems - 35 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - ASRock X670E PG Lightning - AMD Device 14d8

Ubuntu 22.10 - 5.19.0-23-generic - GNOME Shell 43.0

2 Systems - 17 Benchmark Results

AMD EPYC 7551 32-Core - GIGABYTE MZ31-AR0-00 v01010101 - AMD 17h

Debian 11 - 5.10.0-9-amd64 - GCC 10.2.1 20210110

Find More Test Results