Apache Spark

This is a benchmark of Apache Spark with its PySpark interface. Apache Spark is an open-source unified analytics engine for large-scale data processing and dealing with big data. This test profile benchmars the Apache Spark in a single-system configuration using spark-submit. The test makes use of DIYBigData's pyspark-benchmark (https://github.com/DIYBigData/pyspark-benchmark/) for generating of test data and various Apache Spark operations.

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

Project Site

spark.apache.org

Source Repository

github.com

Test Created

4 August 2022

Last Updated

20 January 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

4 Seconds

Average Run Time

47 Minutes, 28 Seconds

Test Dependencies

Java + Python

Accolades

30k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsApache Spark Popularity Statisticspts/spark2022.082022.092022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.034K8K12K16K20K
* 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.
Data updated weekly as of 17 March 2024.
2000000021.5%1000000022.4%100000033.7%4000000022.4%Row Count Option PopularityOpenBenchmarking.org
10031.1%200024.9%50022.6%100021.5%Partitions Option PopularityOpenBenchmarking.org

Revision History

pts/spark-1.0.1   [View Source]   Fri, 20 Jan 2023 07:57:46 GMT
Update download mirror for Spark 3.3.0. Closes: https://github.com/phoronix-test-suite/test-profiles/issues/265

pts/spark-1.0.0   [View Source]   Thu, 04 Aug 2022 04:35:20 GMT
Initial commit of Apache Spark benchmark.

Suites Using This Test

Database Test Suite

Server


Performance Metrics

Analyze Test Configuration:

Apache Spark 3.3

Row Count: 1000000 - Partitions: 100 - Calculate Pi Benchmark

OpenBenchmarking.org metrics for this test profile configuration based on 430 public results since 4 August 2022 with the latest data as of 13 March 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)
Mid-Tier
75th
> 66
Median
50th
108
39th
12
148 +/- 10
37th
7
157 +/- 5
31st
8
187 +/- 1
Low-Tier
25th
> 229
24th
9
230 +/- 23
24th
7
231 +/- 3
22nd
8
242 +/- 6
20th
5
251 +/- 1
18th
3
265 +/- 1
15th
3
305 +/- 3
14th
7
317 +/- 15
13th
5
334 +/- 1
11th
6
359 +/- 22
11th
3
374 +/- 1
7th
10
405 +/- 29
4th
4
584 +/- 6
2nd
3
709 +/- 50
OpenBenchmarking.orgDistribution Of Public Results - Row Count: 1000000 - Partitions: 100 - Calculate Pi Benchmark430 Results Range From 9 To 2802 Seconds965121177233289345401457513569625681737793849905961101710731129118512411297135314091465152115771633168917451801185719131969202520812137219322492305236124172473252925852641269727532809306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (Apache Spark 3.3 - Row Count: 1000000 - Partitions: 100 - Calculate Pi Benchmark) has an average run-time of 15 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 BenchmarkRow Count: 1000000 - Partitions: 100 - Calculate Pi BenchmarkRun-Time20406080100Min: 2 / Avg: 14.92 / Max: 104

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsRow Count: 1000000 - Partitions: 100 - Calculate Pi BenchmarkDeviation246810Min: 0 / Avg: 0.14 / Max: 2

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does 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 BaseApache Spark CPU Core ScalingRow Count: 1000000 - Partitions: 100 - Calculate Pi Benchmark4812162432641283691215

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)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 64-Core, Apple M1, Apple M2, Rockchip ARMv8 Cortex-A76 4-Core, rk1-mainline-emmc, rk1-rok-emmc

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 9 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 5.15.0-100-generic - 1.3.255

1 System - 205 Benchmark Results

rk1-mainline-emmc - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

1 System - 201 Benchmark Results

rk1-rok-emmc - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 5.10.160-rockchip - GCC 11.4.0

1 System - 7 Benchmark Results

2 x Intel Xeon E5-2699 v4 - Supermicro X10DRL-i v1.01 - Intel Xeon E7 v4

Ubuntu 22.04 - 6.5.0-21-generic - X Server 1.21.1.4

3 Systems - 205 Benchmark Results

ARMv8 Cortex-A76 - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

3 Systems - 415 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - 4096MB

Debian 12 - 6.1.0-rpi7-rpi-2712 - GCC 12.2.0

3 Systems - 489 Benchmark Results

ARMv8 Cortex-A76 - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

1 System - 7 Benchmark Results

2 x Intel Xeon E5-2699 v4 - Supermicro X10DRL-i v1.01 - Intel Xeon E7 v4

Ubuntu 22.04 - 6.5.0-21-generic - X Server 1.21.1.4

1 System - 7 Benchmark Results

2 x Intel Xeon E5-2699 v4 - Supermicro X10DRL-i v1.01 - Intel Xeon E7 v4

Ubuntu 22.04 - 6.5.0-21-generic - X Server 1.21.1.4

2 Systems - 8 Benchmark Results

2 x Intel Xeon E5-2699 v4 - Supermicro X10DRL-i v1.01 - Intel Xeon E7 v4

Ubuntu 22.04 - 6.5.0-21-generic - X Server 1.21.1.4

1 System - 7 Benchmark Results

2 x Intel Xeon E5-2699 v4 - Supermicro X10DRL-i v1.01 - Intel Xeon E7 v4

Ubuntu 22.04 - 6.5.0-21-generic - X Server 1.21.1.4

5 Systems - 587 Benchmark Results

Intel Core i3-14100 - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Ubuntu 23.10 - 6.7.3-060703-generic - GNOME Shell 45.2

8 Systems - 182 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc7daily20221001-generic - GNOME Shell 42.4

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 384 Benchmark Results

Intel Core i9-13900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Ubuntu 22.10 - 5.19.0-23-generic - GNOME Shell 43.0

4 Systems - 134 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

3 Systems - 311 Benchmark Results

Intel Core i5-12600K - ASUS PRIME Z690-P WIFI D4 - Intel Device 7aa7

Ubuntu 22.04 - 5.19.0-051900rc6daily20220716-generic - GNOME Shell 42.1

2 Systems - 156 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

Ubuntu 21.10 - 5.19.0-rc2-phx-mglru-v12 - GNOME Shell 40.5

2 Systems - 218 Benchmark Results

Intel Core i7-1280P - MSI MS-14C6 - Intel Alder Lake PCH

Arch Linux - 5.18.16-arch1-1 - KDE Plasma 5.25.4

2 Systems - 219 Benchmark Results

Apple M1 - Apple Mac mini - 8GB

Arch Linux ARM - 5.19.0-rc7-asahi-2-1-ARCH - KDE Plasma 5.25.4

2 Systems - 361 Benchmark Results

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

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

2 Systems - 112 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO 21CM0001US - AMD Device 14b5

Ubuntu 22.04 - 5.15.0-41-generic - GNOME Shell 42.2

2 Systems - 130 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 11 - 5.10.0-10-amd64 - X Server

3 Systems - 190 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO 21CM0001US - AMD Device 14b5

Arch rolling - 5.18.16-arch1-1 - KDE Plasma 5.25.4

2 Systems - 112 Benchmark Results

AMD Ryzen 7 PRO 5850U - HP 8A78 - AMD Renoir

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

2 Systems - 146 Benchmark Results

2 x Intel Xeon Gold 5220R - TYAN S7106 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 6.1.0-phx - GNOME Shell 3.36.9

Find More Test Results