C-Ray

This is a test of C-Ray, a simple raytracer designed to test the floating-point CPU performance. This test is multi-threaded (16 threads per core), will shoot 8 rays per pixel for anti-aliasing, and will generate a 1600 x 1200 image.

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

Test Created

6 December 2010

Last Updated

28 July 2018

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

6 Minutes, 14 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 30k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsC-Ray Popularity Statisticspts/c-ray2010.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.082021.122022.042022.082022.1280K160K240K320K400K
* 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 25 January 2023.

Revision History

pts/c-ray-1.2.0   [View Source]   Sat, 28 Jul 2018 12:25:02 GMT
Increase the ray and image size to be more demanding on newer CPUs.

pts/c-ray-1.1.1   [View Source]   Sat, 03 Mar 2018 20:19:56 GMT
Add Windows support.

pts/c-ray-1.1.0   [View Source]   Sun, 29 Jan 2012 11:41:52 GMT
Build c-ray directly rather than using its basic makefile.

pts/c-ray-1.0.0   [View Source]   Mon, 06 Dec 2010 14:37:43 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

C/C++ Compiler Tests

Multi-Core

CPU Massive

Server CPU Tests

Creator Workloads

Raytracing

Renderers


Performance Metrics

Analyze Test Configuration:

C-Ray 1.1

Total Time - 4K, 16 Rays Per Pixel

OpenBenchmarking.org metrics for this test profile configuration based on 8,666 public results since 28 July 2018 with the latest data as of 30 January 2023.

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)
94th
16
13 +/- 1
93rd
22
15 +/- 1
92nd
4
16 +/- 2
Mid-Tier
75th
> 40
75th
12
40 +/- 1
73rd
4
43 +/- 1
72nd
18
45 +/- 5
72nd
11
46 +/- 6
67th
17
58 +/- 1
63rd
11
66 +/- 1
62nd
4
71 +/- 5
62nd
4
71 +/- 1
61st
6
72 +/- 6
60th
14
75 +/- 6
60th
4
76 +/- 2
60th
8
76 +/- 2
59th
57
77 +/- 9
59th
6
79 +/- 3
59th
19
80 +/- 1
57th
5
83 +/- 4
56th
4
88 +/- 7
53rd
12
98 +/- 15
52nd
45
99 +/- 13
52nd
4
100 +/- 7
51st
35
102 +/- 13
51st
5
104 +/- 1
Median
50th
106
50th
12
111 +/- 1
49th
10
112 +/- 3
49th
5
115 +/- 1
49th
18
116 +/- 4
49th
14
117 +/- 13
48th
12
118 +/- 11
48th
12
120 +/- 7
47th
5
125 +/- 9
47th
7
127 +/- 12
47th
15
127 +/- 11
47th
9
128 +/- 11
46th
6
129 +/- 6
46th
19
132 +/- 15
45th
10
141 +/- 9
45th
10
142 +/- 14
45th
5
142 +/- 8
44th
6
149 +/- 21
44th
10
150 +/- 13
43rd
5
156 +/- 1
43rd
8
158 +/- 21
42nd
4
160 +/- 1
42nd
19
162 +/- 9
41st
6
165 +/- 3
41st
12
167 +/- 19
41st
5
171 +/- 25
40th
4
179 +/- 7
40th
6
180 +/- 13
40th
11
180 +/- 25
40th
22
181 +/- 18
39th
9
182 +/- 26
39th
13
182 +/- 12
39th
19
183 +/- 15
39th
9
185 +/- 4
38th
14
191 +/- 19
37th
4
197 +/- 12
37th
6
200 +/- 23
37th
7
200 +/- 22
37th
4
201 +/- 1
37th
12
204 +/- 23
36th
17
206 +/- 15
36th
4
207 +/- 21
36th
18
208 +/- 24
35th
4
214 +/- 18
35th
8
217 +/- 15
35th
46
219 +/- 17
34th
7
227 +/- 24
34th
7
228 +/- 33
34th
37
230 +/- 27
34th
10
232 +/- 30
33rd
6
235 +/- 16
33rd
11
236 +/- 19
33rd
4
242 +/- 1
32nd
5
248 +/- 26
32nd
5
249 +/- 25
32nd
10
250 +/- 19
31st
12
254 +/- 8
31st
4
257 +/- 12
31st
8
263 +/- 17
30th
9
269 +/- 32
29th
4
283 +/- 13
29th
17
285 +/- 33
29th
5
287 +/- 11
28th
5
299 +/- 12
28th
30
308 +/- 29
27th
4
326 +/- 16
26th
14
332 +/- 28
26th
4
340 +/- 24
Low-Tier
25th
> 345
25th
25
358 +/- 21
24th
5
372 +/- 46
23rd
8
394 +/- 35
21st
5
450 +/- 56
20th
7
461 +/- 58
20th
15
471 +/- 28
19th
12
486 +/- 41
18th
12
496 +/- 33
18th
34
505 +/- 70
17th
11
531 +/- 7
17th
7
536 +/- 41
16th
11
555 +/- 42
16th
4
567 +/- 26
16th
4
578 +/- 62
16th
7
580 +/- 35
16th
5
581 +/- 2
15th
5
592 +/- 11
15th
8
605 +/- 36
14th
6
648 +/- 32
13th
7
658 +/- 54
13th
4
669 +/- 66
13th
6
673 +/- 38
13th
16
676 +/- 43
12th
7
678 +/- 36
12th
7
682 +/- 18
11th
4
747 +/- 54
10th
8
775 +/- 60
10th
16
788 +/- 46
8th
20
966 +/- 98
7th
9
1021 +/- 45
7th
6
1075 +/- 58
6th
4
1121 +/- 52
6th
4
1188 +/- 3
6th
12
1221 +/- 18
5th
12
1271 +/- 143
5th
9
1338 +/- 5
5th
12
1442 +/- 110
5th
10
1472 +/- 4
4th
8
1673 +/- 44
2nd
33
2132 +/- 280
2nd
4
2498 +/- 7
2nd
6
2728 +/- 337
2nd
5
2932 +/- 288
1st
18
4107 +/- 404
OpenBenchmarking.orgDistribution Of Public Results - Total Time - 4K, 16 Rays Per Pixel8666 Results Range From 3 To 1.6769767339737E+15 Seconds333539534679477670790693589511.0061860403842E+141.341581387179E+141.6769767339737E+142.0123720807685E+142.3477674275632E+142.683162774358E+143.0185581211527E+143.3539534679474E+143.6893488147422E+144.0247441615369E+144.3601395083316E+144.6955348551264E+145.0309302019211E+145.3663255487159E+145.7017208955106E+146.0371162423054E+146.3725115891001E+146.7079069358948E+147.0433022826896E+147.3786976294843E+147.7140929762790E+148.0494883230738E+148.3848836698685E+148.7202790166633E+149.055674363458E+149.3910697102528E+149.7264650570475E+141.0061860403842E+151.0397255750637E+151.0732651097432E+151.1068046444226E+151.1403441791021E+151.1738837137816E+151.2074232484611E+151.2409627831405E+151.27450231782E+151.3080418524995E+151.341581387179E+151.3751209218584E+151.4086604565379E+151.4421999912174E+151.4757395258969E+151.5092790605763E+151.5428185952558E+151.5763581299353E+151.6098976646148E+151.6434371992942E+151.6769767339737E+152K4K6K8K10K

Based on OpenBenchmarking.org data, the selected test / test configuration (C-Ray 1.1 - Total Time - 4K, 16 Rays Per Pixel) has an average run-time of 16 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 BenchmarkTotal Time - 4K, 16 Rays Per PixelRun-Time306090120150Min: 1 / Avg: 15.9 / Max: 178

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 RunsTotal Time - 4K, 16 Rays Per PixelDeviation48121620Min: 0 / Avg: 0.52 / Max: 13

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 BaseC-Ray CPU Core ScalingTotal Time - 4K, 16 Rays Per Pixel24681012162024283240486496128714212835

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

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

 
VPERMPD
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).

 
VFMADD231SD VFMADD132SD VFNMSUB132SD VFNMADD132SD VFMSUB231SD VFMADD132PD VFMADD231PD VFNMSUB231SD VFNMADD231SD VFMSUB132SD VFNMADD132PD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 17 January 2022

This test profile binary relies on the shared libraries libm.so.6, 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
(Many Processors)
IBM Z
s390x
(Many Processors)
RISC-V 64-bit
riscv64
SiFive RISC-V
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8, POWER9 16-Core, POWER9 22-Core, POWER9 4-Core, POWER9 44-Core, POWER9 8-Core, POWER9 80-Core, POWER9 altivec supported 160-Core, POWER9 altivec supported 176-Core, POWER9 altivec supported 44-Core
IBM POWER (PowerPC) 64-bit
ppc64
e6500
MIPS 64-bit
mips64
Loongson-3A R3, Loongson-3A R4, Loongson-3B R2
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000, Loongson-3A5000-HV, Loongson-3A5000LL, Loongson-3C5000L, Loongson-3C5000LL
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv8 64-bit
armv8l
ARMv8 rev 12 8-Core, ARMv8 rev 4 8-Core
ARMv7 32-bit
armv7l
ARMv7 4-Core, ARMv7 Cortex-A15 8-Core, ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A7 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 Cortex-A9 4-Core, ARMv7 rev 1 4-Core, ARMv7 rev 10 2-Core, ARMv7 rev 10 4-Core, ARMv7 rev 2 4-Core, ARMv7 rev 3, ARMv7 rev 3 4-Core, ARMv7 rev 3 8-Core, ARMv7 rev 4 4-Core, ARMv7 rev 5 4-Core, ARMv7 rev 5 8-Core, Pi 4 2GB 32-bit
ARMv6 32-bit
armv6l
ARMv6-compatible rev 7, ARMv7
ARMv8 64-bit
arm64
ARM Cortex-A72 r0p3, Apple, Apple M1, Apple M1 Max, Apple M1 Pro, Apple M2
Arm
arm
ARM Cortex-A7 r0p5
ARMv8 64-bit
aarch64
AArch64 rev 0, AArch64 rev 12, AArch64 rev 14, AArch64 rev 2, AArch64 rev 4, ARMVv8 Cortex-A53 4-Core, ARMVv8 Cortex-A72 6-Core, ARMVv8 Cortex-A73 6-Core, ARMv8, ARMv8 4-Core, ARMv8 9-Core, ARMv8 Cortex-A53, ARMv8 Cortex-A53 24-Core, ARMv8 Cortex-A53 3-Core, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A53 8-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A57 6-Core, ARMv8 Cortex-A57 8-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-A73, ARMv8 Cortex-A73 2-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Cortex-A73 8-Core, ARMv8 Cortex-A75 8-Core, ARMv8 Cortex-A77 8-Core, ARMv8 Cortex-A78E 12-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 8-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 4-Core, ARMv8 rev 0 2-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 8-Core, Amlogic, Amlogic ARMv8 Cortex-A53 4-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere ARMv8 Neoverse-N1 80-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 64-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core, Ampere eMAG ARMv8 16-Core, Ampere eMAG ARMv8 32-Core, Ampere eMAG ARMv8 4-Core, Ampere eMAG ARMv8 8-Core, Apple M1, Apple M2, Cavium ThunderX, FT-2000, FT2000, FT2000AHK, HUAWEI Kunpeng 920, HUAWEI Kunpeng 920 2249K, HUAWEI Kunpeng 920 5221K, Phytium D2000, Phytium FT-2000, Phytium FT1500A, Phytium FT2000A 4-Core, Phytium FT2000PLUS, Phytium S2500, Pi 4 2GB 64-bit, Rockchip, Rockchip ARMVv8 Cortex-A53 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, SiFive RISC-V