You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For years, RakLib has been running within a thread.
However, this creates various issues, reduces flexibility, and the performance gains might not actually be worth it.
RakLib itself is a black box. No one knows how well it performs, but since it's doing relatively little work, it might actually improve performance to take the threads out of the picture.
Moving RakLib onto the main thread would allow for tighter integration between PM and RakLib, making it easier to, for example, directly collect session statistics.
Alternative methods
The text was updated successfully, but these errors were encountered:
as discussed in #6294, investigation is needed into whether the high complexity of threading is actually even worth the performance gains.
we don't even know for sure that running RakLib on a thread actually improves performance.
this implementation is sub-optimal right now, since it ticks too slowly (20 Hz vs RakLib's 100 Hz), and tickProcessor() also sleeps (which I can't disable with this version of RakLib).
however, it's useful as a foundation to see how this will behave if we were to get rid of the RakLib thread.
as discussed in #6294, investigation is needed into whether the high complexity of threading is actually even worth the performance gains.
we don't even know for sure that running RakLib on a thread actually improves performance.
this implementation is sub-optimal right now, since it ticks too slowly (20 Hz vs RakLib's 100 Hz), and tickProcessor() also sleeps (which I can't disable with this version of RakLib).
however, it's useful as a foundation to see how this will behave if we were to get rid of the RakLib thread.
Description
For years, RakLib has been running within a thread.
However, this creates various issues, reduces flexibility, and the performance gains might not actually be worth it.
RakLib itself is a black box. No one knows how well it performs, but since it's doing relatively little work, it might actually improve performance to take the threads out of the picture.
Moving RakLib onto the main thread would allow for tighter integration between PM and RakLib, making it easier to, for example, directly collect session statistics.
Alternative methods
The text was updated successfully, but these errors were encountered: