Re:KeyDB – multi-threaded Redis fork by Snapchat
by denotational on Sunday May 21, 2023 @09:13AM
(#36020544)
I don’t disagree, I’m just trying to unpack what the GP might have meant by “proper multithreading”.
Of course it increases latency, since those resources are not fully exclusive to a particular thread anymore.
Whether or not it's a good thing depends on what you care about. You could also argue that a good program would be able to saturate a single superscalar core with a single thread and thus wouldn't benefit from SMT at all, but I think that would be hard to guarantee in practice.