Closed lostsoul6 closed 8 months ago
Hey @lostsoul6, I think you can get some benefit, but you may need to do a bit more work aside from installing the kernel.
For example, maybe there's a way to set core affinity so that your server(s) stay in their NUMA cluster? Also, it's worth monitoring your CPU usage finely to detect if you're fully saturated. No scheduler can help if you're out of capacity and the game logic is falling behind.
Even if that's the case, you may be able to set nice levels per process or thread to get the correct things running first. Also consider running with mitigations=off
to disable performance killing mitigations.
Hi @damentz ,
Thank you for your response . Installing the Kernel alone has solved my problem . No more lags in game . One thing I noticed right away is that the cpu cores usage in top command is spread evenly among all cores . With my previous Kernel , Some cores showed more usage than the others . Don't know if that's related or not . Anyway , you can mark this as solved .
Ah that makes sense, the mainline scheduler likes to pack tasks to cores for efficiency and to max out clock speeds. Unfortunately, this causes latency variations and queuing as tasks have to wait for their chance to run despite idle cores being available.
Even with EEVDF in mainline, I believe this logic still exists since core migration code still exists. PDS on the other hand is very aggressive utilizing free cores, leading to better behavior for many programs like the CS2 server software.
Thanks for the feedback, I'll close this out.
Hi @damentz ,
I'm hosting a Counter-Strike 2 server with Ubuntu 22 server and I'm currently using the default generic kernel . Although I have 8 CPU cores (3.2Ghz each) on my VPS , the performance is not great and I get warnings in my game console regarding Thread Starvation . I just wanted to know if installing Liquorix will have any benefits in my setup . What are the CPU related differences between Liquorix kernel and the default generic one?
EDIT : BTW , I will include inxi -b output . It's a vmware VPS