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, 2 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.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
* 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 14 June 2021.

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,711 public results since 28 July 2018 with the latest data as of 15 June 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
# Compatible Public Results
Seconds (Average)
94th
22
15 +/- 1
85th
4
27 +/- 3
78th
11
40 +/- 1
Mid-Tier
75th
> 43
74th
15
45 +/- 5
65th
11
66 +/- 1
63rd
4
71 +/- 1
62nd
12
76 +/- 6
61st
56
77 +/- 9
61st
17
80 +/- 1
61st
4
80 +/- 3
60th
5
83 +/- 4
59th
3
86 +/- 5
55th
12
98 +/- 15
55th
3
98 +/- 9
54th
44
99 +/- 14
53rd
35
102 +/- 13
52nd
12
111 +/- 1
52nd
10
112 +/- 3
51st
5
115 +/- 1
51st
18
116 +/- 4
51st
14
117 +/- 13
Median
50th
120
50th
12
120 +/- 7
49th
7
127 +/- 12
49th
9
128 +/- 11
48th
19
132 +/- 15
48th
6
136 +/- 5
47th
10
142 +/- 14
46th
4
148 +/- 3
46th
6
149 +/- 21
46th
17
151 +/- 12
46th
7
153 +/- 14
46th
5
156 +/- 4
46th
5
156 +/- 1
45th
8
158 +/- 21
44th
18
163 +/- 8
44th
5
165 +/- 3
43rd
9
169 +/- 22
43rd
3
173 +/- 8
42nd
3
179 +/- 24
42nd
4
179 +/- 7
42nd
11
180 +/- 25
42nd
6
180 +/- 13
42nd
21
182 +/- 18
42nd
13
182 +/- 12
42nd
3
183 +/- 6
42nd
17
183 +/- 16
41st
9
185 +/- 4
40th
14
191 +/- 19
40th
3
197 +/- 13
40th
4
197 +/- 12
39th
7
200 +/- 22
39th
6
200 +/- 23
39th
12
204 +/- 23
38th
17
206 +/- 15
38th
18
208 +/- 24
37th
3
214 +/- 8
37th
4
214 +/- 18
37th
3
215 +/- 20
37th
8
217 +/- 15
36th
44
220 +/- 18
36th
7
227 +/- 24
36th
7
228 +/- 33
36th
37
230 +/- 27
35th
3
232 +/- 8
35th
5
238 +/- 16
35th
8
238 +/- 30
35th
10
238 +/- 20
34th
5
249 +/- 25
34th
10
250 +/- 19
33rd
12
254 +/- 8
33rd
4
255 +/- 24
32nd
6
266 +/- 18
31st
8
271 +/- 33
31st
14
279 +/- 30
30th
5
287 +/- 11
29th
30
308 +/- 29
27th
12
327 +/- 26
26th
3
357 +/- 43
26th
24
358 +/- 21
26th
4
365 +/- 27
Low-Tier
25th
> 367
25th
6
382 +/- 17
24th
3
391 +/- 27
24th
6
393 +/- 22
21st
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
17th
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
5
581 +/- 2
16th
7
604 +/- 39
15th
3
640 +/- 1
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
12th
4
747 +/- 54
11th
8
775 +/- 60
11th
14
790 +/- 48
10th
3
859 +/- 90
8th
18
972 +/- 101
7th
4
1121 +/- 52
6th
12
1221 +/- 18
5th
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
18
4107 +/- 404
1st
3
7985 +/- 70
OpenBenchmarking.orgDistribution Of Public Results - Total Time - 4K, 16 Rays Per Pixel6711 Results Range From 4 To 35440 Seconds4713142221312840354942584967567663857094780385129221993010639113481205712766134751418414893156021631117020177291843819147198562056521274219832269223401241102481925528262372694627655283642907329782304913120031909326183332734036347453545413002600390052006500

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

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: 10

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 Pixel246812162024283236404856649612850100150200250

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 UCOMISD SQRTSD MOVAPD XORPD COMISD MAXSD MOVUPD MULPD CMPNLTSD ANDPD ANDNPD ORPD MINSD UNPCKLPD DIVPD CVTSD2SS CVTSS2SD MOVHPD MOVDQA
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VINSERTF128 VZEROUPPER
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231SD VFMADD132SD VFNMSUB132SD VFNMADD132SD VFMSUB231SD VFMSUB132SD VFNMADD231SD VFNMSUB231SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 10 May 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 - 372 Benchmark Results

2 x AMD EPYC 7763 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 21.04 - 5.13.0-051300rc4-generic - X Server 1.20.11

12 Systems - 214 Benchmark Results

Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Ubuntu 21.04 - 5.13.0-051300rc4-generic - GNOME Shell 3.38.4

1 System - 1 Benchmark Result

Intel Core i5 450M - ASUS N73Jn v1.0 - Intel Core DRAM

Peppermint 10 - 5.0.0-37-generic - LXDE

1 System - 1 Benchmark Result

AMD Ryzen 5 5600X 6-Core - ASRock X570 Phantom Gaming 4 - AMD Starship

Debian 11 - 5.10.0-7-amd64 - Cinnamon 4.8.6

2 Systems - 118 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Fedora 34 - 5.12.9-300.fc34.x86_64 - GNOME Shell 40.1

3 Systems - 103 Benchmark Results

Intel Xeon Gold 6238R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

CentOS Linux 8 - 4.18.0-240.10.1.el8_3.x86_64 - GCC 8.3.1 20191121

3 Systems - 5 Benchmark Results

Loongson-3A5000 - Loongson LM-LS3A5000-7A1000-1w-V01-pc_A2101 v1.0 - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.167-rc5.lnd.1-loongson-3 - X Server 1.20.4

1 System - 240 Benchmark Results

2 x Intel Xeon - OpenStack Foundation Nova v21.0.0 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-74-generic - GCC 9.3.0

1 System - 241 Benchmark Results

2 x Intel Xeon - OpenStack Foundation Nova v21.0.0 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-74-generic - GCC 9.3.0

2 Systems - 1 Benchmark Result

2 Systems - 1 Benchmark Result

Loongson-3A5000 - Loongson LM-LS3A5000-7A1000-1w-V01-pc_A2101 v1.0 - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.167-rc5.lnd.1-loongson-3 - X Server 1.20.4

Most Popular Test Results

Find More Test Results