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

1 Second

Average Run Time

5 Minutes, 16 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.042021.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 20 September 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 7,080 public results since 28 July 2018 with the latest data as of 23 September 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)
95th
10
13 +/- 1
94th
22
15 +/- 1
85th
4
27 +/- 3
77th
11
40 +/- 1
Mid-Tier
75th
> 43
74th
18
45 +/- 5
65th
11
66 +/- 1
63rd
4
71 +/- 1
63rd
3
71 +/- 6
63rd
6
72 +/- 6
62nd
6
75 +/- 1
61st
12
76 +/- 6
61st
3
76 +/- 1
61st
56
77 +/- 9
61st
6
79 +/- 3
60th
17
80 +/- 1
59th
5
83 +/- 4
54th
3
98 +/- 9
54th
12
98 +/- 15
54th
44
99 +/- 14
53rd
4
100 +/- 7
53rd
35
102 +/- 13
51st
12
111 +/- 1
51st
10
112 +/- 3
51st
5
115 +/- 1
51st
18
116 +/- 4
Median
50th
117
50th
14
117 +/- 13
50th
12
120 +/- 7
49th
7
127 +/- 12
49th
9
128 +/- 11
48th
19
132 +/- 15
47th
9
141 +/- 10
47th
10
142 +/- 14
46th
4
148 +/- 3
46th
6
149 +/- 21
46th
8
151 +/- 14
46th
17
151 +/- 12
46th
5
156 +/- 1
46th
5
156 +/- 4
45th
8
158 +/- 21
44th
18
163 +/- 8
44th
6
165 +/- 3
43rd
9
169 +/- 22
42nd
6
178 +/- 22
42nd
3
179 +/- 24
42nd
4
179 +/- 7
42nd
6
180 +/- 13
42nd
11
180 +/- 25
42nd
22
181 +/- 18
42nd
13
182 +/- 12
42nd
3
183 +/- 6
42nd
17
183 +/- 16
41st
9
185 +/- 4
40th
14
191 +/- 19
39th
4
197 +/- 12
39th
6
200 +/- 23
39th
7
200 +/- 22
39th
12
204 +/- 23
38th
17
206 +/- 15
38th
4
207 +/- 21
38th
18
208 +/- 24
37th
4
214 +/- 18
37th
3
215 +/- 20
37th
8
217 +/- 15
37th
44
220 +/- 18
36th
7
227 +/- 24
36th
7
228 +/- 33
36th
37
230 +/- 27
35th
9
235 +/- 29
35th
5
238 +/- 16
35th
10
238 +/- 20
34th
5
249 +/- 25
34th
10
250 +/- 19
33rd
12
254 +/- 8
33rd
4
255 +/- 24
32nd
6
266 +/- 18
32nd
8
271 +/- 33
31st
14
279 +/- 30
30th
5
287 +/- 11
29th
5
299 +/- 12
29th
30
308 +/- 29
28th
13
331 +/- 29
27th
3
336 +/- 28
26th
3
357 +/- 43
26th
24
358 +/- 21
26th
4
365 +/- 27
Low-Tier
25th
> 372
24th
3
391 +/- 27
24th
6
393 +/- 22
24th
8
394 +/- 35
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
11
555 +/- 42
17th
4
556 +/- 44
17th
4
567 +/- 26
17th
4
578 +/- 62
17th
7
580 +/- 35
17th
5
581 +/- 2
16th
7
604 +/- 39
15th
3
640 +/- 1
14th
6
648 +/- 32
14th
7
658 +/- 54
13th
4
669 +/- 66
13th
6
673 +/- 38
13th
16
676 +/- 43
13th
7
678 +/- 36
13th
7
682 +/- 18
13th
3
693 +/- 88
12th
4
747 +/- 54
11th
8
775 +/- 60
10th
14
790 +/- 48
8th
19
970 +/- 99
7th
4
1121 +/- 52
6th
12
1221 +/- 18
5th
9
1338 +/- 5
5th
10
1472 +/- 4
5th
9
1473 +/- 111
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 Pixel7079 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 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.54 / Max: 178

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.4 / 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 Pixel2468121620242832404856649612850100150200250

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 - 47 Benchmark Results

Unknown - 2048MB - 25GB

Ubuntu 20.04 - 5.4.0-74-generic - 1.0.2

2 Systems - 108 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 96 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

3 Systems - 59 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

3 Systems - 58 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 95 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

3 Systems - 45 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 63 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

3 Systems - 41 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 59 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

3 Systems - 40 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 55 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

3 Systems - 39 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 54 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 39 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

Most Popular Test Results

Find More Test Results