4 ms·
What kind of performance issue do u notice? It's a relatively old video, at 500 simultaneous players lna single map it takes around 25ms to update the ai+quadtr
by gallexme 5y ago
What kind of performance issue do u notice? It's a relatively old video, at 500 simultaneous players lna single map it takes around 25ms to update the ai+quadtree+ a list update of who sees who, meanwhile processing 500 moves + broadcasting these Infos to everyone in the view (which are all 500)
This is worst case for it, the other maps do not see any load by this and its basically a single core bottleneck, also it's very unoptimized code 500 processes sending messages to a single map process
- gallexme 5y agoAs soon as the 500 players are spread either around the map (so that it doesn't have to handle 500 entities sending updates to all other 500 ones ) it takes around 3 ms Or if they spread across all 70+ maps we see a good utilization of every scheduled but still most map processing spending most their time idling
- Thaxll 5y agoThe graph we're looking at when it jumps to 75%+ CPU usage is it single core? Also using 700MB+ of memory.
- deleted 5y ago[deleted]
- deleted 5y ago[deleted]
- gallexme 5y agothere u go a updated video of current version https://cdn.discordapp.com/attachments/819516082154242048/837757353154576414/2021-04-30_20-24-56_Trim.mp4 https://cdn.discordapp.com/attachments/819516082154242048/83... 5 times the players(250), tops out at ~35% scheduler utilzation