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, 14 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 20k+ Public Benchmark Results

Supported Platforms


Public Result UploadsTest Completions*Reported Installs*OpenBenchmarking.orgEventsLAME MP3 Encoding Popularity Statisticspts/encode-mp32011.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
* 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.
Data current as of Sat, 10 Apr 2021 10:01:24 GMT.

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,340 public results since 7 February 2018 with the latest data as of 10 April 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
# Matching Public Results
Seconds (Average)
81st
8
10 +/- 1
77th
13
11 +/- 1
76th
14
11 +/- 1
76th
13
12 +/- 1
Mid-Tier
75th
> 12
73rd
6
12 +/- 1
67th
12
14 +/- 1
66th
18
14 +/- 1
54th
7
27 +/- 2
52nd
3
29 +/- 3
Median
50th
30
47th
8
32 +/- 2
46th
10
32 +/- 1
42nd
8
34 +/- 4
41st
11
35 +/- 1
38th
3
36 +/- 1
38th
3
36 +/- 1
36th
4
37 +/- 1
34th
3
38 +/- 3
34th
10
38 +/- 2
33rd
3
39 +/- 1
30th
20
41 +/- 4
28th
7
43 +/- 4
27th
3
44 +/- 1
Low-Tier
25th
> 45
25th
4
45 +/- 2
22nd
5
47 +/- 2
21st
6
48 +/- 6
19th
5
50 +/- 4
16th
6
58 +/- 6
16th
3
58 +/- 1
16th
3
58 +/- 2
12th
3
75 +/- 1
11th
3
83 +/- 1
11th
4
86 +/- 1
9th
7
98 +/- 3
8th
3
112 +/- 8
5th
18
137 +/- 12
5th
4
154 +/- 1
3rd
4
296 +/- 1
2nd
64
320 +/- 24
1st
3
393 +/- 41
1st
25
482 +/- 61
OpenBenchmarking.orgDistribution Of Public Results - WAV To MP37339 Results Range From 5 To 1719 Seconds5468712816921025129233337441545649753857962066170274378482586690794898910301071111211531194123512761317135813991440148115221563160416451686172712002400360048006000

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-Time48121620Min: 1 / Avg: 1.68 / Max: 13

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.31 / 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.40212.80424.20635.60847.0105

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

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

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

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

Recent Test Results

OpenBenchmarking.org Results Compare

12 Systems - 453 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

2 Systems - 4 Benchmark Results

Intel Xeon E5-1660 0 - Dell 0PTTT9 - Intel Xeon E5

Gentoo - 5.4.97-gentoo - KDE Plasma 5.20.5

1 System - 6 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

1 System - 5 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

1 System - 5 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

2 Systems - 5 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

2 Systems - 5 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

5 Systems - 6 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

1 System - 5 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

4 Systems - 6 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

3 Systems - 6 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

5 Systems - 6 Benchmark Results

Intel Xeon E5-2676 v3 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1038-aws - GCC 9.3.0

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

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

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

11 Systems - 217 Benchmark Results

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

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 Device 15d0

Ubuntu 18.04 - 5.3.0-28-generic - GNOME Shell 3.28.4

12 Systems - 209 Benchmark Results

POWER9 - PowerNV C1P9S01 REV 1.01 - 131072MB

Ubuntu 19.04 - 5.0.0-17-generic - GCC 9.1.0

3 Systems - 30 Benchmark Results

MIPS P5600 V3.0 FPU V2.0 - Baikal-T1 BFK3 evaluation board - 2048MB

Debian 9.3 - 4.4.100-bfk3 - GCC 6.3.0 20170516 + Clang 3.8.1-24 + LLVM 3.8.1

2 Systems - 178 Benchmark Results

AMD Ryzen Threadripper 1950X 16-Core - Gigabyte X399 AORUS Gaming 7 - AMD Family 17h

Ubuntu 18.04 - 4.15.2-041502-generic - GNOME Shell 3.26.2

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

8 Systems - 360 Benchmark Results

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

Ubuntu 19.10 - 5.4.0-999-generic - GNOME Shell 3.34.1

Find More Test Results