placeholder

How a Single Line of Code Made a 24-core Server Slower Than a Laptop | Piotr Kołaczkowski

Imagine you wrote a program for a pleasingly parallel problem, where each thread does its own independent piece of work, and the threads don’t need to coordi...

Click to view the original at pkolaczk.github.io

Hasnain says:

Great read on concurrency and atomics (in rust)

“However, not matter how innocent the code looks, I like to double check my assumptions. I ran that with different numbers of threads and, although it was now faster than before, it didn’t scale at all again – it hit a throughput ceiling of about 4 million calls per second!”

Posted on 2022-01-02T00:41:30+0000