Menu

Write Draining: Why Memory Controllers Hoard Writes (and How They Pick the Watermarks)
📰

Write Draining: Why Memory Controllers Hoard Writes (and How They Pick the Watermarks)

DEV Community: career·Open Row·9 days ago
#n0Lhmzib
#devtocareer#devto#dev#write#writes
Long article (576 words) — no AI summary yet.
Reading 0:00
15s threshold

Ask a memory-controller engineer what quietly eats bandwidth and you'll often hear "read/write turnarounds." Interviewers like this topic because the fix is a small policy with a big payoff: write draining with watermarks . Here's the problem, the policy, and the follow-up questions you should expect.

Why switching direction is expensive

The DRAM data bus is shared by reads and writes, and it can only go one way at a time. Every time the controller flips direction, it pays dead cycles:

Write to read is the painful one. After the last write data goes in, the DRAM needs time before it can accept a read (tWTR).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.