FLAC Audio Encoding

This test times how long it takes to encode a sample WAV file to FLAC audio format ten times using the --best preset settings.

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

Project Site

xiph.org

Source Repository

github.com

Test Created

6 December 2010

Last Updated

22 October 2022

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

34 Seconds

Average Run Time

40 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 10k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsFLAC Audio Encoding Popularity Statisticspts/encode-flac2010.122011.042011.082011.122012.042012.082012.122013.042013.082013.122014.042014.082014.122015.042015.082015.122016.042016.082016.122017.042017.082017.122018.042018.082018.122019.042019.082019.122020.042020.082020.122021.042021.082021.122022.042022.082022.1260K120K180K240K300K
* 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 28 January 2023.

Revision History

pts/encode-flac-1.8.1   [View Source]   Sat, 22 Oct 2022 07:35:52 GMT
Update against FLAC 1.4.2 for latest build system fixes / compiler improvemnts.

pts/encode-flac-1.8.0   [View Source]   Fri, 09 Sep 2022 10:52:08 GMT
Update against new upstream FLAC 1.4 release. Also new release takes care of FLAC AArch64 issue noted in: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/668

pts/encode-flac-1.7.0   [View Source]   Tue, 28 Sep 2021 16:05:54 GMT
Update against (belated) FLAC 1.3.3 upstream release and add system dependency check for Ogg header.

pts/encode-flac-1.6.0   [View Source]   Sun, 04 Mar 2018 09:38:58 GMT
Update against FLAC 1.3.2 from 1.3.1, add Windows support.

pts/encode-flac-1.5.0   [View Source]   Thu, 27 Nov 2014 14:14:40 GMT
Change encode-flac run times for audio conversion to three due to fast run times on modern CPUs.

pts/encode-flac-1.4.0   [View Source]   Thu, 27 Nov 2014 14:09:10 GMT
Update encode-flac against new upstream FLAC 1.3.1 release.

pts/encode-flac-1.3.0   [View Source]   Fri, 21 Jun 2013 14:40:13 GMT
Update against upstream Xiph.Org FLAC 1.3.0.

pts/encode-flac-1.2.0   [View Source]   Mon, 06 Dec 2010 14:41:03 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Audio Encoding

C/C++ Compiler Tests

Encoding

CPU Massive

Creator Workloads

Single-Threaded


Performance Metrics

Analyze Test Configuration:

FLAC Audio Encoding 1.4

WAV To FLAC

OpenBenchmarking.org metrics for this test profile configuration based on 459 public results since 9 September 2022 with the latest data as of 21 January 2023.

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)
82nd
4
13
78th
14
14
Mid-Tier
75th
> 14
55th
6
18 +/- 1
Median
50th
18
39th
6
20 +/- 2
Low-Tier
25th
> 21
10th
4
39 +/- 2
OpenBenchmarking.orgDistribution Of Public Results - WAV To FLAC459 Results Range From 9 To 565 Seconds933578110512915317720122524927329732134536939341744146548951353756158590180270360450

Based on OpenBenchmarking.org data, the selected test / test configuration (FLAC Audio Encoding 1.4 - WAV To FLAC) 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 FLACRun-Time612182430Min: 1 / Avg: 3.53 / Max: 25

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsWAV To FLACDeviation510152025Min: 0 / Avg: 0.33 / Max: 18

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 BaseFLAC Audio Encoding CPU Core ScalingWAV To FLAC46812160.38330.76661.14991.53321.9165

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.
 
MOVDQA MOVAPD ADDSD MULSD CVTSI2SD SUBSD MOVUPD UNPCKLPD MULPD ADDPD DIVSD DIVPD UCOMISD SQRTSD PUNPCKLQDQ MOVD ANDPD CVTTSD2SI ANDNPD CMPNLESD ORPD MOVDQU COMISD PSHUFD PADDQ XORPD CVTSD2SS CVTSS2SD PSRLDQ PSLLDQ CVTDQ2PS CVTPS2PD UNPCKHPD MOVHPD SHUFPD CVTPD2PS MAXSD PMULUDQ MINSD SUBPD PSHUFLW CVTDQ2PD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PABSD PALIGNR
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 VPERMQ VPERM2I128 VPGATHERQQ VPBROADCASTQ VPERMPD VPGATHERQD VPBROADCASTW
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 VFMSUB231SS VFMADD231SS VFMSUB231SD VFNMADD231SD VFNMADD132SD VFNMADD132SS VFMADD132SS VFNMADD231SS VFNMADD132PD
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: 17 November 2022

This test profile binary relies on the shared libraries 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
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
arm64
Apple M1, Apple M2
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 2-Core, ARMv8 Neoverse-N1, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M2, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

128 Systems - 1156 Benchmark Results

2 x Intel Xeon E5-2680 v2 - Supermicro X9DR3-F v0123456789 - Intel Xeon E7 v2

Arch Linux - 6.1.6-arch1-1 - GCC 12.2.0

128 Systems - 1156 Benchmark Results

1 System - 12 Benchmark Results

Intel Core i7-8550U - LENOVO 20L70053GE - Intel Xeon E3-1200 v6

Debian - 6.0.0-5-amd64 - X Server 1.21.1.5

1 System - 3 Benchmark Results

2 x Intel Xeon E5-2680 v2 - Supermicro X9DR3-F v0123456789 - Intel Xeon E7 v2

Arch Linux - 6.1.6-arch1-1 - GCC 12.2.0

1 System - 12 Benchmark Results

AMD Ryzen 5 5600G - MSI B450M PRO-M2 MAX - AMD Renoir

Linuxmint 21 - 5.15.0-58-generic - Cinnamon 5.4.12

1 System - 1 Benchmark Result

1 System - 1 Benchmark Result

1 System - 1 Benchmark Result

AMD EPYC 7543P 32-Core - Blade ShadowM - 1 x 16384 MB 2400MHz Blade 1ZQ4MK3LGOJCSK-LY6

Microsoft Windows 10 Famille Build 19045 - 10.0.19045.2364 - 526.98

1 System - 1 Benchmark Result

AMD EPYC 7543P 32-Core - Blade ShadowM - 1 x 16384 MB 2400MHz Blade 1ZQ4MK3LGOJCSK-LY6

Microsoft Windows 10 Famille Build 19045 - 10.0.19045.2364 - 526.98

1 System - 1 Benchmark Result

AMD64 23 Model 113 Stepping 0 AuthenticAMD - 1863GB - (2100

Microsoft Windows [Version 10.0.19045.2486] - 10.0 - 527.56

1 System - 1 Benchmark Result

AMD64 23 Model 113 Stepping 0 AuthenticAMD - 1863GB - (2100

Microsoft Windows [Version 10.0.19045.2486] - 10.0 - 527.56

1 System - 1 Benchmark Result

AMD64 23 Model 113 Stepping 0 AuthenticAMD - 1863GB - (2100

Microsoft Windows [Version 10.0.19045.2486] - 10.0 - 527.56

1 System - 1 Benchmark Result

AMD64 23 Model 113 Stepping 0 AuthenticAMD - 1863GB

Microsoft Windows [Version 10.0.19045.2486] - 10.0 - Unknown

1 System - 1 Benchmark Result

AMD Ryzen 9 3900X 12-Core - ASUS PRIME X570-PRO - 4 x 8192 MB 2133MHz F4-3600C16-8GVK

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.2486 - 527.56

1 System - 1 Benchmark Result

AMD Ryzen 9 3900X 12-Core - ASUS PRIME X570-PRO - 4 x 8192 MB 2133MHz F4-3600C16-8GVK

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.2486 - 527.56

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 16 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Alder Lake-S PCH

Ubuntu 22.04 - 5.17.0-1013-oem - GNOME Shell 42.2

4 Systems - 11 Benchmark Results

Intel Core i7-1280P - MSI MS-14C6 - Intel Alder Lake PCH

Ubuntu 22.10 - 5.15.0-27-generic - GNOME Shell

2 Systems - 13 Benchmark Results

Intel Core i5-12600K - ASUS PRIME Z690-P WIFI D4 - Intel Device 7aa7

Ubuntu 22.04 - 5.19.0-051900rc6daily20220716-generic - GNOME Shell 42.1

3 Systems - 11 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

7 Systems - 14 Benchmark Results

AMD G-T56N - HP 17E2 - AMD 14h Root Complex

Debian 11 - 5.10.0-18-amd64 - 1.0.2

3 Systems - 88 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.17.0-1013-oem - GNOME Shell 42.2

2 Systems - 30 Benchmark Results

Intel Core i7-3770 - Dell 0M9KCM - Intel Xeon E3-1200 v2

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

9 Systems - 113 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

2 Systems - 705 Benchmark Results

2 x AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

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

3 Systems - 172 Benchmark Results

Intel Core i5-12400 - MSI PRO Z690-A WIFI DDR4 - Intel Device 7aa7

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

2 Systems - 226 Benchmark Results

AMD Ryzen Threadripper 1920X 12-Core - ASRock X399 Taichi - AMD 17h

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

4 Systems - 84 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

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

3 Systems - 132 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.18.0-051800rc2daily20220411-generic - GNOME Shell 42.0

3 Systems - 164 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 29 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 21.10 - 5.13.0-52-generic - GNOME Shell 40.5

Find More Test Results