Running a Game on PC with No RAM
Rising RAM prices have a way of making you wonder just how much a computer actually needs to function, and PortalRunner decided to find out by removing it entirely and seeing how far he could get. The experiment started with Linux, gradually reducing the available RAM through boot settings until the machine refused to start at all. Even with a tiny amount left in place, basic tasks became painful and slow.



The next attempt used a SATA SSD as swap space, letting the system pull data from the drive whenever it ran out of the limited RAM available. Basic web browsing became possible, but trying to load Portal 2 was a dead end. Games need to hold large amounts of data in memory simultaneously, and a hard drive simply cannot move that data fast enough to keep up.

KAMRUI Pinova P2 Mini PC, AMD Ryzen 7330U(4 Cores, 8 Threads, Up to 4.3GHz), 16GB RAM 256GB SSD, Zen...
2,015 Reviews
KAMRUI Pinova P2 Mini PC, AMD Ryzen 7330U(4 Cores, 8 Threads, Up to 4.3GHz), 16GB RAM 256GB SSD, Zen...
  • 【AMD Ryzen 7330U】 – The Efficiency-Tuned Powerhouse,AMD Ryzen 7330U (Zen 3, SMT, 4C/8T) in KAMRUI P2 mini PC crushes rivals: Intel i3-10110U...
  • 【AMD Radeon Graphics】– Triple 4K Vision & Fluidity,The integrated Radeon Graphics (based on the modern Vega architecture with 6 CUs) is a...
  • 【Generous Storage & Easy Expansion】The KAMRUI Pinova P2 mini desktop computers comes with 16GB LPDDR4X RAM (higher frequency, lower power) for...

Running a Game on PC with No RAM
Attention then shifted to the graphics card. PortalRunner built a custom file system using OpenCL to turn the four gigabytes of VRAM inside a GTX 1660 Super into a substitute for system memory. Simple applications ran, but every time data had to travel between the CPU and GPU it added so much delay that even a basic browser test took over an hour. Portal 2 remained out of reach.

Running a Game on PC with No RAM
The breakthrough came from inside the processor itself. Every CPU contains a small amount of cache memory stored directly on the chip, and early in the startup process the CPU already uses that cache as a temporary workspace before any RAM has been initialized. Using an older ASRock motherboard with a Core 2 Duo processor and a modified version of the open source CoreBoot firmware, PortalRunner configured the system to skip RAM initialization entirely and load directly into that cache.

Running a Game on PC with No RAM
A Snake clone fit comfortably into the available space and launched without a hitch the moment the board powered on. He even squeezed a brainf**k interpreter onto it to prove the approach had more than one use. The limitations are obvious and nobody is running a modern operating system this way anytime soon, but it does make for a great conversation starter.
[Source]

Author

When it comes to cars, video games or geek culture, Bill is an expert of those and more. If not writing, Bill can be found traveling the world.