Loading...
  OR  Zero-K Name:    Password:   

Small intermitent "micro" lag

8 posts, 247 views
Post comment
Filter:    Player:  
sort
33 days ago
Did not play in around a month, updated in the mean time everything (Linux kernel, graphics drivers, etc.) and now I am getting "micro" lags (small annoying lag each 20 or 30 seconds that lasts 2-3 seconds then goes away). The network seems to be fine, processor usage seem to be fine. I tried to look at widget profiler but nothing seems excessive. During replay game goes rather fast the micro lags still seem to appear occasionally.

I can play just that it's harder to micro and it is annoying that the rhythm changes.

Anybody has any idea what might be causing this issue?
+0 / -0
33 days ago
Try playing around with GC Rate and Time Mult. Try with Smooth Buffer on and off, too. HTH
+1 / -0
Maybe your kernel has transparent huge pages enabled? Although THP often boosts performance it sometimes can cause some stuttering. Most distros leave it disabled, some enable it. Take a look in /sys/kernel/mm/transparent_hugepage/enabled

Never mind, it shouldn't give 2 second lags.
+1 / -0
31 days ago
Thanks both for the suggestions, couldn't check yet.

For clarity what I do get (would probably be correct to call it stuttering) is loose of smoothness for couple of seconds. Example: if I constantly zoom in an zoom out for a while the movement is at first smooth, but then for couple of seconds I see the image "jumping", like it is skipping a couple of frames, then it goes back to smooth. I notice this happens even at game start so that should make some culprits less probable (but the memory allocations related ideas that you point out could make sense).
+0 / -0
30 days ago
Having similar lag recently and I'm on Windows.
+0 / -0
13 days ago
None of the things seemed to solve it or have a noticeable impact.

I tried to further isolate it (for example disabled many effects widgets and anything that did not sound useful) and it happens even with a single player game (so only local) when game is paused (which should eliminate a bunch of things).

I activated the "Frame Grapher" plugin (hope the plugin is still relevant). What I notice: after starting the game (single player with easy bot) I get between 5 and 10 seconds of "very tall red bars displayed" (which I interpret as much lower than 60fps) followed by 5 to 10 seconds of "very small green bars",

The strangest part is that sometimes after an unknown amount of time, I see only green. Like after 15 minutes (after I built some units, did stuff, etc.).

I did not see anything different in infolog.txt between the two modes.

Any suggestions to further debug this?
+0 / -0

13 days ago
Also have the freeze-frames.
+0 / -0
12 days ago
Sorry, this is a shot in the dark, I know, but I've had a similar problem in the past (not with ZK though) and the culprit was my AV blocking and scanning a USB device which should not have had anything to do with the game I was trying to play... go figure! This was on Windows and I never encountered anything like that in Linux, so YMMV, but as a last resort, may want to remove your AV and any extra peripherals just to be sure.
+0 / -0