Author Topic: In game lag/spikes  (Read 2329 times)

Offline cen

  • Eurobattle.net Admin
  • WickedSick Member
  • *
  • Topic Author
  • Posts: 2167
  • Country: si
  • Karma: +281/-57
  • Lok'tar Ogar
  • Awards Lagabuse Legend LA High Staff [EPIC] MadBalls Tournament Winner [RARE] MVP Member [LEGENDARY]
    • View Profile
    • EuroBattle.net
    • Awards
In game lag/spikes
« on: November 09, 2014, 21:25 »
There are some reports that games are lagging or spiking every few minutes/seconds even tho the ping to server seems normal. If you experience this problem let me know in a post below and explain when/how it happens. I'd like to add some profiling tools into gproxy and try to determine what is the reason for slowdowns.

Offline LordDoom

  • Pro Member
  • *
  • Posts: 329
  • Country: hr
  • Karma: +21/-52
  • Google must be a woman, it knows everything.
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #1 on: November 10, 2014, 11:39 »
Same here, in almost every game. Little spike's, although my ping is 13ms.

Offline Oceano

  • Demigod
  • Retired Moderator
  • Pro Member
  • *
  • Posts: 496
  • Country: hr
  • Karma: +34/-12
  • Awards Legion TD Winner [RARE]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #2 on: November 10, 2014, 14:07 »
Good day. Same problem occurred here :
http://dota.eurobattle.net/la/forum/index.php?action=gameinfo;sa=game;gid=5610765

2 of my personal friends (Eniak,Neverevermore) can confirm that. They also had spikes even though ping was fine. After 5 / 8 players voted for rmk due to same problem, I was unfortunately forced to leave before min 5 to force rmk because it was unplayable.

Regards

Offline div.ide

  • Honored member
  • WickedSick Member
  • *
  • Posts: 1763
  • Country: pl
  • Karma: +235/-61
  • Awards Winner of 1 Challenge of the Week [COMMON] Forum staff member [RARE] Drummer - Music Quiz #2 [RARE] Trumpeter- Music Quiz #3 [COMMON]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #3 on: November 10, 2014, 18:00 »
I've been facing this myself for a long time, back in the days when I was active.

What happened was basically game freezing briefly (usually 0,5-1s) in fairly regular time intervals (which varied from game to game, sometimes once each 10 minutes, sometimes even once each 10 seconds). It wasn't CPU related spikes as UI was responsive at that time, just the game flow stuttering.

It didn't always happen (many games were stutter-free), but had tendency to get heavier over longer play sessions. I initially thought it's related to poor specs I ran*, but I eventually learned to distinguish software from hardware related spikes.

It could be something related to how GProxy handles threading. It feels like socket gets briefly blocked out. I can't say for sure if it was blocked from CPU time by other thread, chokeponited on connection layer by other data being sent, or otherwise, but at some point I noticed HDD load led always flashing when it happened. Thus, I suggest it is (or was, around 2012) related to disk operations, perhaps something as simple as log file operations? Windows is notorious for having atrocious performance when handling large log files.

But I can't say for sure, I didn't really try to investigate it closer.

*some really cheapass netbook with 1gb RAM partially reserved ar VRAM, Win XP, I've had my FPS dropping below 5 in lategame teamfights
01010111 01100101 01101100 01101100 00100000 01100100 01101111 01101110 01100101 00101100 00100000 01101110 01100101 01110010 01100100 00101110

Offline cen

  • Eurobattle.net Admin
  • WickedSick Member
  • *
  • Topic Author
  • Posts: 2167
  • Country: si
  • Karma: +281/-57
  • Lok'tar Ogar
  • Awards Lagabuse Legend LA High Staff [EPIC] MadBalls Tournament Winner [RARE] MVP Member [LEGENDARY]
    • View Profile
    • EuroBattle.net
    • Awards
Re: In game lag/spikes
« Reply #4 on: November 10, 2014, 18:07 »
When I did some tests like a month ago the whole packet processing section was executing in less than 1ms. I didn't test it through prolonged gaming sessions tho.

There are also no disk IO operations anywhere in gproxy while game is in progress so there is probably no connection there.

I will add some additional logging and release a beta version for interested people to try out.

Offline div.ide

  • Honored member
  • WickedSick Member
  • *
  • Posts: 1763
  • Country: pl
  • Karma: +235/-61
  • Awards Winner of 1 Challenge of the Week [COMMON] Forum staff member [RARE] Drummer - Music Quiz #2 [RARE] Trumpeter- Music Quiz #3 [COMMON]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #5 on: November 10, 2014, 20:50 »
I see. You should take my post with grain of salt as
1) I stopped playing on regular basis around february 2013 (anything past that were just random singles or short streaks once in a while), my samples are mostly from 2012
2) I ran REALLY bad rig so there might have simply been interference with other processes in background
3) It is quite likely that HDD activity was just pagefile operations caused by RAM shortage

I really wouldn't expect packet processing itself to be issue, that would probably simply tax CPU more and just didn't feel like that. I think the key information is that it made gameflow stutter without freezing the game itself (no significant fps drops or observable UI unresponsiveness).

I wonder if it's actually corelated with OS - all happened on Win XP for me, I played on Win 7 for a short time, can't clearly recall if problem ever occured there.

Oh, and to clarify just in case: by longer sessions, I meant joining multiple consecutive games, rather than playing really long one.
01010111 01100101 01101100 01101100 00100000 01100100 01101111 01101110 01100101 00101100 00100000 01101110 01100101 01110010 01100100 00101110

Offline LordDoom

  • Pro Member
  • *
  • Posts: 329
  • Country: hr
  • Karma: +21/-52
  • Google must be a woman, it knows everything.
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #6 on: November 11, 2014, 08:52 »

Offline funnylol

  • Advanced Member
  • *
  • Posts: 109
  • Karma: +5/-71
  • Awards LA Ladder #11-25 [EPIC] VIP Member [EPIC]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #7 on: November 11, 2014, 14:13 »
had the same problem twice.

Offline skywolf007

  • Honored member
  • MonsterKill Member
  • *
  • Posts: 3714
  • Country: sk
  • Karma: +263/-42
  • I'm gonna bite you!
  • Awards Tours staff member [RARE]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #8 on: November 11, 2014, 20:19 »
http://dota.eurobattle.net/la/forum/index.php?action=gameinfo;sa=game;gid=5612099

here you go cen.. another fucked game cause of megaspikes..
Spoiler for Hiden:
Ping statistics for 173.194.44.144:
    Packets: Sent = 3536, Received = 3513, Lost = 3 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 35ms, Maximum = 963ms, Average = 36ms

Offline Saric

  • Retired Moderator
  • WickedSick Member
  • *
  • Posts: 1035
  • Karma: +40/-33
  • Awards Mirana Wars Winner [RARE] LA Ladder #1 [LEGENDARY] LA Ladder #11-25 [EPIC]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #9 on: November 11, 2014, 20:48 »
i didnt have any problems...


Offline cen

  • Eurobattle.net Admin
  • WickedSick Member
  • *
  • Topic Author
  • Posts: 2167
  • Country: si
  • Karma: +281/-57
  • Lok'tar Ogar
  • Awards Lagabuse Legend LA High Staff [EPIC] MadBalls Tournament Winner [RARE] MVP Member [LEGENDARY]
    • View Profile
    • EuroBattle.net
    • Awards
Re: In game lag/spikes
« Reply #10 on: November 11, 2014, 22:36 »
I will prepare a special gproxy binary this week to test for any longer-than-usual packet processing. This must be a network issue and nothing else.

Offline [Yuma]Psihijatar

  • Honored member
  • Hero Member
  • *
  • Posts: 831
  • Country: 00
  • Karma: +53/-68
  • Awards Hacks staff member [RARE] Tours staff member [RARE] Forum staff member [RARE]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #11 on: November 11, 2014, 23:21 »
When i play on la (started 5 days ago)i got spikes every 3 sec but on ss i never had it
then he started to ruin game after ignoring everyone

25:53   jebanina   [Allies]   !ignore ood
25:56   jebanina   [Allies]   !ignore blo
26:04      [All]   BLOODMEN killed BloodyHippie
26:06   jebanina   [Allies]   !ignore dmen

Offline Jimmy

  • Honored member
  • GodLike Member
  • *
  • Posts: 11536
  • Country: cs
  • Karma: +772/-523
  • (Retired) LA Clan Chieftain
  • Awards Best B&U mod of the month 5 times [LEGENDARY] MVP Member [LEGENDARY] LA High Staff [EPIC] Lagabuse Legend Advisor Winner of 5 Photoshop Challenge Contests [EPIC] IHRL Member [RARE] Best Tours mod of the month 3 times in a row [EPIC] VIP Member [EPIC] Contributor [COMMON] B&U staff member [RARE] Hacks staff member [RARE] Tours staff member [RARE] Forum staff member [RARE] Best Hacks Moderator of the month [RARE] GodLike Tournament Member [LEGENDARY] Best Tours mod of the month 5 times in a row [LEGENDARY] Tournaments Contribution [RARE] DotA 5v5 Tournament Winner [EPIC] Pudge Wars Tournament Winner [RARE]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #12 on: November 11, 2014, 23:30 »
Because you are born To play Safelist League , not to waste time in Pubs :D

Offline Bart

  • Troll Producer
  • Honored member
  • HolyShit Member
  • *
  • Posts: 5794
  • Country: pl
  • Karma: +464/-228
  • L-E-G-E-N-D
  • Awards Winner of 3 Signature of the Week Contest [RARE] Winner of 3 Photo Manipulation Contest [RARE] Winner of 5 Photoshop Challenge Contests [EPIC] Warlock Tour Winner [RARE] Tours staff member [RARE] GFX staff member [RARE] Pudge Wars Tournament Winner [RARE] Mirana Wars Winner [RARE] 3v3 SHOM Tournament Winner [RARE] IHRL Member [RARE] IHRL Champion [EPIC] IHRL Legend [LEGENDARY] Troll Producer 5v5 Night Cup Winner [EPIC] Best Couple (2v2) Tour Winner [RARE] Castle Fight Winner [RARE] Winner of GFX Special Event #1 [UNIQUE]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #13 on: November 11, 2014, 23:33 »
i have mini spikes on ss games time to time....

Offline bassonja

  • Pro Member
  • *
  • Posts: 343
  • Country: zw
  • Karma: +16/-8
  • Awards Drummer - Music Quiz #2 [RARE] Bell Ringer - Music Quiz #3 [COMMON]
    • View Profile
    • Awards
Re: In game lag/spikes
« Reply #14 on: November 12, 2014, 15:22 »
I don't have any spikes at all.

Spikes can be experienced by low profile pc, or connection status. Before answering question i think its also important to know what kinda pc you have and your internet provider.
If someone else is using your internet at same time you play dota, or any warcraft 3 game online you will experience spikes.