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.022011.062011.102012.022012.062012.102013.022013.062013.102014.022014.062014.102015.022015.062015.102016.022016.062016.102017.022017.062017.102018.022018.062018.102019.022019.062019.102020.022020.062020.102021.0230K60K90K120K150K
* 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, 27 Feb 2021 04:50:18 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,414 public results since 7 December 2018 with the latest data as of 27 February 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)
76th
5
11 +/- 1
76th
12
11 +/- 1
Mid-Tier
75th
> 11
61st
4
19 +/- 2
57th
3
22 +/- 1
56th
3
23 +/- 1
56th
6
23 +/- 2
54th
5
24 +/- 1
53rd
3
26 +/- 3
53rd
7
26 +/- 2
Median
50th
27
50th
8
27 +/- 1
50th
4
28 +/- 3
49th
4
28 +/- 2
49th
3
28 +/- 3
49th
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
8
37 +/- 5
40th
4
38 +/- 3
39th
13
38 +/- 2
39th
3
39 +/- 3
38th
14
39 +/- 2
38th
3
40 +/- 4
37th
7
41 +/- 4
37th
15
42 +/- 2
35th
5
44 +/- 1
32nd
9
52 +/- 2
31st
6
54 +/- 2
28th
6
67 +/- 2
28th
4
67 +/- 9
26th
3
75 +/- 4
26th
6
77 +/- 11
Low-Tier
25th
> 77
25th
3
78 +/- 7
25th
6
80 +/- 7
25th
8
80 +/- 2
24th
3
81 +/- 12
24th
9
83 +/- 4
23rd
3
84 +/- 1
23rd
9
87 +/- 1
22nd
4
91 +/- 3
21st
5
95 +/- 10
19th
4
103 +/- 9
9th
6
185 +/- 7
8th
3
196 +/- 13
8th
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 Samples3414 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.45 / 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.07 / 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 Samples24681012162032643691215

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 Celeron N4000 - ALLDOCUBE i1112A - Intel Device 31f0

Debian 10 - 5.10.0-0.bpo.3-amd64 - KDE Plasma 5.14.5

1 System - 1 Benchmark Result

AMD Ryzen 5 PRO 2400GE - ASRock AB350M Pro4 - AMD Raven

Slackware 14.2 x86_64 - 5.4.42 - X Server 1.20.8

1 System - 1 Benchmark Result

Intel Celeron N4000 - ALLDOCUBE i1112A - Intel Gemini Lake

ManjaroLinux 20.2.1 - 5.4.97-1-MANJARO - KDE Plasma 5.20.5

1 System - 1 Benchmark Result

AMD Ryzen 9 5900X 12-Core - MSI MAG X570 TOMAHAWK WIFI - AMD Starship

ManjaroLinux 20.2.1 - 5.9.16-1-MANJARO - X Server 1.20.10

5 Systems - 71 Benchmark Results

Intel Pentium Gold G6400 - Gigabyte B460M DS3H - Intel Device 9b73

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

1 System - 1 Benchmark Result

2 x Intel Core i7-7500U - Intel 440BX - Intel 440BX

Ubuntu 18.04 - 5.4.0-42-generic - GNOME Shell 3.28.4

1 System - 1 Benchmark Result

2 x Intel Core i7-7500U - Intel 440BX - Intel 440BX

CentOS Linux 7 - 3.10.0-1127.19.1.el7.x86_64 - GCC 4.8.5 20150623

1 System - 1 Benchmark Result

ARMv8 Cortex-A72 - raspberrypi rpi - Broadcom BCM2711

openSUSE Leap 15.2 - 5.3.18-lp152.63-default - GCC 7.5.0

1 System - 1 Benchmark Result

Phytium FT-2000/4 - Phytium FT-2000 - 1 x 4096 MB DDR4-2400MT

Kylin V10 - 4.4.131-20200710.kylin.desktop-generic - MATE

1 System - 1 Benchmark Result

Phytium FT-2000/4 - Phytium FT-2000 - 1 x 4096 MB DDR4-2400MT

Kylin V10 - 4.4.131-20200710.kylin.desktop-generic - MATE

1 System - 1 Benchmark Result

Phytium FT-2000/4 - Greatwall GW-001M1A-FTF v1.0 - 2 x 16384 MB DDR4-3200MT

Kylin V10 - 4.4.131-20200710.kylin.desktop-generic - X Server 1.18.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 5900X 12-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

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

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

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

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

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

7 Systems - 28 Benchmark Results

ARMv7 rev 3 - BCM2835 Raspberry Pi 4 Model B Rev 1.1 - 2048MB

Raspbian 10 - 4.19.50-v7l+ - LXDE 0.10.0

5 Systems - 1839 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

Find More Test Results

OpenBenchmarking.org Community User Comments

Post A Comment