C-Ray

This is a test of C-Ray, a simple multi-threaded raytracer designed to test the floating-point CPU performance.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark c-ray.

Source Repository

github.com

Test Created

6 December 2010

Last Updated

27 April 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

23 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.052011.102012.032012.082013.012013.062013.112014.042014.092015.022015.072015.122016.052016.102017.032017.082018.012018.062018.112019.042019.092020.022020.072020.122021.052021.102022.032022.082023.012023.062023.112024.042024.09100K200K300K400K500K
* 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 updated weekly as of 29 January 2025.
1080p41.9%5K22.3%4K35.8%Resolution Option PopularityOpenBenchmarking.org

Revision History

pts/c-ray-2.0.0   [View Source]   Sat, 27 Apr 2024 17:19:51 GMT
Update against C-Ray 2.0 from new repository.

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

Raytracing

CPU Massive

Creator Workloads

Server CPU Tests

Renderers


Performance Metrics

Analyze Test Configuration:

C-Ray 2.0

Resolution: 1080p - Rays Per Pixel: 16

OpenBenchmarking.org metrics for this test profile configuration based on 1,027 public results since 27 April 2024 with the latest data as of 30 January 2025.

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)
Mid-Tier
75th
> 26
61st
10
40 +/- 1
Median
50th
57
50th
5
59 +/- 8
49th
8
59 +/- 1
48th
4
61 +/- 1
45th
8
64 +/- 1
45th
3
64 +/- 1
41st
12
68 +/- 5
41st
16
70 +/- 6
41st
5
70 +/- 1
33rd
22
77 +/- 2
30th
8
82 +/- 7
Low-Tier
25th
> 95
23rd
35
101 +/- 2
19th
4
111 +/- 11
17th
9
122 +/- 9
17th
4
124 +/- 1
10th
9
211 +/- 6
8th
3
272 +/- 1
2nd
7
1653 +/- 21
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Resolution: 1080p - Rays Per Pixel: 161018 Results Range From 4 To 6420 Seconds413326239152064977890710361165129414231552168118101939206821972326245525842713284229713100322933583487361637453874400341324261439045194648477749065035516452935422555156805809593860676196632564542004006008001000

Based on OpenBenchmarking.org data, the selected test / test configuration (C-Ray 2.0 - Resolution: 1080p - Rays Per Pixel: 16) has an average run-time of 8 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 BenchmarkResolution: 1080p - Rays Per Pixel: 16Run-Time20406080100Min: 1 / Avg: 7.92 / Max: 102

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.2%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsResolution: 1080p - Rays Per Pixel: 16Deviation3691215Min: 0 / Avg: 0.23 / Max: 7

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.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseC-Ray CPU Core ScalingResolution: 1080p - Rays Per Pixel: 16468101214163264246810

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.
 
DIVSD CVTSD2SS CVTSS2SD MOVD CVTDQ2PS CVTSI2SD MULSD SUBSD CVTTSD2SI MOVAPD ADDSD MAXSD MINSD MOVUPD ADDPD MULPD SUBPD CVTDQ2PD UNPCKHPD ANDPD COMISD MOVDQU UNPCKLPD CVTPD2PS MOVDQA PUNPCKLQDQ XORPD SQRTSD MOVHPD DIVPD MOVLPD CVTPS2PD
Last automated analysis: 6 June 2024

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)
RISC-V 64-bit
riscv64
SiFive RISC-V, rv64imafdch_zicsr_zifencei_zba_zbb_sscofpmf, rv64imafdcv, rv64imafdcvsu
ARMv8 64-bit
arm64
Apple M1, Apple M2, Apple M4, Apple M4 Pro
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A78E 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-Core, ARMv8 Neoverse-V2 96-Core, AmpereOne, AmpereOne 192-Core, Apple, Apple M1, HUAWEI Kunpeng 920, Phytium D2000, Qualcomm

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

SiFive RISC-V - U-Boot 2024.01+dfsg-5ubuntu2 - 8GB

Ubuntu 24.10 - 6.11.0-13-generic - GCC 14.2.0 + Clang 19.1.1 + LLVM 19.1.1

2 Systems - 21 Benchmark Results

AMD Ryzen 9 9900X 12-Core - MSI MPG X670E CARBON WIFI - AMD Raphael

Debian 12 - 6.1.0-30-amd64 - Xfce

1 System - 51 Benchmark Results

Intel Core Ultra 9 185H - Shenzhen Meigao Electronic Equipment AtomMan X MTBAC - Intel Device 7e7f

Ubuntu 24.10 - 6.11.0-13-generic - X Server 1.21.1.13

1 System - 1 Benchmark Result

2 x Intel Xeon Gold 6148 - Inspur ACT-SXM2-B YZMB-00834-101 - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04.5 LTS - 5.4.144-16.el7pie - NVIDIA

4 Systems - 59 Benchmark Results

INTEL XEON PLATINUM 8581C - Google Compute Engine c4-standard-8 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1074-gcp - 1.1.182

1 System - 20 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - MSI X399 SLI PLUS - AMD 17h

Debian 12 - 6.1.0-29-amd64 - GCC 12.2.0

1 System - 15 Benchmark Results

Intel Core 2 6700 - Gigabyte G41M-Combo - Intel 4 DRAM + ICH7

Debian 12 - 6.1.0-29-amd64 - GCC 12.2.0

1 System - 1 Benchmark Result

Intel Core Ultra 5 245K - ASRock Z890 Pro RS WiFi White - Intel Device ae7f

Ubuntu 24.10 - 6.11.0-13-generic - GNOME Shell 47.0

1 System - 3 Benchmark Results

4 x Intel Xeon - SmartX SMTX OS v1.0 - Intel 440FX 82441FX PMC

Rocky Linux 8.7 - 4.18.0-425.3.1.el8.x86_64 - GCC 8.5.0 20210514

9 Systems - 1 Benchmark Result

AMD G-T48E - Inventec D CLASS - AMD 14h Root Complex

Debian 12 - 6.1.0-18-amd64 - LXDE 0.10.1

3 Systems - 17 Benchmark Results

AMD Ryzen 5 7600X3D 6-Core - ASUS PRIME B650-PLUS - AMD Raphael

Arch rolling - 6.12.9-arch1-1 - Sway 1.10

2 Systems - 17 Benchmark Results

AMD Ryzen 5 7600X3D 6-Core - ASUS PRIME B650-PLUS - AMD Raphael

Arch rolling - 6.12.9-arch1-1 - Sway 1.10

1 System - 17 Benchmark Results

AMD Ryzen 5 7600X3D 6-Core - ASUS PRIME B650-PLUS - AMD Raphael

Arch rolling - 6.12.9-arch1-1 - Sway 1.10

1 System - 255 Benchmark Results

Apple M4 - Apple Mac mini - 16GB

macOS 15.0 - 24.0.0 - OpenCL 1.2

1 System - 255 Benchmark Results

Apple M4 Pro - Apple Mac mini - 24GB

macOS 15.2 - 24.2.0 - OpenCL 1.2

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 413 Benchmark Results

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

18 Systems - 442 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.0

5 Systems - 84 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major thelio-major-r5 - AMD [AMD]

DragonFly - 6.4-RELEASE - GCC 8.3

2 Systems - 1012 Benchmark Results

3 Systems - 111 Benchmark Results

2 x AMD EPYC 9734 112-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

2 Systems - 107 Benchmark Results

AMD Ryzen 7 7840U - PHX Swift SFE16-43 Ray_PEU - AMD Device 14e8

Tuxedo 22.04 - 6.5.0-10022-tuxedo - KDE Plasma 5.27.10

4 Systems - 78 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-31-generic - GNOME Shell 46.0

73 Systems - 527 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Intel S2600CW - Intel Xeon E7 v4

Arch Linux - 6.9.7-arch1-1 - GCC 14.1.1 20240522

4 Systems - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

2 Systems - 114 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major thelio-major-r5 - AMD [AMD]

DragonFly - 6.4-RELEASE - GCC 8.3

2 Systems - 552 Benchmark Results

2 Systems - 307 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Ubuntu 23.10 - 6.9.0-060900rc3daily20240410-generic - GNOME Shell 45.1

2 Systems - 55 Benchmark Results

Intel Core Ultra 7 165U - LENOVO ThinkPad T14 Gen 5 21MLCTO1WW - Intel Device 7e7f

Ubuntu 22.04 - 6.5.0-28-generic - GNOME Shell 42.9

3 Systems - 91 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 6.5.0-26-generic - GNOME Shell 42.2

Find More Test Results