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, 27 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.082021.122022.0480K160K240K320K400K
* 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 18 May 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 7,802 public results since 28 July 2018 with the latest data as of 22 May 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
10
13 +/- 1
94th
22
15 +/- 1
93rd
4
16 +/- 2
85th
4
27 +/- 3
80th
11
35 +/- 1
77th
12
40 +/- 1
Mid-Tier
75th
> 42
74th
4
43 +/- 1
73rd
18
45 +/- 5
73rd
10
46 +/- 6
69th
6
57 +/- 2
64th
11
66 +/- 1
62nd
4
71 +/- 1
62nd
6
72 +/- 6
61st
7
75 +/- 2
61st
13
76 +/- 6
61st
4
76 +/- 2
60th
57
77 +/- 9
60th
6
79 +/- 3
60th
19
80 +/- 1
58th
5
83 +/- 4
54th
12
98 +/- 15
53rd
44
99 +/- 14
53rd
4
100 +/- 7
52nd
35
102 +/- 13
52nd
5
104 +/- 1
51st
12
111 +/- 1
51st
10
112 +/- 3
Median
50th
113
50th
5
115 +/- 1
50th
18
116 +/- 4
50th
11
116 +/- 9
50th
14
117 +/- 13
49th
12
120 +/- 7
48th
5
125 +/- 9
48th
7
127 +/- 12
48th
9
128 +/- 11
48th
6
129 +/- 6
47th
13
130 +/- 11
47th
19
132 +/- 15
46th
9
141 +/- 10
46th
5
142 +/- 8
46th
10
142 +/- 14
45th
4
148 +/- 3
45th
6
149 +/- 21
45th
8
151 +/- 14
45th
5
156 +/- 1
44th
8
158 +/- 21
43rd
19
162 +/- 9
43rd
6
165 +/- 3
42nd
12
167 +/- 19
42nd
5
171 +/- 25
41st
4
179 +/- 7
41st
6
180 +/- 13
41st
11
180 +/- 25
41st
22
181 +/- 18
41st
13
182 +/- 12
40th
3
183 +/- 6
40th
17
183 +/- 16
40th
9
185 +/- 4
39th
14
191 +/- 19
39th
4
197 +/- 12
38th
7
200 +/- 22
38th
6
200 +/- 23
38th
12
204 +/- 23
38th
17
206 +/- 15
37th
4
207 +/- 21
37th
18
208 +/- 24
36th
4
214 +/- 18
36th
8
217 +/- 15
36th
44
220 +/- 18
35th
7
227 +/- 24
35th
7
228 +/- 33
35th
37
230 +/- 27
35th
10
232 +/- 30
34th
6
235 +/- 16
34th
11
236 +/- 19
34th
4
242 +/- 1
33rd
5
248 +/- 26
33rd
5
249 +/- 25
33rd
10
250 +/- 19
32nd
12
254 +/- 8
31st
7
265 +/- 17
31st
8
271 +/- 33
30th
14
279 +/- 30
30th
4
283 +/- 13
30th
5
287 +/- 11
29th
5
299 +/- 12
28th
30
308 +/- 29
27th
4
326 +/- 16
27th
14
332 +/- 28
26th
4
340 +/- 24
26th
25
358 +/- 21
Low-Tier
25th
> 358
25th
4
365 +/- 27
23rd
8
394 +/- 35
21st
5
450 +/- 56
21st
7
461 +/- 58
20th
13
476 +/- 27
20th
12
486 +/- 41
19th
11
498 +/- 34
19th
34
505 +/- 70
18th
3
525 +/- 78
18th
11
531 +/- 7
18th
7
536 +/- 41
17th
11
555 +/- 42
17th
4
556 +/- 44
16th
4
567 +/- 26
16th
3
573 +/- 51
16th
4
578 +/- 62
16th
7
580 +/- 35
16th
5
581 +/- 2
15th
7
604 +/- 39
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
11th
4
747 +/- 54
11th
8
775 +/- 60
10th
14
790 +/- 48
8th
19
970 +/- 99
7th
9
1021 +/- 45
7th
4
1121 +/- 52
6th
4
1188 +/- 3
6th
12
1221 +/- 18
6th
10
1269 +/- 158
5th
9
1338 +/- 5
5th
3
1419 +/- 114
5th
10
1472 +/- 4
5th
9
1473 +/- 111
4th
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
OpenBenchmarking.orgDistribution Of Public Results - Total Time - 4K, 16 Rays Per Pixel7794 Results Range From 4 To 35440 Seconds4713142221312840354942584967567663857094780385129221993010639113481205712766134751418414893156021631117020177291843819147198562056521274219832269223401241102481925528262372694627655283642907329782304913120031909326183332734036347453545415003000450060007500

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.42 / Max: 185

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.

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

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
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
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 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 6-Core, ARMv8 Cortex-A73 8-Core, ARMv8 Cortex-A75 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 8-Core, ARMv8 Neoverse-N1 80-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, Cavium ThunderX, FT-2000, FT2000AHK, HUAWEI Kunpeng 920, HUAWEI Kunpeng 920 2249K, HUAWEI Kunpeng 920 5221K, Phytium FT-2000, Phytium FT1500A, Phytium FT2000A 4-Core, Phytium FT2000PLUS, Phytium S2500, Rockchip, Rockchip ARMVv8 Cortex-A53 4-Core, Rockchip ARMv8 Cortex-A53 4-Core, Rockchip ARMv8 Cortex-A72 6-Core, SiFive RISC-V

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 20 Benchmark Results

Intel Core i7-11800H - TGL QX60_TLS - Intel Tiger Lake-H

Fedora Linux 36 - 5.17.8-300.fc36.x86_64 - GNOME Shell 42.1

1 System - 1 Benchmark Result

AMD Ryzen 9 5950X 16-Core - Gigabyte X570 AORUS MASTER - AMD Starship

Ubuntu 20.04 - 5.13.0-41-generic - GNOME Shell 3.36.9

2 Systems - 9 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Gigabyte X570 AORUS MASTER - AMD Starship

Ubuntu 20.04 - 5.13.0-41-generic - GNOME Shell 3.36.9

1 System - 8 Benchmark Results

Loongson-3C5000LL - LOONGSON Loongson-LS2C5LE - Loongson LLC Hyper Transport Bridge

Kylin Linux Advanced Server V10 - 4.19.90-23.19.v2101.a.ky10.loongarch64 - X Server 1.20.6

2 Systems - 1 Benchmark Result

AMD Athlon II X2 240 - LENOVO Tilapia CRB - AMD RS780 + SB7x0

Ubuntu 20.04 - 5.4.0-110-lowlatency - Xfce 4.14

1 System - 2 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Gigabyte X570 AORUS MASTER - AMD Starship

Ubuntu 20.04 - 5.13.0-41-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

AMD Ryzen Threadripper PRO 3995WX 64-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

3 Systems - 175 Benchmark Results

Intel Core i3-10110U - Dell 0KWRV9 - Intel Comet Lake PCH-LP

ManjaroLinux 21.2.6 - 5.17.5-nitrous-2 - KDE Plasma 5.24.5

1 System - 1 Benchmark Result

Intel Core i5-4670 - Gigabyte H87N-WIFI - Intel 4th Gen Core DRAM

Ubuntu 20.04 - 5.4.0-112-lowlatency - GNOME Shell 3.36.9

13 Systems - 49 Benchmark Results

HUAWEI Kunpeng 920 - THTF BC82AMDGE - Huawei HiSilicon

Linx 10 - 4.19.90-25.14.v2101.ky10.aarch64 - X Server 1.20.4

2 Systems - 110 Benchmark Results

AMD EPYC 7713P 64-Core - Supermicro H12SSW-AN6 v1.01 - AMD Starship

CentOS 7.9.2009 - 5.14.15-1.el7.elrepo.x86_64 - X Server 1.19.2

1 System - 1 Benchmark Result

AMD Ryzen Threadripper PRO 3995WX 64-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Ubuntu 22.04 - 5.15.0-27-generic - GNOME Shell 42.0

1 System - 1 Benchmark Result

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG STRIX B350-F GAMING - AMD Starship

Arch rolling - 5.11.2-129-tkg-pds - GNOME Shell 42.1

21 Systems - 70 Benchmark Results

2 x AMD EPYC 7302 16-Core - AMD DAYTONA_X - AMD Device 1480

Ubuntu 19.04 - 5.3.0-999-generic - GNOME Shell 3.32.2

Most Popular Test Results

Find More Test Results