LAME MP3 Encoding

LAME is an MP3 encoder licensed under the LGPL. This test measures the time required to encode a WAV file to MP3 format.

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

Test Created

6 December 2010

Last Updated

3 September 2019

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

38 Seconds

Average Run Time

2 Minutes, 12 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 20k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsLAME MP3 Encoding Popularity Statisticspts/encode-mp32010.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.0480K160K240K320K400K
* 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 15 June 2021.

Revision History

pts/encode-mp3-1.7.4   [View Source]   Tue, 03 Sep 2019 20:05:20 GMT
Fix for autoconf to help Arm patch, per https://github.com/phoronix-test-suite/test-profiles/issues/91

pts/encode-mp3-1.7.3   [View Source]   Thu, 17 Jan 2019 10:54:19 GMT
Add Windows support.

pts/encode-mp3-1.7.2   [View Source]   Sat, 03 Nov 2018 10:12:04 GMT
Fix patch from previous test profile update. Ref: https://github.com/phoronix-test-suite/test-profiles/issues/36

pts/encode-mp3-1.7.1   [View Source]   Sun, 23 Sep 2018 19:48:19 GMT
Build system fixes/updates for IBM POWER.

pts/encode-mp3-1.7.0   [View Source]   Wed, 07 Feb 2018 12:19:00 GMT
Update against upstream LAME 3.100 release.

pts/encode-mp3-1.6.0   [View Source]   Sat, 09 Sep 2017 11:32:43 GMT
Update against 3.99.5, include more download references

pts/encode-mp3-1.5.0   [View Source]   Mon, 15 Aug 2016 16:06:43 GMT
Add --enable-expopt=full to LAME build

pts/encode-mp3-1.4.0   [View Source]   Wed, 07 Dec 2011 11:52:31 GMT
Update encode-mp3 against upstream LAME 3.99.3

pts/encode-mp3-1.3.1   [View Source]   Mon, 06 Dec 2010 14:41:15 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:

LAME MP3 Encoding 3.100

WAV To MP3

OpenBenchmarking.org metrics for this test profile configuration based on 7,682 public results since 7 February 2018 with the latest data as of 14 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)
91st
7
8 +/- 1
90th
22
8 +/- 1
80th
8
10 +/- 1
76th
13
11 +/- 1
76th
14
11 +/- 1
Mid-Tier
75th
> 12
75th
13
12 +/- 1
72nd
6
12 +/- 1
65th
12
14 +/- 1
65th
18
14 +/- 1
58th
8
18 +/- 1
52nd
7
27 +/- 2
Median
50th
28
50th
3
29 +/- 3
45th
8
32 +/- 2
45th
10
32 +/- 1
41st
8
34 +/- 4
40th
11
35 +/- 1
37th
3
36 +/- 1
37th
3
36 +/- 1
35th
4
37 +/- 1
33rd
3
38 +/- 3
32nd
10
38 +/- 2
31st
3
39 +/- 1
30th
3
40 +/- 2
29th
20
41 +/- 4
27th
7
43 +/- 4
26th
3
44 +/- 1
Low-Tier
25th
> 44
24th
4
45 +/- 2
21st
5
47 +/- 2
20th
6
48 +/- 6
18th
5
50 +/- 4
16th
6
58 +/- 6
16th
3
58 +/- 1
16th
3
58 +/- 2
12th
3
75 +/- 1
11th
3
83 +/- 1
10th
4
86 +/- 1
9th
7
98 +/- 3
7th
3
112 +/- 8
5th
19
137 +/- 12
5th
4
154 +/- 1
3rd
4
296 +/- 1
2nd
65
320 +/- 24
1st
3
393 +/- 41
1st
25
482 +/- 61
OpenBenchmarking.orgDistribution Of Public Results - WAV To MP37682 Results Range From 5 To 1719 Seconds5468712816921025129233337441545649753857962066170274378482586690794898910301071111211531194123512761317135813991440148115221563160416451686172713002600390052006500

Based on OpenBenchmarking.org data, the selected test / test configuration (LAME MP3 Encoding 3.100 - WAV To MP3) has an average run-time of 2 minutes. By default this test profile is set to run at least 3 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 MP3Run-Time3691215Min: 1 / Avg: 1.66 / Max: 12

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 MP3Deviation3691215Min: 0 / Avg: 0.32 / Max: 7

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 BaseLAME MP3 Encoding CPU Core ScalingWAV To MP32468121620243248641.43542.87084.30625.74167.177

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.
 
CVTSS2SD COMISD MULSD MOVDQA PUNPCKLQDQ PMULUDQ PADDQ CVTSI2SD ADDSD CVTTSD2SI MOVDQU PSHUFD CVTDQ2PD ADDPD PSRLDQ MOVD MOVAPD UNPCKHPD DIVSD CVTTPS2DQ SUBSD XORPD CVTSD2SS MAXSD MINSD UNPCKLPD ANDPD CMPNLESD CVTPS2PD MULPD CVTPD2PS CVTDQ2PS MOVUPD MOVLPD MOVHPD SUBPD SQRTPD SQRTSD CMPLTPD DIVPD
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VINSERTF128 VEXTRACTF128 VPERM2F128 VBROADCASTSS VMASKMOVPS VPERMILPS VBROADCASTSD
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 Excavator (2016).

 
VPBROADCASTQ VPERMQ VEXTRACTI128 VPBROADCASTD VPERM2I128 VPMASKMOVQ VPGATHERDD VINSERTI128 VPERMPD VPERMD VGATHERDPS VPMASKMOVD VPBLENDD
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).

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

This test profile binary relies on the shared libraries libm.so.6, libmvec.so.1, libc.so.6.

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 15 Benchmark Results

AMD Ryzen 7 5800H - LENOVO LNVNB161216 - 2 x 16384 MB 3200MHz Samsung M471A2G43AB2-CWE

Microsoft Windows 10 Home Build 19042 - 10.0 - 461.56

1 System - 1 Benchmark Result

Intel Core i5-3210M - Type2 Board Vendor Name1 VA70_HC - Intel 3rd Gen Core DRAM

Ubuntu 21.04 - 5.11.0-18-generic - KDE Plasma 5.21.4

1 System - 3 Benchmark Results

ARMv7 Cortex-A72 - BCM2711 Raspberry Pi 400 Rev 1.0 - 4096MB

Raspbian 10 - 5.10.17-v7l+ - LXDE 0.10.0

31 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - Gigabyte B450 AORUS M - AMD 17h

Fedora 31 - 5.4.8-200.fc31.x86_64 - KDE Plasma 5.17.5

35 Systems - 69 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - ASUS ROG CROSSHAIR VII HERO - AMD Family 17h

Ubuntu 18.04 - 4.17.0-999-generic - GNOME Shell 3.28.1

30 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - ASUS ROG CROSSHAIR VII HERO - AMD Family 17h

Ubuntu 18.04 - 4.17.0-999-generic - GNOME Shell 3.28.1

32 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - ASUS ROG CROSSHAIR VII HERO - AMD Family 17h

Ubuntu 18.04 - 4.17.0-999-generic - GNOME Shell 3.28.1

31 Systems - 69 Benchmark Results

AMD Ryzen 9 5900X 12-Core - Gigabyte X570 AORUS PRO - AMD Starship

OpenMandrivaLinux 4.50 - 5.12.4-desktop-1omv4050 - KDE Plasma 5.21.5

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

31 Systems - 69 Benchmark Results

AMD Ryzen 7 1800X Eight-Core - ASUS ROG CROSSHAIR VII HERO - AMD Family 17h

Ubuntu 18.04 - 4.17.0-999-generic - GNOME Shell 3.28.1

7 Systems - 28 Benchmark Results

Rockchip ARMv8 Cortex-A53 - Firefly ROC-RK3328-CC - 2048MB

Ubuntu 18.04 - 4.4.114 - X Server 1.18.4

30 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - Gigabyte B450 AORUS M - AMD Family 17h

Fedora 30 - 5.3.5-200.fc30.x86_64 - KDE Plasma 5.15.5

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 268 Benchmark Results

Intel Core i5-2520M - HP 161C - Intel 2nd Generation Core DRAM

Ubuntu 18.04 - 4.18.0-20-generic - GNOME Shell 3.28.3

2 Systems - 535 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Device 34ef

Ubuntu 20.04 - 5.9.0-050900rc7daily20201003-generic - GNOME Shell 3.36.4

11 Systems - 217 Benchmark Results

AMD Ryzen 5 2600X Six-Core - ASUS ROG CROSSHAIR VIII HERO - AMD 17h

Ubuntu 20.04 - 5.9.0-050900-generic - GNOME Shell 3.36.4

4 Systems - 55 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

Ubuntu 20.04 - 5.4.0-9-generic - GNOME Shell 3.34.3

1 System - 538 Benchmark Results

ARMv7 rev 1 - Marvell Armada 380/385 - 2048MB

Debian GNU - 4.4.0+ - GCC 4.9.2

1 System - 201 Benchmark Results

Unknown - Pine64 Rock64 - 4096MB

Ubuntu 18.04 - 4.4.120-rockchip-ayufan-213 - GCC 7.3.0

1 System - 476 Benchmark Results

Unknown - Marvell 8040 MACCHIATOBin - 16384MB

Ubuntu 18.04 - 4.14.22-150490-gd265712 - GCC 7.3.0

1 System - 855 Benchmark Results

Intel Core i5-5300U - LENOVO Intel powered classmate PC - Intel Broadwell-U-OPI

Kali kali-rolling - 4.15.0-kali3-amd64 - GNOME Shell 3.28.0

1 System - 1269 Benchmark Results

Intel Core i5-4570 - ASRock Z87 Extreme4 - Intel 4th Gen Core DRAM

Ubuntu 18.04 - 4.15.0-20-generic - GNOME Shell 3.28.1

1 System - 813 Benchmark Results

ARMv7 rev 5 - BCM2835 Raspberry Pi 2 Model B Rev 1.1 - 927MB

Raspbian 9.4 - 4.14.34-v7+ - GCC 6.3.0 20170516

12 Systems - 209 Benchmark Results

POWER9 - PowerNV T2P9D01 REV 1.01 - 65536MB

Fedora 31 - 5.3.0-0.rc0.git4.1.fc31.ppc64le - GNOME Shell 3.33.3

Find More Test Results