[DiscordArchive] Doesn't most of the core use a single thread?
[DiscordArchive] Doesn't most of the core use a single thread?
Archived author: Revision • Posted: 2023-02-05T21:37:35.772000+00:00
Original source
Doesn't most of the core use a single thread?
Archived author: Rymercyble • Posted: 2023-02-05T21:37:44.401000+00:00
Original source
yes pretty much
Archived author: Rymercyble • Posted: 2023-02-05T21:37:56.222000+00:00
Original source
at least in terms of performance
Archived author: Honey • Posted: 2023-02-05T21:37:57.211000+00:00
Original source
It is true. Feel free to catch up with a little explanation from foe and ihm. I think it was in <#448835144564867094>
Archived author: Foe • Posted: 2023-02-05T21:37:58.825000+00:00
Original source
Most of the core runs in a single thread, the map updates are ran in multiple threads
Archived author: Foe • Posted: 2023-02-05T21:38:56.100000+00:00
Original source
It's not exactly one thread per map, but a configurable amount of update threads that update the map pool
Archived author: Revision • Posted: 2023-02-05T21:39:09.657000+00:00
Original source
I don't see that on my end. Even with just 2 cores available it's still using both. Not equally but not far from the same.
Archived author: Rymercyble • Posted: 2023-02-05T21:39:15.968000+00:00
Original source
i partially read that talk at that time but to me it just doesnt correlate with what i see (not saying he is wrong) i just dont understand why is there such high usage in single process and negligible in any other
Archived author: Foe • Posted: 2023-02-05T21:39:31.176000+00:00
Original source
Because most of the core runs in a single thread
Archived author: Foe • Posted: 2023-02-05T21:39:47.627000+00:00
Original source
A lot of the core logic isn't threadsafe