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

2 Minutes, 9 Seconds

Average Run Time

1 Minute, 36 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.052011.102012.032012.082013.012013.062013.112014.042014.092015.022015.072015.122016.052016.102017.032017.082018.012018.062018.112019.042019.092020.022020.072020.122021.052021.102022.032022.082023.012023.062023.112024.042024.09200K400K600K800K1000K
* 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 updated weekly as of 8 November 2024.

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 11,358 public results since 7 February 2018 with the latest data as of 8 November 2024.

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)
97th
3
5 +/- 1
94th
8
6 +/- 1
92nd
35
7 +/- 1
87th
6
7 +/- 1
85th
11
8 +/- 1
84th
4
8 +/- 1
82nd
24
8 +/- 1
78th
11
9 +/- 1
Mid-Tier
75th
> 10
73rd
4
10 +/- 1
73rd
8
10 +/- 1
69th
6
11 +/- 1
63rd
4
12 +/- 1
56th
13
14 +/- 1
Median
50th
15
49th
4
15 +/- 1
46th
10
18 +/- 1
40th
5
25 +/- 2
39th
7
27 +/- 2
37th
3
29 +/- 3
34th
10
32 +/- 2
31st
8
34 +/- 4
30th
12
35 +/- 1
28th
6
36 +/- 1
28th
3
36 +/- 1
26th
4
37 +/- 1
Low-Tier
25th
> 38
24th
3
39 +/- 1
23rd
3
40 +/- 1
22nd
20
41 +/- 4
20th
7
43 +/- 4
19th
4
45 +/- 2
17th
3
47 +/- 1
16th
6
48 +/- 6
15th
6
48 +/- 3
14th
5
50 +/- 4
12th
3
58 +/- 1
12th
3
58 +/- 2
9th
3
75 +/- 1
9th
3
83 +/- 1
7th
7
98 +/- 3
6th
3
112 +/- 8
4th
19
137 +/- 12
4th
4
154 +/- 1
2nd
4
296 +/- 1
2nd
3
311 +/- 31
2nd
65
320 +/- 24
1st
3
393 +/- 41
1st
24
483 +/- 63
OpenBenchmarking.orgDistribution Of Public Results - WAV To MP311340 Results Range From 3 To 1719 Seconds344851261672082492903313724134544955365776186597007417828238649059469871028106911101151119212331274131513561397143814791520156116021643168417252K4K6K8K10K

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.73 / Max: 12

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsWAV To MP3Deviation3691215Min: 0 / Avg: 0.46 / Max: 10

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 MP3246810121416243236641281.352.74.055.46.75

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 VFMADD213SS VFMSUB132SS VFMADD231SD VFNMADD132PS VFNMADD213PD VFNMADD213SD VFMSUB132SD VFMSUB132PS VFMSUB231SD VFMSUB213SS VFMADD213PD VFNMADD231PS VFMSUB231PS
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: tigerlake, cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 17 January 2022

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

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)
SPARC64
sparc64
UltraSparc T3
IBM Z
s390x
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8, POWER8E, POWER9 16-Core, POWER9 4-Core, POWER9 44-Core, POWER9 8-Core, POWER9 80-Core, POWER9 altivec supported 144-Core, POWER9 altivec supported 32-Core, POWER9 altivec supported 44-Core, POWER9 altivec supported 64-Core, POWER9 altivec supported 88-Core, POWER9 altivec supported 96-Core
IBM POWER (PowerPC) 64-bit
ppc64
POWER7, POWER9 4-Core, PPC970 altivec supported, PPC970MP, e6500
IBM POWER (PowerPC)
ppc
7447A altivec supported
MIPS 64-bit
mips64
Loongson-2K V0.3 FPU V0.1, Loongson-3A R3, Loongson-3A R4, Loongson-3A3000 V0.9 FPU V0.1
MIPS
mips
Baikal-T1 1.2 GHz MIPS P5600 V3.0 FPU V2.0, MIPS P5600 V3.0 FPU V2.0
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000-HV, Loongson-3A6000, Loongson-3A6000-HV
Intel / AMD x86 32-bit
i686
(Many Processors)
Intel / AMD x86 32-bit
i386
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 4-Core, ARMv7 Cortex-A15, ARMv7 Cortex-A15 8-Core, ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A7 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 0 2-Core, ARMv7 rev 0 4-Core, ARMv7 rev 1 2-Core, ARMv7 rev 1 4-Core, ARMv7 rev 10 2-Core, ARMv7 rev 10 4-Core, ARMv7 rev 2, ARMv7 rev 2 4-Core, ARMv7 rev 3 3-Core, ARMv7 rev 3 4-Core, ARMv7 rev 3 8-Core, ARMv7 rev 4 2-Core, ARMv7 rev 4 4-Core, ARMv7 rev 5 3-Core, ARMv7 rev 5 4-Core, ARMv7 rev 5 8-Core, Exynos ARMv7 rev 0 4-Core
ARMv6 32-bit
armv6l
ARMv6-compatible rev 7, ARMv7
Arm
arm
ARM Cortex-A7 r0p5
DEC Alpha
alpha
Alpha
ARMv8 64-bit
aarch64
AArch64 rev 1, AArch64 rev 14, AArch64 rev 2, AArch64 rev 4, ARMVv8 Cortex-A53 4-Core, ARMVv8 Cortex-A73 6-Core, ARMv8, ARMv8 9-Core, ARMv8 Cortex-A53 2-Core, ARMv8 Cortex-A53 24-Core, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A53 6-Core, ARMv8 Cortex-A55, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 2-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 6-Core, ARMv8 Cortex-A72 8-Core, ARMv8 Cortex-A73, ARMv8 Cortex-A73 2-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Cortex-A73 8-Core, ARMv8 Cortex-A75 8-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A78E 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 8-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2 72-Core, ARMv8 rev 0 4-Core, ARMv8 rev 0 6-Core, ARMv8 rev 0 8-Core, ARMv8 rev 1 4-Core, ARMv8 rev 3 4-Core, ARMv8 rev 3 6-Core, ARMv8 rev 4 4-Core, ARMv8 rev 4 6-Core, ARMv8 rev 4 8-Core, Amlogic, Amlogic ARMv8 Cortex-A53 4-Core, Ampere ARMv8 32-Core, Ampere eMAG ARMv8 16-Core, Ampere eMAG ARMv8 32-Core, Ampere eMAG ARMv8 4-Core, Ampere eMAG ARMv8 8-Core, Apple, Apple M1, Apple M2, Cavium ThunderX, FT2000AHK, Phytium D2000, Qualcomm, Rockchip, Rockchip ARMv8 4-Core, Rockchip ARMv8 Cortex-A53 4-Core, Rockchip ARMv8 Cortex-A72 6-Core, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core, Rockchip ARMv8 Cortex-A76 8-Core, SiFive RISC-V, rk1-mainline-emmc, rk1-mainline-nvme, rk1-rok-emmc

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

Intel Core i3-3110M - SAMSUNG NP350E7C-A03CA - Intel 3rd Gen Core DRAM

Debian 12 - 6.1.0-20-amd64 - Xfce 4.18

1 System - 1 Benchmark Result

AMD EPYC 9R14 - Amazon EC2 c7a.4xlarge - Intel 440FX 82441FX PMC

Rocky 8.9 - 4.18.0-513.18.1.el8_9.x86_64 - X Server

1 System - 1 Benchmark Result

AMD EPYC 9R14 - Amazon EC2 c7a.4xlarge - Intel 440FX 82441FX PMC

Rocky 8.9 - 4.18.0-513.18.1.el8_9.x86_64 - X Server

1 System - 1 Benchmark Result

AMD EPYC 9R14 - Amazon EC2 c7a.4xlarge - Intel 440FX 82441FX PMC

Rocky 8.9 - 4.18.0-513.18.1.el8_9.x86_64 - X Server

1 System - 1 Benchmark Result

AMD EPYC 7R13 - Amazon EC2 c6a.4xlarge - Intel 440FX 82441FX PMC

Rocky 8.9 - 4.18.0-513.18.1.el8_9.x86_64 - X Server

1 System - 1 Benchmark Result

AMD EPYC 7R13 - Amazon EC2 c6a.4xlarge - Intel 440FX 82441FX PMC

Rocky 8.9 - 4.18.0-513.18.1.el8_9.x86_64 - X Server

1 System - 1 Benchmark Result

AMD EPYC 7R13 - Amazon EC2 c6a.4xlarge - Intel 440FX 82441FX PMC

Rocky 8.9 - 4.18.0-513.18.1.el8_9.x86_64 - X Server

1 System - 1 Benchmark Result

AMD EPYC 7R13 - Amazon EC2 c6a.4xlarge - Intel 440FX 82441FX PMC

Rocky 8.9 - 4.18.0-513.18.1.el8_9.x86_64 - X Server

1 System - 1 Benchmark Result

Intel Core i7-10510U - HP ProBook 440 G7 869D - Intel Comet Lake PCH-LP

Ubuntu 22.04 - 6.8.0-47-generic - GNOME Shell 42.9

12 Systems - 2543 Benchmark Results

1 System - 1 Benchmark Result

AMD Ryzen 3 3100 4-Core - BIOSTAR A320MH - AMD Starship

Arch rolling - 6.11.5-arch1-1 - GNOME Shell 47.1

1 System - 8 Benchmark Results

8 x AMD EPYC-Rome - Optimized Hosting KVM v0.36.18 - Intel 82G33

Ubuntu 24.04 - 6.8.0-39-generic - GCC 13.2.0

1 System - 3 Benchmark Results

8 x AMD EPYC-Rome - Optimized Hosting KVM v0.36.18 - Intel 82G33

Ubuntu 24.04 - 6.8.0-39-generic - GCC 13.2.0

1 System - 1 Benchmark Result

Intel Core i5-7200U - Dell Vostro 15-3568 [01Y1RD] - 1 x 4096MB 2133MHz 4ATF51264HZ-2G3B1

Microsoft Windows 10 IoT Enterprise LTSC Build 19044 - 10.0.19044.3324 - 10.0.19041.868

1 System - 17 Benchmark Results

Intel Core i5-1235U - FUJITSU CLIENT COMPUTING LIMITED FJNB2F4 - Intel Alder Lake PCH

Debian 12 - 6.1.0-25-amd64 - GCC 12.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

1 System - 64 Benchmark Results

Intel Core Ultra 7 256V - ASUS UX5406SA - 8 x 2048MB 8533MHz Samsung

Microsoft Windows 11 Home Build 26100 - 10.0.26100.1742 - 32.0.101.5730

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

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

4 Systems - 55 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

Clear Linux OS 32230 - 5.4.16-900.native - GNOME Shell 3.34.3

3 Systems - 109 Benchmark Results

AMD Ryzen 7 7840HS - Framework FRANMZCP07 - 2 x 8192MB 5600MHz A-DATA AD5S56008G-B

Microsoft Windows 11 Home Build 22631 - 10.0.22631.3296 - 31.0.22024.15004

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

5 Systems - 25 Benchmark Results

Intel Xeon E3-1280 v5 - MSI MS-7998 1.0 - Intel Xeon E3-1200 v5

DragonFly - 5.4-RELEASE - GCC 8.1

2 Systems - 3 Benchmark Results

Intel Core i9-8950HK - Dell 0FP2W2 - Intel Cannon Lake PCH Shared SRAM

Ubuntu 18.10 - 4.18.0-8-generic - GNOME Shell 3.30.0

20 Systems - 43 Benchmark Results

AArch64 rev 4 - sun50iw1p1 - 1024MB

Ubuntu 16.04 - 3.10.104 - X Server 1.18.4

14 Systems - 36 Benchmark Results

Intel Xeon Platinum 8175M - Amazon EC2 m5.xlarge - Intel 440FX 82441FX PMC

Ubuntu 18.04 - 4.15.0-1021-aws - GCC 7.3.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

1 System - 28 Benchmark Results

Intel Core i7-10875H - System76 Oryx Pro - Intel Comet Lake PCH

Pop 20.04 - 5.8.0-7630-generic - GNOME Shell 3.36.4

1 System - 27 Benchmark Results

AMD Ryzen 7 4800H - TUXEDO PULSE1501 - AMD Renoir Root Complex

Pop 20.10 - 5.11.0-7614-generic - GNOME Shell 3.38.3

1 System - 26 Benchmark Results

Intel Core i7-10870H - Notebook PCx0Dx - Intel Comet Lake PCH

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

Find More Test Results