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 + Recently Updated Test Profile

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 29 April 2024.
1080p34.5%5K30.9%4K34.5%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 50 public results since 27 April 2024 with the latest data as of 4 May 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
> 22
Median
50th
41
Low-Tier
25th
> 105
3rd
3
272 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Resolution: 1080p - Rays Per Pixel: 1619 Results Range From 9 To 125 Seconds9192939495969798999109119129246810

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 3 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-Time246810Min: 1 / Avg: 2.38 / Max: 5

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)

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 432 Benchmark Results

2 x AMD EPYC 7303 16-Core - AMD DAYTONA_X - AMD Starship

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

2 Systems - 43 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

2 Systems - 43 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

3 Systems - 34 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

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

1 System - 432 Benchmark Results

2 x AMD EPYC 7303 16-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.9

8 Systems - 185 Benchmark Results

2 x AMD Ryzen 9 7950X 16-Core - QEMU Standard PC - Intel 82G33

Ubuntu 23.10 - 6.5.0-9-generic - X Server 1.21.1.7

8 Systems - 185 Benchmark Results

2 x Intel Xeon Gold 6430 - Dell PowerEdge R760 030NDG - Intel Device 1bce

Ubuntu 23.10 - 6.5.0-9-generic - GCC 13.2.0

1 System - 316 Benchmark Results

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

Ubuntu 23.10 - 6.8.0-060800-generic - GNOME Shell 45.2

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

1 System - 5 Benchmark Results

Intel Pentium III - Award Software - Intel 82815 815 and MCH + LPC

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

1 System - 7 Benchmark Results

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

Debian 12 - 6.1.0-15-686-pae - 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 - 34 Benchmark Results

AMD Ryzen 7 PRO 5850U - LENOVO ThinkPad T14s Gen 2a 20XF004WUS - AMD Renoir

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

4 Systems - 18 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

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

4 Systems - 3 Benchmark Results

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

Fedora Linux 40 - 6.8.5-301.fc40.x86_64 - GNOME Shell 46.1

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

1 System - 316 Benchmark Results

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

Ubuntu 23.10 - 6.8.0-060800-generic - GNOME Shell 45.2

1 System - 432 Benchmark Results

2 x AMD EPYC 7303 16-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.9

3 Systems - 34 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

Ubuntu 24.04 - 6.8.0-22-generic - GNOME Shell 46.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

2 Systems - 43 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

4 Systems - 3 Benchmark Results

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

Fedora Linux 40 - 6.8.5-301.fc40.x86_64 - GNOME Shell 46.1

4 Systems - 18 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

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

3 Systems - 34 Benchmark Results

AMD Ryzen 7 PRO 5850U - LENOVO ThinkPad T14s Gen 2a 20XF004WUS - AMD Renoir

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

2 Systems - 43 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

2 Systems - 432 Benchmark Results

2 x AMD EPYC 7303 16-Core - AMD DAYTONA_X - AMD Starship

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

2 Systems - 206 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Pop 22.04 - 6.6.6-76060606-generic - GNOME Shell 42.5

Find More Test Results