Skip to content
0:00 / 0:00

#dram#tailslayer#latency

Your RAM Has a 60 Year Old Design Flaw. I Bypassed It.

LaurieWired

554K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
  • Presented by LaurieWired
  • Linked in the descriptionLaurieWired/tailslayer

Advanced. Deep dive for people who know the field.

1.1M views6 months ago2 recommendations

Systems programmingHardwareMemory managementPerformance and optimizationReverse engineering

LaurieWired introduces Tailslayer, a C++ library that reduces DRAM tail latency by using a hedged read strategy.

Modern DRAM is based on a brilliant design from IBM. But, we're still paying for a latency penalty that's existed since the 60s! In this video, I'm introducing my personal research project (Tailslayer) that immensely reduces p99.99 latency on traditional RAM! By implementing a hedged read strategy taking advantage of (undocumented!) channel scrambling offsets, I've gotten as much as 15x reductions in tail latency. The technique works across Intel, AMD, Graviton, DDR4, DDR5, x86, ARM, you name it. Check out the C++ lib I wrote, watch the video, and try it yourself! --- Timestamps: Your RAM goes Blind A 400ns tRFC Lockout Can we predict it? Hedged Reads The ROB Trap Multicore Threading FTW! Memory Controllers Hate You A Dark Reason (Rowhammer) Reverse Engineering Channel Scrambling Where is my Data? (Physically) Does it actually work? ARM Graviton...the Black Box High Frequency Trading --- My project / code (Tailslayer) on GitHub: github.com/LaurieWired/tailslayer --- Check out my X account for cool Computer Science stuff! x.com/lauriewired

Why it's here

2 people recommend this

What people say. Recommended as a fascinating deep dive into DRAM latency, channel scrambling, and a software technique to bypass hardware delays.

u/BotnicRPMin r/FPGA • Recommends

Great HFT project idea Hi everybody Very often on this subreddit, students ask for a good project and often they also mention that they would like to go into HFT (a stupid idea if you ask me, but nobody ever asks me anyways....). For all those students: Have a look at this video: [video I found it very interesting (even though it has nothing to do with FPGA) and I am pretty sure one could do some nice projects with FPGA and PCIe accessing the memory directly. Start being creative!

Zoidmaniaon Lobsters • Recommends

Tailslayer: A technique for reducing tail latency in DRAM operations