Smallpt

Smallpt is a C++ global illumination renderer written in less than 100 lines of code. Global illumination is done via unbiased Monte Carlo path tracing and there is multi-threading support via the OpenMP library.

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

Project Site

kevinbeason.com

Test Created

6 December 2010

Last Updated

11 October 2019

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

4 Seconds

Average Run Time

55 Minutes, 58 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

200k+ Downloads + 10k+ Public Benchmark Results

Supported Platforms


Public Result UploadsTest Completions*Reported Installs*OpenBenchmarking.orgEventsSmallpt Popularity Statisticspts/smallpt2011.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.0430K60K90K120K150K
* 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 03:47:39 GMT.

Revision History

pts/smallpt-1.2.1   [View Source]   Fri, 11 Oct 2019 10:50:27 GMT
Windows support.

pts/smallpt-1.2.0   [View Source]   Fri, 07 Dec 2018 15:54:02 GMT
Apply -O3 optimization by default per https://github.com/phoronix-test-suite/test-profiles/pull/42

pts/smallpt-1.1.0   [View Source]   Sat, 28 Jul 2018 12:33:45 GMT
User more samples per pixel so more demanding for newer CPus, also use PTS timer for greater precision.

pts/smallpt-1.0.3   [View Source]   Sun, 08 Apr 2018 06:31:53 GMT
Fix building on BSD.

pts/smallpt-1.0.2   [View Source]   Mon, 12 Oct 2015 11:55:19 GMT
Add Solaris and BSD to SupportedPlatforms.

pts/smallpt-1.0.1   [View Source]   Mon, 12 Mar 2012 16:18:55 GMT
Ensure smallpt g++ compilation honors CXXFLAGS.

pts/smallpt-1.0.0   [View Source]   Mon, 06 Dec 2010 15:21:16 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Multi-Core

Creator Workloads

Renderers


Performance Metrics

Analyze Test Configuration:

Smallpt 1.0

Global Illumination Renderer; 128 Samples

OpenBenchmarking.org metrics for this test profile configuration based on 3,545 public results since 7 December 2018 with the latest data as of 11 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)
Mid-Tier
75th
> 11
75th
5
11 +/- 1
75th
12
11 +/- 1
61st
3
18 +/- 2
60th
4
19 +/- 2
57th
3
22 +/- 1
55th
3
23 +/- 1
55th
6
23 +/- 2
54th
5
24 +/- 1
53rd
3
26 +/- 3
53rd
7
26 +/- 2
Median
50th
27
50th
8
27 +/- 1
49th
4
28 +/- 3
49th
4
28 +/- 2
49th
3
28 +/- 3
48th
3
29 +/- 4
47th
3
30 +/- 2
47th
10
30 +/- 2
44th
16
32 +/- 1
43rd
3
34 +/- 5
41st
3
36 +/- 2
41st
4
36 +/- 1
40th
4
38 +/- 3
40th
9
38 +/- 5
39th
13
38 +/- 2
39th
3
39 +/- 3
38th
14
39 +/- 2
38th
3
40 +/- 4
37th
7
41 +/- 4
36th
15
42 +/- 2
35th
5
44 +/- 1
31st
9
52 +/- 2
30th
6
54 +/- 2
28th
3
66 +/- 3
28th
4
67 +/- 9
28th
6
67 +/- 2
26th
3
74 +/- 9
26th
3
75 +/- 4
Low-Tier
25th
> 76
25th
6
77 +/- 11
25th
3
78 +/- 7
24th
6
80 +/- 7
24th
10
81 +/- 3
24th
3
81 +/- 12
23rd
9
83 +/- 4
23rd
3
83 +/- 6
23rd
3
84 +/- 1
22nd
9
87 +/- 1
21st
4
91 +/- 3
20th
5
95 +/- 10
19th
4
103 +/- 9
9th
6
185 +/- 7
8th
3
196 +/- 13
7th
7
202 +/- 2
6th
3
231 +/- 10
6th
8
233 +/- 4
3rd
4
305 +/- 20
3rd
4
340 +/- 1
1st
3
1954 +/- 11
OpenBenchmarking.orgDistribution Of Public Results - Global Illumination Renderer; 128 Samples3543 Results Range From 1 To 4161 Seconds1851692533374215055896737578419251009109311771261134514291513159716811765184919332017210121852269235324372521260526892773285729413025310931933277336134453529361336973781386539494033411742016001200180024003000

Based on OpenBenchmarking.org data, the selected test / test configuration (Smallpt 1.0 - Global Illumination Renderer; 128 Samples) has an average run-time of 4 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 BenchmarkGlobal Illumination Renderer; 128 SamplesRun-Time816243240Min: 1 / Avg: 3.43 / Max: 38

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsGlobal Illumination Renderer; 128 SamplesDeviation48121620Min: 0 / Avg: 1.06 / Max: 17

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 BaseSmallpt CPU Core ScalingGlobal Illumination Renderer; 128 Samples2468101216203264246810

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.
 
PUNPCKLQDQ MOVAPD MOVUPD MOVHPD UNPCKLPD UNPCKHPD MULPD MULSD SUBPD SUBSD MOVDQA MINSD ADDSD CVTTSD2SI COMISD UCOMISD SQRTSD ADDPD DIVSD XORPD MOVLPD MAXSD ANDPD MOVDQU CVTSI2SD
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).

 
VEXTRACTF128 VZEROUPPER VINSERTF128
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).

 
VFNMADD231PD VFMSUB132SD VFMADD132SD VFMADD231SD VFMSUB231SD VFMADD132PD VFMADD231PD VFNMADD132SD VFNMADD132PD VFNMADD231SD VFMADD213SD VFMADD213PD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 31 January 2021

This test profile binary relies on the shared libraries libm.so.6, libgomp.so.1, libpthread.so.0, libc.so.6, libdl.so.2.

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

Intel Core i5-8400 - Gigabyte B365M DS3H - Intel 8th Gen Core

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

12 Systems - 453 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

1 System - 1 Benchmark Result

AMD Ryzen 3 3200U - Sleepy_PK - AMD Raven

Arch Linux - 5.11.12-zen1-1-zen - GNOME Shell 40.0

5 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

1 System - 1 Benchmark Result

Intel Xeon Gold 6266C - OpenStack Foundation Nova - Intel 440FX 82441FX PMC

CentOS 7.5.1804 - 3.10.0-1160.6.1.el7.x86_64 - GCC 4.8.5 20150623

1 System - 1 Benchmark Result

Intel Xeon E5-2682 v4 - QEMU Standard PC - Intel 440FX- 82441FX PMC

Aliyun 6 - 2.6.32-220.23.2.al.ali1.1.alios6.x86_64 - GCC 4.4.6 20110731

1 System - 5 Benchmark Results

Intel Core i5-1035G1 - LENOVO LNVNB161216 - Intel Device 34ef

Ubuntu 20.04 - 5.8.0-48-generic - GNOME Shell 3.36.7

1 System - 5 Benchmark Results

Intel Core i5-1035G1 - LENOVO LNVNB161216 - Intel Device 34ef

Ubuntu 20.04 - 5.8.0-48-generic - GNOME Shell 3.36.7

1 System - 4 Benchmark Results

Intel Core i5-1035G1 - LENOVO LNVNB161216 - Intel Device 34ef

Ubuntu 20.04 - 5.8.0-48-generic - GNOME Shell 3.36.7

1 System - 5 Benchmark Results

Intel Core i5-1035G1 - LENOVO LNVNB161216 - Intel Device 34ef

Ubuntu 20.04 - 5.8.0-48-generic - GNOME Shell 3.36.7

1 System - 1 Benchmark Result

Intel Core i7-9700 - ASRock Z390 Phantom Gaming SLI - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.8.0-48-generic - GNOME Shell 3.36.4

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

11 Systems - 217 Benchmark Results

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

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

8 Systems - 360 Benchmark Results

Intel Core i9-10980XE - Gigabyte X299X DESIGNARE 10G - Intel Sky Lake-E DMI3 Registers

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

3 Systems - 301 Benchmark Results

Intel Core i5-4670 - MSI B85M-P33 - Intel 4th Gen Core DRAM

Ubuntu 20.04 - 5.4.0-40-generic - GNOME Shell 3.36.3

2 Systems - 9 Benchmark Results

AMD Ryzen Threadripper 2950X 16-Core - Gigabyte X399 AORUS XTREME-CF - AMD Family 17h

Ubuntu 19.10 - 5.4.0-050400rc8-lowlatency - Xfce 4.14

5 Systems - 1840 Benchmark Results

Intel Core i5-6200U - HP 8079 - Intel Xeon E3-1200 v5

Ubuntu 18.04 - 4.18.0-21-generic - GNOME Shell 3.28.4

18 Systems - 115 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - AMD 17h

Ubuntu 19.10 - 5.3.0-18-generic - GNOME Shell 3.34.1

3 Systems - 143 Benchmark Results

AMD EPYC 7742 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 20.04 - 5.4.0-31-generic - GNOME Shell 3.36.1

7 Systems - 28 Benchmark Results

ARMv7 rev 1 - Rockchip - 2048MB

Debian 9.0 - 4.4.16-00006-g4431f98-dirty - LXDE

Find More Test Results