|
wdolson -> RE: New laptop doesn't play well....lag (1/3/2018 1:11:02 AM)
|
quote:
ORIGINAL: wdolson Try -cpu2 or another cpu# switch. The problem is the game doesn't work well with multi-core processors. The game engine makes calls that create another thread and then waits for the other thread to finish. On a single core machine, the other thread runs on the same core, so it just waits for a tiny fraction of a second and the other thread finishes. On a multi-core machine, the other thread is spawned on a different core and while the first thread is going into wait, the second core is done and every core sits around waiting for the other to do something. Finally after a timeout of something like a second, the first thread makes the call again and discovers the answer is sitting there waiting and continues. I've really wanted to fix this problem for some time and Michael and I took a shot at it about 2 years ago. We made some progress but both of us got called away with our "day jobs" and we never managed to get it completely working. It's a case where I know what's happening, but I can't quite figure out how to fix it. cpu2 will force the game to only use the 2nd core. The first core is often used for Windows functions and some people have had problems with -cpu1, but -cpu2, -cpu3, or -cpu4 should work better. Bill quote:
ORIGINAL: Mark VII Where do I put in the "-cpu2" Yes, I suspected the 4 cores was a likely problem. It can be anywhere in the string of switches, but I'd put it near the beginning. Bill
|
|
|
|