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

40 Seconds

Average Run Time

2 Minutes, 17 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.042021.08100K200K300K400K500K
* 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 26 November 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 8,115 public results since 7 February 2018 with the latest data as of 28 November 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)
88th
23
8 +/- 1
78th
8
10 +/- 1
Mid-Tier
75th
> 11
74th
13
11 +/- 1
74th
14
11 +/- 1
73rd
13
12 +/- 1
70th
6
12 +/- 1
64th
12
14 +/- 1
63rd
18
14 +/- 1
57th
8
18 +/- 1
Median
50th
27
50th
7
27 +/- 2
48th
3
29 +/- 3
44th
8
32 +/- 2
43rd
10
32 +/- 1
40th
8
34 +/- 4
39th
11
35 +/- 1
36th
3
36 +/- 1
36th
3
36 +/- 1
34th
4
37 +/- 1
32nd
3
38 +/- 3
32nd
10
38 +/- 2
31st
3
39 +/- 1
29th
3
40 +/- 2
28th
20
41 +/- 4
26th
7
43 +/- 4
Low-Tier
25th
> 43
25th
3
44 +/- 1
24th
4
45 +/- 2
20th
6
48 +/- 6
19th
6
48 +/- 3
18th
5
50 +/- 4
15th
3
58 +/- 1
15th
3
58 +/- 2
12th
3
75 +/- 1
11th
3
83 +/- 1
9th
7
98 +/- 3
7th
3
112 +/- 8
5th
19
137 +/- 12
4th
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 MP38109 Results Range From 5 To 1719 Seconds5468712816921025129233337441545649753857962066170274378482586690794898910301071111211531194123512761317135813991440148115221563160416451686172714002800420056007000

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.65 / 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.43752.8754.31255.757.1875

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 - 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 - 28 Benchmark Results

ARMv7 Cortex-A53 - BCM2835 Raspberry Pi 3 Model B Plus Rev 1.3 - 922MB

Raspbian 11 - 5.10.63-v7+ - 1.0.2

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

13 Systems - 26 Benchmark Results

AArch64 rev 4 - sun50iw1p1 - 1024MB

Ubuntu 16.04 - 3.10.104 - MATE 1.12.1

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

6 Systems - 67 Benchmark Results

Intel Celeron G5900 - Gigabyte B460M DS3H - Intel Device 9b73

Debian 10 - 4.19.0-9-amd64 - X Server 1.20.4

4 Systems - 15 Benchmark Results

Intel Core i9-12900K - Gigabyte Z690 UD - Intel Device 7aa7

CentOS Linux 8 - 4.18.0-348.2.1.el8_5.x86_64 - xfs

1 System - 3 Benchmark Results

06/8e - ChromiumOS crosvm - 8GB

Debian 10 - 5.4.151-16906-g86cbb761e8c4 - GCC 8.3.0

4 Systems - 23 Benchmark Results

Intel Core i7-8850H - HP 842A - Intel Cannon Lake PCH

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

4 Systems - 23 Benchmark Results

Intel Core i7-8850H - HP 842A - Intel Cannon Lake PCH

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

3 Systems - 49 Benchmark Results

Intel Xeon W-2123 - HP 81C5 - 2 x 8192 MB 2666MHz Samsung M393A1K43BB1-CTD

Microsoft Windows 10 Enterprise Build 19042 - 10.0 - 391.33

3 Systems - 49 Benchmark Results

Intel Core i7-9850H - Dell 0WWHJ2 - 1 x 16384 MB 2667MHz HMA82GS6JJR8N-VK

Microsoft Windows 10 Enterprise Build 19042 - 10.0 - 462.31

2 Systems - 23 Benchmark Results

Intel Core i7-8850H - HP 842A - Intel Cannon Lake PCH

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

3 Systems - 49 Benchmark Results

Intel Core i7-9850H - Dell 0WWHJ2 - 1 x 16384 MB 2667MHz HMA82GS6JJR8N-VK

Microsoft Windows 10 Enterprise Build 19042 - 10.0 - 462.31

1 System - 1 Benchmark Result

4 x AMD Ryzen 7 PRO 5850U - Intel 440BX - Intel 440BX

openSUSE Leap 15.3 - 5.3.18-59.34-default - KDE Plasma 5.18.6

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

28 Systems - 37 Benchmark Results

Intel Core i3-8100 - ASRock Z370M-ITX/ac - Intel Device 3e1f

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

4 Systems - 55 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

Fedora 31 - 5.4.15-200.fc31.x86_64 - 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 - 476 Benchmark Results

Unknown - Marvell 8040 MACCHIATOBin - 16384MB

Ubuntu 18.04 - 4.14.22-150490-gd265712 - GCC 7.3.0

1 System - 201 Benchmark Results

Unknown - Pine64 Rock64 - 4096MB

Ubuntu 18.04 - 4.4.120-rockchip-ayufan-213 - 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

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

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

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

Find More Test Results