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

3 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.04100K200K300K400K500K
* 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 23 July 2024.
1080p36.6%5K28.5%4K34.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 530 public results since 27 April 2024 with the latest data as of 25 July 2024.

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
> 25
Median
50th
43
42nd
4
61 +/- 1
37th
4
69 +/- 1
27th
12
78 +/- 3
Low-Tier
25th
> 79
23rd
11
81 +/- 10
15th
5
118 +/- 5
6th
3
272 +/- 1
1st
7
1653 +/- 21
OpenBenchmarking.orgDistribution Of Public Results - Resolution: 1080p - Rays Per Pixel: 16474 Results Range From 4 To 2152 Seconds450961421882342803263724184645105566026486947407868328789249701016106211081154120012461292133813841430147615221568161416601706175217981844189019361982202820742120216660120180240300

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: 8.01 / Max: 100

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsResolution: 1080p - Rays Per Pixel: 16Deviation246810Min: 0 / Avg: 0.12 / Max: 2

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.

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

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
rv64imafdcv, rv64imafdcvsu
ARMv8 64-bit
arm64
Apple M1, Apple M2
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A78E 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2 96-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 19 Benchmark Results

Intel Core i5-12500 - ASUS PRIME Z690M-HZ - Intel Alder Lake-S PCH

Debian 12 - 6.1.0-21-amd64 - GCC 12.2.0

2 Systems - 87 Benchmark Results

ARMv8 Cortex-A72 - Amazon EC2 a1.metal - 32GB

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 88 Benchmark Results

ARMv8 Cortex-A72 - Amazon EC2 a1.metal - 32GB

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 17 Benchmark Results

Intel Core i5-12500 - ASUS PRIME Z690M-HZ - Intel Alder Lake-S PCH

Debian 12 - 6.1.0-21-amd64 - GCC 12.2.0

1 System - 8 Benchmark Results

Intel Pentium III - Award Software 4.51 PG - Intel 440BX

Debian 12 - 6.1.0-15-686-pae - GCC 12.2.0

1 System - 999 Benchmark Results

1 System - 5 Benchmark Results

Intel Pentium III - Award Software 4.51 PG - Intel 440BX

Debian 12 - 6.1.0-15-686-pae - GCC 12.2.0

1 System - 1 Benchmark Result

Intel Core i7-8665U - LENOVO ThinkPad X1 Carbon 7th 20QES5JY1N - Intel Cannon Point-LP

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

1 System - 1 Benchmark Result

ARMv8 Cortex-A78E - EDK II 3.1-32827747 - 16GB

Ubuntu 20.04 - 5.10.104-tegra - GNOME Shell 3.36.9

1 System - 17 Benchmark Results

AMD PRO A4-8350B R5 6 Compute Cores 2C+4G - HP 805A - AMD 15h

Debian 12 - 6.1.0-22-amd64 - GCC 12.2.0

1 System - 17 Benchmark Results

Intel Core i3-2120 - FUJITSU D3061-A1 - Intel 2nd Generation Core DRAM

Debian 12 - 6.1.0-22-amd64 - GCC 12.2.0

1 System - 16 Benchmark Results

Intel Core i3-2120 - FUJITSU D3061-A1 - Intel 2nd Generation Core DRAM

Debian 12 - 6.1.0-22-amd64 - GCC 12.2.0

1 System - 16 Benchmark Results

AMD PRO A4-8350B R5 6 Compute Cores 2C+4G - HP 805A - AMD 15h

Debian 12 - 6.1.0-22-amd64 - GCC 12.2.0

1 System - 3 Benchmark Results

Unknown - WUZHOU BC82AMDYC - Huawei HiSilicon

openEuler 22.03 - 5.10.0-216.0.0.115.oe2203sp4.aarch64 - GCC 10.3.1

1 System - 1 Benchmark Result

Intel Core i7-3770 - Gigabyte Z77-DS3H - Intel Xeon E3-1200 v2

Ubuntu 24.04 - 6.8.0-38-lowlatency - KDE Plasma 5.27.11

Most Popular Test Results

OpenBenchmarking.org Results Compare

5 Systems - 84 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major - AMD Device 14a4

CentOS Stream 9 - 5.14.0-457.el9.x86_64 - GNOME Shell 40.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

3 Systems - 33 Benchmark Results

Intel Core i7-8565U - Dell XPS 13 9380 0KTW76 - Intel Cannon Point-LP

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

2 Systems - 71 Benchmark Results

rv64imafdcvsu - Scaleway EM-RV1-C4M16S128-A - 16GB

Ubuntu 24.04 - 5.10.113+ - GCC 13.2.0

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

3 Systems - 34 Benchmark Results

AMD Ryzen 9 7900 12-Core - ASRockRack 1U4LW-B650/2L2T B650D4U-2L2T/BCM - AMD Device 14d8

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

2 Systems - 552 Benchmark Results

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

2 Systems - 137 Benchmark Results

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

Clear Linux OS 41680 - 6.8.9-1432.native - GNOME Shell 46.1

2 Systems - 70 Benchmark Results

rv64imafdcvsu - Scaleway EM-RV1-C4M16S128-A - 16GB

Ubuntu 24.04 - 5.10.113+ - GCC 13.2.0

3 Systems - 34 Benchmark Results

AMD EPYC 7551 32-Core - GIGABYTE MZ31-AR0-00 v01010101 - AMD 17h

Debian 12 - 6.1.0-10-amd64 - GCC 12.2.0

3 Systems - 34 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO ThinkPad X13 Gen 3 21CM0001US - AMD 17h-19h PCIe Root Complex

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

3 Systems - 36 Benchmark Results

2 x AMD EPYC 9684X 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.9.0-060900rc3-generic - GCC 13.2.0

Find More Test Results