[DiscordArchive] Doesn't most of the core use a single thread?
[DiscordArchive] Doesn't most of the core use a single thread?
Archived author: Rymercyble • Posted: 2023-02-05T21:42:23.288000+00:00
Original source
so even though instances and what not is offloaded to threads there is still so much logic kept in main one that it doesnt rly help
Archived author: Foe • Posted: 2023-02-05T21:42:41.295000+00:00
Original source
Not really
Archived author: Rymercyble • Posted: 2023-02-05T21:43:06.194000+00:00
Original source
i mean obviously if u had 10k players in raids then thats significant but in principle
Archived author: Foe • Posted: 2023-02-05T21:43:10.225000+00:00
Original source
Multiple map update threads definitely help
Archived author: Foe • Posted: 2023-02-05T21:43:22.227000+00:00
Original source
It's not about raw power, but latency and update diff times
Archived author: Foe • Posted: 2023-02-05T21:44:35.970000+00:00
Original source
It doesn't really matter how much of that one core is used, moving that to separate threads or routines wouldn't matter much either
Archived author: Foe • Posted: 2023-02-05T21:45:20.446000+00:00
Original source
As long as you're not pegging that core at 100% constantly then it's irrelevant, but only running on a single thread for map updates *will* slow the server down in the end
Archived author: Rymercyble • Posted: 2023-02-05T21:46:09.077000+00:00
Original source
yes i know it doesnt matter if it uses 10% of 95% of cpu thread what i mean is that i worry if it can reach 100%
Archived author: Revision • Posted: 2023-02-05T21:46:40.647000+00:00
Original source
It can always reach 100%.
Archived author: Foe • Posted: 2023-02-05T21:46:54.269000+00:00
Original source
Don't worry about it until it happens, then you can start optimizing and refactoring