JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.01k stars 612 forks source link

com_affinity "lag spikes" #530

Closed ghost closed 10 years ago

ghost commented 10 years ago

If com_affinity is set to use single core I get yellow spikes in lagometer when playing in LAN (openjkded) :??

And it does not happen if I set the affinity in task manager

CPU Phenom II x4 965 Windows 8.1

ensiform commented 10 years ago

Are you using time nudge (negative value) ?

ghost commented 10 years ago

No and I think it happens only with high cpu usage

ensiform commented 10 years ago

So turning it off works fine ?

ghost commented 10 years ago

Yes I think it uses the old behavior with com_affinity 0 shot2014-04-19_21-22-19 "Parametri ei kelpaa" means parameter is not valid. And in task manager it shows that all cores are being used

ghost commented 10 years ago

I realise my mistake now. The lagging happens because there is not enough power to run both openjkded and openjk in same core.

SO using com_affinity 1 for client and com_affinity 2 for server solves it

eyelessjack1080 commented 7 years ago

Its2016 and I wanted to throwback with this game and my processor is decent ( Intel Pentium r dual core t4500 and the only problem is lag and this is the only thing close to my problem. Is there a tutorial to do this?

ensiform commented 7 years ago

com_affinity defaults to 0 now so unless you're setting it to 1 in your config it shouldn't be affecting anything anymore.