FLAC Audio Encoding

This test times how long it takes to encode a sample WAV file to FLAC format ten times.

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

28 September 2021

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

37 Seconds

Average Run Time

59 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

250k+ 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.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 1 December 2021.

Revision History

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

WAV To FLAC

OpenBenchmarking.org metrics for this test profile configuration based on 432 public results since 28 September 2021 with the latest data as of 2 December 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)
86th
11
12 +/- 1
Mid-Tier
75th
> 13
53rd
4
16 +/- 1
53rd
5
16 +/- 1
52nd
3
16 +/- 2
Median
50th
17
44th
4
18 +/- 1
34th
6
18 +/- 1
Low-Tier
25th
> 20
23rd
3
20 +/- 2
21st
3
21 +/- 1
16th
3
24 +/- 2
15th
4
24 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - WAV To FLAC422 Results Range From 10 To 937 Seconds10407010013016019022025028031034037040043046049052055058061064067070073076079082085088091094090180270360450

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

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 FLACDeviation246810Min: 0 / Avg: 0.21 / Max: 5

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 FLAC4681632640.40420.80841.21261.61682.021

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 MULSD ADDSD CVTSI2SD SUBSD UNPCKLPD DIVSD UCOMISD SQRTSD PUNPCKLQDQ ANDPD CVTTSD2SI ANDNPD CMPNLESD ORPD MOVDQU MOVD COMISD PADDQ XORPD CVTSD2SS CVTSS2SD PSRLDQ PSHUFD PSLLDQ CVTDQ2PS CVTPD2PS MAXSD PMULUDQ MINSD CVTDQ2PD SUBPD DIVPD MULPD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PABSD PALIGNR PHADDD
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 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 VPERMQ VPERM2I128 VPBROADCASTQ VPGATHERQD
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231SD VFMADD132SD VFMSUB231SS VFMADD231SS VFMSUB231SD VFMADD213SS VFNMADD231SD VFNMADD132SD VFMADD213SD VFMADD231PS VFMADD132PS VFNMADD132PD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 10 May 2021

This test profile binary relies on the shared libraries libFLAC.so.8, libm.so.6, libc.so.6.

Recent Test Results

OpenBenchmarking.org Results Compare

6 Systems - 60 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

CentOS Linux 8 - 4.18.0-348.el8.x86_64 - GNOME Shell 3.32.2

5 Systems - 227 Benchmark Results

Intel Core i9-10980XE - 32GB - 439GB

NetBSD 9.2 - 9.2 - X Server

1 System - 1 Benchmark Result

Intel Core i7-8565U - 16GB - 236GB

Ubuntu 20.04 - 4.4.0-17763-Microsoft - 1.0.2

4 Systems - 226 Benchmark Results

Intel Core i9-10980XE - Intel Sky Lake-E DMI3 Registers - 32GB

FreeBSD - 13.0-RELEASE - Clang 11.0.1

1 System - 48 Benchmark Results

2 x Intel Xeon E5-2690 0 - Dell 0KCKR5 - Intel Xeon E5

Gentoo - 5.11.21-gentoo-dist - GCC 11.2.0

5 Systems - 1 Benchmark Result

AMD Ryzen 7 5700U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 20.04 - 5.11.0-40-generic - GNOME Shell 3.36.9

3 Systems - 1 Benchmark Result

Intel Core i3-9100F - IPASON H310MHP - Intel 8th Gen Core 4-core Desktop

Kylin v10 - 5.10.0-5-generic - X Server 1.20.9

3 Systems - 226 Benchmark Results

Intel Core i9-10980XE - Intel Sky Lake-E DMI3 Registers - 32GB

DragonFly - 6.0-RELEASE - GCC 8.3

5 Systems - 1 Benchmark Result

AMD Ryzen 7 5700U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 20.04 - 5.11.0-40-generic - GNOME Shell 3.36.9

2 Systems - 222 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Clear Linux OS 35320 - 5.15.4-1100.native - GNOME Shell 41.1

1 System - 221 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Clear Linux OS 35320 - 5.15.4-1100.native - GNOME Shell 41.1

3 Systems - 126 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.04 - 5.11.0-31-generic - GNOME Shell 3.38.4

1 System - 188 Benchmark Results

Intel Core i7-8550U - Dell XPS 13 9370 [0H0VG3] - 2 x 4096 MB 1867MHz H9CCNNNBJTMLAR-NUD

Microsoft Windows 11 Home Build 22000 - 10.0 - 27.20.100.8681

1 System - 1 Benchmark Result

Intel Core i5-4690K - Acidanthera Mac-DB15BD556843C820 - Intel 4th Gen Core DRAM

Arch rolling - 5.15.5-arch1-1 - KDE Plasma 5.23.3

5 Systems - 1 Benchmark Result

AMD Ryzen 7 5700U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 20.04 - 5.11.0-40-generic - GNOME Shell 3.36.9

Most Popular Test Results

OpenBenchmarking.org Results Compare

5 Systems - 42 Benchmark Results

AMD FX-6300 Six-Core - ASUS M5A97 R2.0 - AMD RD9x0

Arch rolling - 5.14.12-zen1-1-zen - X Server 1.20.13

8 Systems - 364 Benchmark Results

2 x AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

6 Systems - 44 Benchmark Results

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

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

5 Systems - 8 Benchmark Results

Intel Core i7-4600U - LENOVO 20A7CTO1WW - Intel Haswell-ULT DRAM

Ubuntu 20.04 - 5.11.0-37-generic - X Server 1.20.11

4 Systems - 54 Benchmark Results

AMD Ryzen 7 5700G - ASUS TUF GAMING B550M-PLUS - AMD Renoir Root Complex

Ubuntu 21.10 - 5.14.0-rc7-amd-pstate-phx - GNOME Shell 40.2

5 Systems - 64 Benchmark Results

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

Arch Linux - 5.14.12-arch1-1 - GNOME Shell 40.5

4 Systems - 42 Benchmark Results

AMD FX-6300 Six-Core - ASUS M5A97 R2.0 - AMD RD9x0

Arch rolling - 5.14.12-zen1-1-zen - X Server 1.20.13

3 Systems - 42 Benchmark Results

AMD FX-6300 Six-Core - ASUS M5A97 R2.0 - AMD RD9x0

Arch rolling - 5.14.12-zen1-1-zen - X Server 1.20.13

2 Systems - 42 Benchmark Results

AMD FX-6300 Six-Core - ASUS M5A97 R2.0 - AMD RD9x0

Arch rolling - 5.14.12-zen1-1-zen - X Server 1.20.13

3 Systems - 15 Benchmark Results

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

Debian 10 - 4.19.0-10-amd64 - GCC 8.3.0

4 Systems - 60 Benchmark Results

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

Fedora Linux 35 - 5.14.12-300.fc35.x86_64 - GNOME Shell 41.0

3 Systems - 139 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - AMD Starship

Ubuntu 20.04 - 5.12.0-051200rc2daily20210307-generic - GNOME Shell 3.36.4

3 Systems - 124 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir

Ubuntu 21.10 - 5.15.0-051500rc4daily20211005-generic - GNOME Shell 40.5

3 Systems - 326 Benchmark Results

AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

Find More Test Results