logoalt Hacker News

skaviyesterday at 7:58 PM1 replyview on HN

modern tcmalloc uses per CPU caches via rseq [0]. We use async rust with multithreaded tokio executors (sometimes multiple in the same application). so relatively high thread counts.

[0]: https://github.com/google/tcmalloc/blob/master/docs/design.m...


Replies

usrnmyesterday at 9:11 PM

How do you control which CPU your task resumes on? If you don't then it's still the same problem described above, no?

show 1 reply