Skip to content
reason-machines avatar

Tailslayer Dram Hedged Reads

Hedged C++ memory reads across independent DRAM channels that eliminate refresh-induced tail latency spikes.

CCM score
47 of 100
skills.sh installs
537
GitHub stars
99
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers replicating data across DRAM channels and returning whichever replica responds first to a triggered read
  • Includes HedgedReader with insert and start_workers, plus pin_to_core and CORE_MAIN for thread placement
  • Relies on undocumented channel scrambling offsets, with --channel-bit tuning via the discovery/benchmark tool
  • Designed for latency-sensitive C++ workloads such as event-driven trading on AMD, Intel, or AWS Graviton hosts

Install

$ npx -y skills add reason-machines/trending-skills --skill tailslayer-dram-hedged-reads -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Tailslayer — DRAM Hedged Read Library

Skill by ara.so — Daily 2026 Skills collection.

Tailslayer is a C++ library that reduces tail latency in RAM reads caused by DRAM refresh stalls. It replicates data across multiple independent DRAM channels with uncorrelated refresh schedules, issues hedged reads across all replicas simultaneously, and returns whichever result responds first — eliminating worst-case stall spikes from DRAM refresh cycles.

Works on AMD, Intel, and AWS Graviton using undocumented channel scrambling offsets.


How It Works

  • Data is replicated N times, each copy placed on a different DRAM channel
  • Each replica is monitored by a worker pinned to a separate CPU core
  • When a read is triggered (via your signal function), all replicas are read simultaneously
  • Whichever channel responds first wins; the result is passed to your work function
  • DRAM refresh on one channel cannot stall all channels simultaneously → tail latency is eliminated

Installation

Copy the header into your project

git clone https://github.com/LaurieWired/tailslayer.git
cp -r tailslayer/include/tailslayer /your/project/include/

Details

Repository
github.com/reason-machines/trending-skills
First seen
Jun 3, 2026

More from reason-machines/trending-skills

All 251

Similar to Tailslayer Dram Hedged Reads