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

5 Minutes, 3 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 40k+ Public Benchmark Results

Supported Platforms


Public Result UploadsTest Completions*Reported Installs*OpenBenchmarking.orgEventsC-Ray Popularity Statisticspts/c-ray2011.032011.072011.112012.032012.072012.112013.032013.072013.112014.032014.072014.112015.032015.072015.112016.032016.072016.112017.032017.072017.112018.032018.072018.112019.032019.072019.112020.032020.072020.112021.0360K120K180K240K300K
* 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 Mon, 08 Mar 2021 13:16:33 GMT.

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 6,146 public results since 28 July 2018 with the latest data as of 9 March 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)
95th
20
15 +/- 1
87th
3
28 +/- 4
78th
3
43 +/- 1
77th
15
45 +/- 5
Mid-Tier
75th
> 47
66th
4
71 +/- 1
64th
12
76 +/- 6
64th
3
76 +/- 1
64th
56
77 +/- 9
63rd
15
80 +/- 1
63rd
4
80 +/- 3
62nd
5
83 +/- 4
61st
3
86 +/- 5
58th
3
97 +/- 4
57th
3
98 +/- 9
57th
12
98 +/- 15
57th
42
99 +/- 14
56th
35
102 +/- 13
54th
12
111 +/- 1
54th
5
115 +/- 1
54th
18
116 +/- 4
53rd
14
117 +/- 13
53rd
12
120 +/- 7
52nd
7
127 +/- 12
51st
9
128 +/- 11
51st
19
132 +/- 15
Median
50th
134
50th
10
142 +/- 14
49th
4
148 +/- 3
49th
6
149 +/- 21
48th
16
152 +/- 12
48th
7
153 +/- 14
48th
5
156 +/- 4
48th
5
156 +/- 1
47th
8
158 +/- 21
46th
18
163 +/- 8
46th
5
165 +/- 3
45th
9
169 +/- 22
45th
3
173 +/- 8
44th
3
179 +/- 24
44th
4
179 +/- 7
44th
6
180 +/- 13
44th
11
180 +/- 25
44th
21
182 +/- 18
44th
13
182 +/- 12
44th
17
183 +/- 16
44th
3
183 +/- 6
43rd
9
185 +/- 4
42nd
14
191 +/- 19
41st
4
197 +/- 12
41st
6
200 +/- 23
41st
7
200 +/- 22
41st
12
204 +/- 23
40th
17
206 +/- 15
40th
18
208 +/- 24
39th
4
214 +/- 18
39th
3
214 +/- 2
39th
3
214 +/- 8
39th
3
215 +/- 20
38th
8
217 +/- 15
38th
44
220 +/- 18
37th
7
227 +/- 24
37th
7
228 +/- 33
37th
3
232 +/- 8
36th
10
238 +/- 20
36th
8
238 +/- 30
35th
5
249 +/- 25
35th
10
250 +/- 19
34th
12
254 +/- 8
34th
4
255 +/- 24
33rd
6
266 +/- 18
33rd
8
271 +/- 33
33rd
3
272 +/- 24
32nd
12
283 +/- 30
31st
3
285 +/- 14
31st
5
287 +/- 11
30th
3
302 +/- 16
30th
30
308 +/- 29
27th
3
357 +/- 43
27th
24
358 +/- 21
27th
4
365 +/- 27
26th
5
379 +/- 17
Low-Tier
25th
> 382
25th
3
391 +/- 27
24th
4
404 +/- 18
22nd
5
450 +/- 56
22nd
7
461 +/- 58
22nd
3
468 +/- 53
21st
11
483 +/- 23
21st
12
486 +/- 41
20th
9
500 +/- 37
19th
33
505 +/- 71
19th
3
525 +/- 78
18th
11
531 +/- 7
18th
4
546 +/- 40
18th
3
552 +/- 1
17th
11
555 +/- 42
17th
4
556 +/- 44
17th
4
567 +/- 26
17th
4
578 +/- 62
17th
7
580 +/- 35
17th
4
582 +/- 1
17th
3
586 +/- 7
16th
7
604 +/- 39
15th
3
640 +/- 1
15th
3
648 +/- 32
15th
6
648 +/- 32
15th
3
653 +/- 4
14th
7
658 +/- 54
14th
6
673 +/- 38
14th
3
675 +/- 80
14th
16
676 +/- 43
14th
7
682 +/- 18
13th
6
687 +/- 29
13th
3
693 +/- 88
12th
3
731 +/- 84
12th
4
747 +/- 54
12th
8
775 +/- 60
10th
3
859 +/- 90
9th
17
973 +/- 104
7th
4
1121 +/- 52
7th
3
1189 +/- 1
6th
12
1221 +/- 18
6th
9
1338 +/- 5
5th
3
1419 +/- 114
5th
7
1455 +/- 121
5th
10
1472 +/- 4
5th
3
1515 +/- 1
4th
8
1673 +/- 44
3rd
33
2132 +/- 280
2nd
4
2498 +/- 7
2nd
6
2728 +/- 337
2nd
5
2932 +/- 288
2nd
3
3459 +/- 508
1st
18
4107 +/- 404
1st
3
7985 +/- 70
OpenBenchmarking.orgDistribution Of Public Results - Total Time - 4K, 16 Rays Per Pixel6145 Results Range From 4 To 35440 Seconds4713142221312840354942584967567663857094780385129221993010639113481205712766134751418414893156021631117020177291843819147198562056521274219832269223401241102481925528262372694627655283642907329782304913120031909326183332734036347453545412002400360048006000

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 15 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: 14.67 / Max: 174

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.37 / Max: 9

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseC-Ray CPU Core ScalingTotal Time - 4K, 16 Rays Per Pixel246812162024283248649612860120180240300

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 UNPCKHPD CMPNLTSD ANDPD ANDNPD ORPD MINSD SUBPD DIVPD MOVHPD MOVLPD 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: 30 January 2021

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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

Intel Core i5-6400 - Dell 0XJ8C4 - Intel Xeon E3-1200 v5

CentOS Linux 7 - 3.10.0-957.27.2.el7.x86_64 - intel

4 Systems - 5 Benchmark Results

Unknown - BCM2835 - 2048MB

Ubuntu 19.10 - 5.3.0-1014-raspi2 - GNOME Shell 3.34.1

13 Systems - 12 Benchmark Results

ARMv8 Cortex-A73 - Hardkernel ODROID-N2 - 4096MB

Arch Linux ARM - 4.9.219-1-ARCH - GCC 9.3.0 + Clang 10.0.0 + LLVM 10.0.0

2 Systems - 1 Benchmark Result

AMD Ryzen 5 2600 Six-Core - ASRock B450M Pro4 - AMD 17h

Pop 20.10 - 5.8.0-7642-generic - GNOME Shell 3.38.2

2 Systems - 81 Benchmark Results

2 x AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

1 System - 1 Benchmark Result

Unknown - Yunke China BC82AMDGA - Huawei HiSilicon

CentOS 7.6.1810 - 4.14.0-115.el7a.0.1.aarch64 - GNOME Shell 3.28.3

1 System - 18 Benchmark Results

ARMv8 Cortex-A72 - Telechips TCC8050 Evaluation Board for AVN - 6144MB

poky-telechips-systemd 3.1.5 - 4.14.202-tcc - Wayland Weston 8.0.0

14 Systems - 28 Benchmark Results

Intel Core i9-7980XE - ASUS PRIME X299-A - Intel Sky Lake-E DMI3 Registers

Ubuntu 18.10 - 4.19.0-999-generic - GNOME Shell 3.30.1

1 System - 1 Benchmark Result

FT-2000/4 - Greatwall GW-001M1A-FTF v1.0 - 1 x 8192 MB DDR4-2666MT

Uos 20 - 4.19.0-arm64-desktop - Deepin Desktop Environment

1 System - 8 Benchmark Results

Intel Core i5-10210U - Intel NUC10i5FNB - Intel Device 02ef

Ubuntu 20.04 - 5.4.0-65-generic - Xfce 4.14

1 System - 1 Benchmark Result

2 x Intel Xeon Gold 6150 - Supermicro X11DPU v1.10 - Intel Sky Lake-E DMI3 Registers

ArcherOS 2020 1.4 - 3.10.0-957.10.2.el7.x86_64 - NVIDIA

1 System - 9 Benchmark Results

Intel Core i5-10210U - Intel NUC10i5FNB - Intel Device 02ef

Ubuntu 20.04 - 5.4.0-65-generic - Xfce 4.14

Most Popular Test Results

Find More Test Results