User-defined Playground

Doom Perf Lab Playground

Explore live host CPU/Memory/Disk/Network telemetry as an interactive Doom diagnostics lab. All the elements in the game react to system signals (eg, the cpu cores glow red when there's high utilization).

Startup configuration
lab-01
Doom Perf Lab playground: Explore live host CPU/Memory/Disk/Network telemetry as an interactive Doom diagnostics lab. All the elements in the game react to system signals (eg, the cpu cores glow red when there's high utilization).

Brendan Gregg's USE Methodology is a super cool way to explore potential bottlenecks in different linux system components (CPU/Memory/Disk/Network), but a lot of the ways you'll see people demonstrating it are via a terminal.

This is a way to see the different system telemetry signals in a Doom environment. Based on the very cool https://github.com/pascalvanderheiden/doom-typescript.

The elements in each of the wings actually respond to live system telemetry (in live stats mode), so cpu cores glow red, disk IO orbs fly around faster, and memory pages fly in and out of the physical RAM.

Play one of the sim modes to see what utilization/saturation looks like, or combine live stats mode with the use-practice tool bundled in the playground to generate real load on the VM.

How to play

Open the "Doom Perf" tab, then click "Open Game" to launch it
in a separate browser tab with direct keyboard input.

Generate real host load to watch in the game's live-stats mode:
  use-practice run          # pick a resource + profile
  use-practice run cpu      # or target cpu|memory|disk|network
  use-practice status       # active run + PIDs
  use-practice reveal       # show the answer
  use-practice stop         # end the run

The scenarios intentionally stress CPU, memory, disk, or network;
this VM is disposable. CPU/memory/disk load appears in the game
immediately; network runs in a namespace, so verify it live.

You can wander freely, checking out the different visual elements of each wing, and there are also various wall terminals spaced around each wing so that you can see something closer to the output of real Linux commands.

It's also got the use-practice and use-tool tools installed, so you can put real stress on the system to visualize in the Doom world. You can even run a random load and see if you can find it in the environment.

And if you're really curious, you might even find the easter egg hidden in there somewhere...

The source code is available at https://github.com/lpmi-13/doom-perf

Every playground includes
Learn more about playgrounds
Start
Settings