News for hackers. Stuff that matters.
Re:Sled: Embedded Database Written in Rust by hinkley on Friday February 21, 2020 @04:07AM (#22381864)
> 64 threads should be enough.

It’s more that if you have a purely sequential workflow, you get access to less than 2% of the CPU on a 64 core machine.

And even if you’re a bit parallel, Amdahl’s law smacks you pretty hard here.

Re:Sled: Embedded Database Written in Rust by jfkebwjsbx on Friday February 21, 2020 @06:36AM (#22382428)
The L3 cache is shared and has a mindblowing size, let's not forget that.

Plus you get way more thermal room.

Plus you can disable SMT.

And there is always more than 1 process running if you take into account kernel threads.

So I would say way quite a lot more than 2%. More like 10%.

Re:Sled: Embedded Database Written in Rust by hinkley on Friday February 21, 2020 @02:01PM (#22385746)
> a lot more than 2%. More like 10%.

That's still essentially single digit percentages. And if is really in the low double digits, you're back to single digits when you go to 80 cores.

On the positive side, I don't think multi-user systems would be where they are today if we hadn't been staring at a future full of hardware that can only be fully utilized by embarrassingly parallel tasks.