Tiny Linux raytracing CPU benchmark (WIP)

Subscribers:
400
Published on ● Video Link: https://www.youtube.com/watch?v=uRyk5i8Gl9c



Duration: 0:46
205 views
4


This video is intentionally silent. Sorry about that.
While waiting for a video card with true ray tracing I decided to make a tiny Linux based x86 benchmark with nice real time generated ray traced picture. The benchmark supposed to be suitable for both old and new computers with old and new video cards compatible with single core and multi-core CPUs. It already works on Pentium 1, Athlon XP, Pentium 4, and Core 2 Duo just fine. First idea is to get rough and unscientific estimate how one CPU is faster than another in terms of real world application. Second idea is to make it as small as possible to boot quickly from USB/CD/network like famous memtest. Current size of Tiny Core distro including this benchmark is just 7Mb!

The raytracer source was grabbed from scratchpixel's Introduction to Ray Tracing: a Simple Method for Creating 3D Images
https://www.scratchapixel.com/lessons/3d-basic-rendering/introduction-to-ray-tracing/ray-tracing-practical-example

Framebuffer source code from Fred Eckert https://gist.github.com/FredEckert

I put both together and add some mulithread code (almost like described in this article https://habr.com/company/neobit/blog/181626/). Two threads on real machine with two cores are not faster than one thread. This phenomenon us called false caching. It seems like I'm suffering from it :(




Other Videos By ZX Spectrum Hotel


2019-05-11Top 32 most cited ZX Spectrum games
2019-03-12Korvet theme for Hyperspin with almost all games in 10 minutes
2019-02-17Nostalgic Korvet (PC8010/8020) computer main menu theme for Hyperspin arcade frontend
2019-02-15Dan Dare 2 ported by Goldsoft from ZX Spectrum to PC8020/8010 Korvet Soviet educational computer
2019-02-03Rethinking Kaypro CP/M classic games: Aliens enhanced on Korvet (PC8010/8020)
2019-01-29Rethinking Kaypro CP/M classic games: Ladder enhanced on Korvet (PC8010/8020)
2019-01-09Popcorn DOS game ported to PC8020/8010 (Korvet) CP/M Soviet educational computer
2019-01-06Deflector ported by Goldsoft from ZX Spectrum to PC8020/8010 Korvet Soviet educational computer
2019-01-04Dan Dare ported by Goldsoft from ZX Spectrum to PC8020/8010 Korvet Soviet educational computer
2018-11-30Twinkle, Twinkle, Little Star - played by Speccy using loading noise
2018-10-15Tiny Linux raytracing CPU benchmark (WIP)
2018-10-04ZX Spectrum Hyperspin theme with loading screens (450 games in 40 minutes)
2018-05-20Alley Cat CGA only DOS game with improved pallette
2017-12-31Embedding Atari 2600 (VCS) into PC's BIOS
2017-07-13ZX Spectrum with a game and an intro and BASIC embedded into PC's BIOS
2017-04-14Recoloring Popcorn DOS game (CGA graphics only)
2017-02-15shaMUSeum! My craziest video with a riddle
2017-01-31Coloring CGA only game Monuments of Mars 1991
2016-03-27How many games can one put into PC's BIOS?
2012-09-08Mbunekam ZX Spectrum quest walkthrough
2012-06-13IktIkn (I know that I know nothing) gameplay



Tags:
cpu benchmark
linux
framebuffer
x86
raytracing
spheres
multithread
small
tinycore
jeos
pentium
software render
scratchpixel
3d
false caching