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.0880K160K240K320K400K
* 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 4 October 2022.

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

Renderers

Raytracing


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,284 public results since 28 July 2018 with the latest data as of 4 October 2022.

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)
95th
13
13 +/- 1
94th
22
15 +/- 1
93rd
4
16 +/- 2
85th
4
27 +/- 3
80th
16
35 +/- 1
77th
12
40 +/- 1
Mid-Tier
75th
> 42
74th
4
43 +/- 1
73rd
18
45 +/- 5
73rd
11
46 +/- 6
64th
11
66 +/- 1
62nd
4
71 +/- 5
62nd
4
71 +/- 1
62nd
6
72 +/- 6
61st
7
75 +/- 2
61st
14
75 +/- 6
61st
4
76 +/- 2
60th
57
77 +/- 9
60th
6
79 +/- 3
59th
19
80 +/- 1
58th
5
83 +/- 4
56th
4
88 +/- 7
53rd
12
98 +/- 15
53rd
45
99 +/- 13
53rd
4
100 +/- 7
52nd
35
102 +/- 13
52nd
5
104 +/- 1
Median
50th
110
50th
12
111 +/- 1
50th
10
112 +/- 3
50th
5
115 +/- 1
49th
11
116 +/- 9
49th
18
116 +/- 4
49th
14
117 +/- 13
49th
12
120 +/- 7
48th
5
125 +/- 9
48th
7
127 +/- 12
47th
9
128 +/- 11
47th
6
129 +/- 6
47th
13
130 +/- 11
47th
19
132 +/- 15
46th
10
141 +/- 9
45th
5
142 +/- 8
45th
10
142 +/- 14
45th
4
148 +/- 3
45th
6
149 +/- 21
45th
10
150 +/- 13
44th
5
156 +/- 1
43rd
8
158 +/- 21
43rd
4
160 +/- 1
42nd
19
162 +/- 9
42nd
6
165 +/- 3
42nd
12
167 +/- 19
41st
5
171 +/- 25
40th
4
179 +/- 7
40th
11
180 +/- 25
40th
6
180 +/- 13
40th
22
181 +/- 18
40th
13
182 +/- 12
40th
18
183 +/- 16
40th
9
185 +/- 4
39th
14
191 +/- 19
38th
4
197 +/- 12
38th
7
200 +/- 22
38th
6
200 +/- 23
38th
4
201 +/- 1
37th
12
204 +/- 23
37th
17
206 +/- 15
37th
4
207 +/- 21
36th
18
208 +/- 24
36th
4
214 +/- 18
35th
8
217 +/- 15
35th
44
220 +/- 18
35th
7
227 +/- 24
34th
7
228 +/- 33
34th
37
230 +/- 27
34th
10
232 +/- 30
34th
6
235 +/- 16
34th
11
236 +/- 19
33rd
4
242 +/- 1
33rd
5
248 +/- 26
32nd
5
249 +/- 25
32nd
10
250 +/- 19
32nd
12
254 +/- 8
32nd
4
257 +/- 12
31st
8
263 +/- 17
30th
8
271 +/- 33
29th
4
283 +/- 13
29th
17
285 +/- 33
29th
5
287 +/- 11
28th
5
299 +/- 12
28th
30
308 +/- 29
27th
4
326 +/- 16
27th
14
332 +/- 28
26th
4
340 +/- 24
Low-Tier
25th
> 349
25th
25
358 +/- 21
25th
4
365 +/- 27
23rd
8
394 +/- 35
21st
5
450 +/- 56
20th
7
461 +/- 58
20th
15
471 +/- 28
19th
12
486 +/- 41
18th
11
498 +/- 34
18th
34
505 +/- 70
17th
11
531 +/- 7
17th
7
536 +/- 41
17th
11
555 +/- 42
16th
4
556 +/- 44
16th
4
567 +/- 26
16th
4
578 +/- 62
16th
7
580 +/- 35
16th
5
581 +/- 2
16th
4
592 +/- 13
15th
7
604 +/- 39
14th
6
648 +/- 32
13th
7
658 +/- 54
13th
4
669 +/- 66
13th
6
673 +/- 38
13th
16
676 +/- 43
13th
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
6th
4
1121 +/- 52
6th
4
1188 +/- 3
6th
12
1221 +/- 18
5th
12
1271 +/- 143
5th
9
1338 +/- 5
5th
11
1450 +/- 111
5th
10
1472 +/- 4
4th
8
1673 +/- 44
3rd
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 Pixel8267 Results Range From 4 To 35440 Seconds4713142221312840354942584967567663857094780385129221993010639113481205712766134751418414893156021631117020177291843819147198562056521274219832269223401241102481925528262372694627655283642907329782304913120031909326183332734036347453545416003200480064008000

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 17 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: 16.06 / Max: 180

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTotal Time - 4K, 16 Rays Per PixelDeviation3691215Min: 0 / Avg: 0.44 / Max: 11

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 Pixel2468101216182024283240486496128714212835

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-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 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-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, SiFive RISC-V