C-Ray

This is a test of C-Ray, a simple multi-threaded raytracer designed to test the floating-point CPU performance.

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

Source Repository

github.com

Test Created

6 December 2010

Last Updated

27 April 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

3 Seconds

Average Run Time

23 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 40k+ 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.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.09100K200K300K400K500K
* 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 6 November 2024.
1080p39.7%5K23.4%4K36.9%Resolution Option PopularityOpenBenchmarking.org

Revision History

pts/c-ray-2.0.0   [View Source]   Sat, 27 Apr 2024 17:19:51 GMT
Update against C-Ray 2.0 from new repository.

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

Raytracing

CPU Massive

Creator Workloads

Server CPU Tests

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 9,607 public results since 28 July 2018 with the latest data as of 7 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)
93rd
18
15 +/- 1
92nd
4
16 +/- 2
88th
15
23 +/- 1
79th
23
35 +/- 1
76th
12
40 +/- 1
Mid-Tier
75th
> 41
73rd
6
45 +/- 3
73rd
18
45 +/- 5
72nd
13
47 +/- 6
68th
20
58 +/- 1
65th
56
64 +/- 1
63rd
10
66 +/- 1
62nd
8
70 +/- 4
61st
7
71 +/- 7
61st
6
72 +/- 6
60th
5
75 +/- 8
60th
12
76 +/- 7
60th
4
76 +/- 2
60th
14
76 +/- 2
59th
56
77 +/- 9
58th
6
79 +/- 3
58th
13
80 +/- 1
57th
5
83 +/- 4
55th
9
87 +/- 7
55th
4
88 +/- 7
52nd
45
99 +/- 13
51st
5
101 +/- 7
51st
36
102 +/- 13
Median
50th
104
50th
5
104 +/- 1
49th
12
111 +/- 1
49th
10
112 +/- 3
48th
5
115 +/- 1
48th
18
116 +/- 4
48th
16
117 +/- 13
47th
13
119 +/- 11
47th
6
124 +/- 9
46th
7
127 +/- 12
46th
15
127 +/- 11
46th
9
128 +/- 11
46th
6
129 +/- 6
45th
19
132 +/- 15
44th
10
141 +/- 9
44th
6
142 +/- 7
44th
10
142 +/- 14
43rd
6
149 +/- 21
43rd
10
150 +/- 13
43rd
5
156 +/- 1
43rd
10
156 +/- 19
41st
19
162 +/- 9
41st
6
165 +/- 3
41st
12
167 +/- 19
41st
7
167 +/- 21
40th
5
171 +/- 25
40th
6
172 +/- 11
40th
26
173 +/- 14
39th
31
177 +/- 16
39th
6
180 +/- 13
39th
9
182 +/- 16
39th
20
183 +/- 15
39th
5
183 +/- 23
39th
10
184 +/- 7
38th
14
190 +/- 4
37th
4
195 +/- 2
36th
4
201 +/- 1
36th
15
202 +/- 24
36th
4
203 +/- 6
36th
17
206 +/- 15
34th
52
215 +/- 14
34th
5
218 +/- 11
34th
10
219 +/- 1
34th
4
221 +/- 15
33rd
7
227 +/- 24
33rd
7
228 +/- 33
33rd
38
229 +/- 27
33rd
10
232 +/- 30
33rd
5
232 +/- 15
32nd
6
235 +/- 16
32nd
4
242 +/- 1
31st
5
249 +/- 25
31st
10
250 +/- 19
31st
6
253 +/- 26
31st
12
254 +/- 8
31st
4
254 +/- 20
30th
10
261 +/- 16
30th
4
266
30th
4
269 +/- 21
29th
8
271 +/- 33
29th
5
275 +/- 4
29th
8
280 +/- 9
28th
17
285 +/- 33
28th
5
287 +/- 11
28th
20
289 +/- 12
27th
5
297 +/- 6
27th
9
299 +/- 10
26th
16
327 +/- 29
Low-Tier
25th
> 331
24th
25
358 +/- 21
24th
8
360 +/- 27
24th
6
366 +/- 44
23rd
4
386 +/- 5
22nd
8
394 +/- 35
20th
5
434 +/- 14
20th
5
450 +/- 56
19th
10
458 +/- 26
19th
7
461 +/- 58
19th
15
479 +/- 40
18th
12
496 +/- 33
17th
35
502 +/- 70
16th
11
531 +/- 7
16th
7
536 +/- 41
16th
8
546 +/- 76
16th
7
552 +/- 5
16th
12
555 +/- 40
15th
4
566 +/- 29
15th
4
578 +/- 62
15th
5
581 +/- 2
13th
6
648 +/- 32
12th
8
664 +/- 54
12th
4
669 +/- 66
12th
6
673 +/- 38
12th
7
678 +/- 36
11th
5
740 +/- 26
11th
4
747 +/- 54
10th
16
788 +/- 46
10th
4
796 +/- 47
8th
20
966 +/- 98
7th
9
1021 +/- 45
7th
6
1075 +/- 58
6th
12
1221 +/- 18
5th
12
1271 +/- 143
5th
9
1338 +/- 5
5th
12
1442 +/- 110
5th
10
1472 +/- 4
4th
8
1673 +/- 44
3rd
33
2132 +/- 280
2nd
4
2498 +/- 7
2nd
5
2932 +/- 288
1st
18
4107 +/- 404
OpenBenchmarking.orgDistribution Of Public Results - Total Time - 4K, 16 Rays Per Pixel9606 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-Time4080120160200Min: 1 / Avg: 15.66 / Max: 210

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.55 / Max: 14

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 Pixel2468101216243240486496128918273645

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.
 
DIVSD CVTSD2SS CVTSS2SD MOVD CVTDQ2PS CVTSI2SD MULSD SUBSD CVTTSD2SI MOVAPD ADDSD MAXSD MINSD MOVUPD ADDPD MULPD SUBPD CVTDQ2PD UNPCKHPD ANDPD COMISD MOVDQU UNPCKLPD CVTPD2PS MOVDQA PUNPCKLQDQ XORPD SQRTSD MOVHPD DIVPD MOVLPD CVTPS2PD
Last automated analysis: 6 June 2024

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, Spacemit X60, rv64imafdcvsu
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-3A6000, Loongson-3A6000-HV, Loongson-3C5000, 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 M1 Ultra, 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 2-Core, ARMv8 4-Core, ARMv8 8-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-A76 4-Core, ARMv8 Cortex-A77 8-Core, ARMv8 Cortex-A78E 12-Core, ARMv8 Cortex-A78E 4-Core, ARMv8 Cortex-A78E 6-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-N2, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 4-Core, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-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 256-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, Apple M1, Apple M2, Cavium ThunderX, FT-2000, FT2000, FT2000AHK, HUAWEI Kunpeng 920, HUAWEI Kunpeng 920 2249K, HUAWEI Kunpeng 920 5221K, HiSilicon TSV110, 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-A55 4-Core, Rockchip ARMv8 Cortex-A72 6-Core, Rockchip ARMv8 Cortex-A76, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core, Rockchip ARMv8 Cortex-A76 8-Core, SiFive RISC-V