-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement -pingboost 4 for behavior similar to mm_insane 1 in Linux #976
base: master
Are you sure you want to change the base?
Conversation
Implemented the Sleep_Pingboost4 function to achieve similar behavior to mm_insane 1 of the mmtimer metamod, since the function does not perform any further action, sleep is removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright
Sorry for my stupid comment/question, |
It's simple, in short: -pingboost 3 is designed to control Sleep on network operations with precision while the network subsystem does its internal tasks. -pingboost 4 does not perform any Sleep and simply returns the function without doing anything. This means that the CPU will be fully utilized without waiting or suspending execution. This can be used in order to increase FPS to "insane" levels ;) |
Couldn't this be implemented also in Windows? |
On Windows you can use the mmtimer metamod directly and use mm_insane 1 in server.cfg to have the same result. |
Doesn't that apply also to Linux? You can use the mmtimer too. If we're implementing this in reHLDS, it should be in both platforms. |
pingboost does not exist in the Windows version of ReHLDS And no, unfortunately there is no working version of mmtimer for Linux. It would need to be updated, but there is no point in doing so when it can be implemented directly in ReHLDS. |
@cris840 It would be a good idea and useful if it was built to work on Windows as well without adding unnecessary extras that are not guaranteed to work 100%. |
@stambeto2006 , @SmilexGamer You can use this which is compatible with HLDS and ReHLDS and works on both Windows and Linux. It has a similar feature (pingboost 5) and even more. |
43df0ba
to
de3679f
Compare
Implemented the Sleep_Pingboost4 function to achieve similar behavior to mm_insane 1 of the mmtimer metamod, since the function does not perform any further action, sleep is removed.