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.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.0460K120K180K240K300K
* 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, 10 Apr 2021 04:11:46 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,397 public results since 28 July 2018 with the latest data as of 11 April 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
22
15 +/- 1
87th
4
27 +/- 3
79th
11
40 +/- 1
77th
3
43 +/- 1
76th
15
45 +/- 5
Mid-Tier
75th
> 45
67th
11
66 +/- 1
65th
4
71 +/- 1
63rd
3
76 +/- 1
63rd
12
76 +/- 6
63rd
56
77 +/- 9
62nd
4
80 +/- 3
62nd
17
80 +/- 1
61st
5
83 +/- 4
60th
3
86 +/- 5
56th
3
97 +/- 4
56th
3
98 +/- 9
56th
12
98 +/- 15
56th
43
99 +/- 14
54th
35
102 +/- 13
53rd
12
111 +/- 1
53rd
10
112 +/- 3
52nd
5
115 +/- 1
52nd
18
116 +/- 4
52nd
14
117 +/- 13
52nd
12
120 +/- 7
Median
50th
126
50th
7
127 +/- 12
50th
9
128 +/- 11
49th
19
132 +/- 15
49th
3
134 +/- 7
48th
10
142 +/- 14
47th
4
148 +/- 3
47th
6
149 +/- 21
47th
16
152 +/- 12
47th
7
153 +/- 14
47th
5
156 +/- 4
47th
5
156 +/- 1
46th
8
158 +/- 21
45th
18
163 +/- 8
45th
5
165 +/- 3
44th
9
169 +/- 22
44th
3
173 +/- 8
43rd
3
179 +/- 24
43rd
4
179 +/- 7
43rd
11
180 +/- 25
43rd
6
180 +/- 13
43rd
13
182 +/- 12
43rd
21
182 +/- 18
43rd
17
183 +/- 16
43rd
3
183 +/- 6
42nd
9
185 +/- 4
41st
14
191 +/- 19
40th
4
197 +/- 12
40th
6
200 +/- 23
40th
7
200 +/- 22
40th
12
204 +/- 23
39th
17
206 +/- 15
39th
18
208 +/- 24
38th
3
214 +/- 2
38th
4
214 +/- 18
38th
3
214 +/- 8
38th
3
215 +/- 20
38th
8
217 +/- 15
37th
44
220 +/- 18
37th
7
227 +/- 24
36th
7
228 +/- 33
36th
37
230 +/- 27
36th
3
232 +/- 8
35th
8
238 +/- 30
35th
5
238 +/- 16
35th
10
238 +/- 20
34th
5
249 +/- 25
34th
10
250 +/- 19
33rd
12
254 +/- 8
33rd
4
255 +/- 24
33rd
6
266 +/- 18
32nd
8
271 +/- 33
32nd
3
272 +/- 24
31st
14
279 +/- 30
31st
3
285 +/- 14
30th
5
287 +/- 11
29th
3
302 +/- 16
29th
30
308 +/- 29
26th
3
357 +/- 43
26th
24
358 +/- 21
26th
4
365 +/- 27
Low-Tier
25th
> 373
25th
5
379 +/- 17
24th
3
391 +/- 27
24th
6
393 +/- 22
22nd
5
450 +/- 56
21st
7
461 +/- 58
21st
3
468 +/- 53
20th
11
483 +/- 23
20th
12
486 +/- 41
19th
9
500 +/- 37
19th
33
505 +/- 71
18th
3
525 +/- 78
18th
11
531 +/- 7
18th
4
546 +/- 40
17th
3
552 +/- 1
17th
11
555 +/- 42
17th
4
556 +/- 44
17th
4
567 +/- 26
16th
4
578 +/- 62
16th
7
580 +/- 35
16th
4
582 +/- 1
16th
3
586 +/- 7
16th
7
604 +/- 39
15th
3
640 +/- 1
14th
3
648 +/- 32
14th
6
648 +/- 32
14th
3
653 +/- 4
14th
7
658 +/- 54
13th
6
673 +/- 38
13th
3
675 +/- 80
13th
16
676 +/- 43
13th
7
682 +/- 18
13th
6
687 +/- 29
13th
3
693 +/- 88
12th
3
731 +/- 84
12th
4
747 +/- 54
11th
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
1st
3
3459 +/- 508
1st
18
4107 +/- 404
1st
3
7985 +/- 70
OpenBenchmarking.orgDistribution Of Public Results - Total Time - 4K, 16 Rays Per Pixel6382 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.3 / Max: 171

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.38 / 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 Pixel2468121618202428323648649612860120180240300

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

12 Systems - 453 Benchmark Results

Intel Core i5-10600K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

1 System - 1 Benchmark Result

2 x Intel $0000% - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - GCC 8.3.1 20191121

1 System - 1 Benchmark Result

2 x Intel $0000% - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - GNOME Shell 3.28.3

1 System - 28 Benchmark Results

AMD Ryzen 5 3400G - ASUS Pro WS X570-ACE - AMD Raven

Gentoo 2.7 - 5.11.11-gentoo - Xfce 4.16

1 System - 1 Benchmark Result

AMD Ryzen 5 3550H - LENOVO LNVNB161216 - AMD Raven

ManjaroLinux 21.0 - 5.9.16-1-MANJARO - KDE Plasma 5.21.3

2 Systems - 5 Benchmark Results

Exagear Virtual i686-compatible - Greatwall GW-001M1A-FTF v1.0 - 8192MB

Ubuntu 16.04 - 4.4.131-20200710.kylin.desktop-generic - X Server 1.18.4

5 Systems - 67 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 400 Rev 1.0 - 4096MB

Debian 10 - 5.10.17-v8+ - GCC 8.3.0

1 System - 5 Benchmark Results

Phytium FT-2000/4 - Greatwall GW-001M1A-FTF v1.0 - 8192MB

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

3 Systems - 21 Benchmark Results

AMD Ryzen 9 5900X 12-Core - MSI B550M PRO-VDH WIFI - AMD Device 1480

Ubuntu 18.04 - 5.4.0-70-generic - LXDE 0.9.3

2 Systems - 21 Benchmark Results

AMD Ryzen 9 5900X 12-Core - MSI B550M PRO-VDH WIFI - AMD Device 1480

Ubuntu 18.04 - 5.4.0-70-generic - LXDE 0.9.3

11 Systems - 58 Benchmark Results

AMD Ryzen Threadripper 2950X 16-Core - MSI MEG X399 CREATION - AMD Family 17h

Ubuntu 18.04 - 4.18.0-999-generic - GNOME Shell 3.28.2

1 System - 89 Benchmark Results

2 x Intel Xeon Gold 5218R - Supermicro X11DPX-T - Intel Device 2020

Ubuntu 16.04 - 4.15.0-140-generic - Unity 7.4.0

Most Popular Test Results

Find More Test Results