ULX

Author Topic: Rubberband like lag  (Read 7475 times)

0 Members and 1 Guest are viewing this topic.

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Rubberband like lag
« Reply #15 on: May 28, 2016, 03:35:38 AM »
sv_minrate 99999
sv_maxrate 0


Well, depending on your goals, I'd raise sv_minrate, but that's certainly shouldn't be a massive issue at its current level.  What does choke top out at when it happens?


(roastchicken -- IO wait would cause server fps lag, not client choke)

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Rubberband like lag
« Reply #16 on: May 28, 2016, 05:19:27 AM »
(roastchicken -- IO wait would cause server fps lag, not client choke)

When a player joins or leaves the server everyone lags with this rubberband effect that pulls you back for half a second.

Maybe he changed the description in later posts, but a rubberbanding effect definitiely sounds like serversided lag.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline middleearth

  • Newbie
  • *
  • Posts: 9
  • Karma: -1
Re: Rubberband like lag
« Reply #17 on: May 28, 2016, 07:36:09 AM »
http://i.imgur.com/GzaVSz1.jpg

That little reddish orange spike at the bottom is what I get when it occurs and what I assumed was choke.

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Rubberband like lag
« Reply #18 on: May 28, 2016, 07:54:07 AM »
http://i.imgur.com/GzaVSz1.jpg

That little reddish orange spike at the bottom is what I get when it occurs and what I assumed was choke.

Nope, that's interp versus extrap, which probably indicates framerate lag server-side   Can you show us the issue using a full net_graph 4?   Can you post the server URL?  I'd like to look at some of the cvar settings.

I agree with roastchix -- this is starting to sound like server framerate lag due to IO wait.   Can you shell into your server and watch 'top' and/or 'iostat' during the issue?
« Last Edit: May 28, 2016, 08:00:33 AM by Buzzkill »

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Rubberband like lag
« Reply #19 on: May 28, 2016, 08:16:07 AM »
To avoid the risk of making any other assumptions and inadvertently glossing right over the root issue, I ask/suggest the following:

1) Is this a hosted server.  If yes, who is it with and what is the OS and specs for your server/VM? If it's NOT a hosted server, well... lots of things could be going on.

2) I know you've disabled ULX and cleared the user/groups files.  This doesn't answer the question of whether or not it's a third party ULX plugin that you've installed that is misbehaving during connect/disconnect.  I would move your current ULX / ULib installation off to the side and do a complete, fresh install of ULib/ULX with no changes to stock plugins or configuration.  Does the problem remain after restarting?

3) Still not sure what addon hook plugin of mine you were referring to.  If it's LagDetector, then yes -- that's not going to be much help.  It detects lag, but doesn't pinpoint it.  DBugr is one option.  Addon Hooks Lag Finder (not mine) at https://facepunch.com/showthread.php?t=1518412 is another.  Still another is FProfiler at https://facepunch.com/showthread.php?t=1517058, though this itself is very, very laggy for me.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Rubberband like lag
« Reply #20 on: May 28, 2016, 08:48:09 PM »
And, to be clear, if I see you say "it runs fine, so I know it's not server specs" one more time, I'm banning you for a length of time I've not yet determined, and locking this thread.
Several members of this community, myself included, have asked you politely to provide the specs to help us help you determine if they might be related, and you've side stepped each time basically sating "it runs fine the rest of the time".

We're not saying absolutely at this point they will be cause, but they darn well could be a contributing factor.


"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline middleearth

  • Newbie
  • *
  • Posts: 9
  • Karma: -1
Re: Rubberband like lag
« Reply #21 on: May 30, 2016, 10:49:37 AM »
Nope, that's interp versus extrap, which probably indicates framerate lag server-side   Can you show us the issue using a full net_graph 4?   Can you post the server URL?  I'd like to look at some of the cvar settings.

I agree with roastchix -- this is starting to sound like server framerate lag due to IO wait.   Can you shell into your server and watch 'top' and/or 'iostat' during the issue?

http://i.imgur.com/wlE4Epy.jpg

I will PM you with the server information. I do not have access to shell into the server.

To avoid the risk of making any other assumptions and inadvertently glossing right over the root issue, I ask/suggest the following:

1) Is this a hosted server.  If yes, who is it with and what is the OS and specs for your server/VM? If it's NOT a hosted server, well... lots of things could be going on.

2) I know you've disabled ULX and cleared the user/groups files.  This doesn't answer the question of whether or not it's a third party ULX plugin that you've installed that is misbehaving during connect/disconnect.  I would move your current ULX / ULib installation off to the side and do a complete, fresh install of ULib/ULX with no changes to stock plugins or configuration.  Does the problem remain after restarting?

3) Still not sure what addon hook plugin of mine you were referring to.  If it's LagDetector, then yes -- that's not going to be much help.  It detects lag, but doesn't pinpoint it.  DBugr is one option.  Addon Hooks Lag Finder (not mine) at https://facepunch.com/showthread.php?t=1518412 is another.  Still another is FProfiler at https://facepunch.com/showthread.php?t=1517058, though this itself is very, very laggy for me.

1. Yes, with NFO servers. I tried lowering the server slots but that did not help. I do not know the specs, I will ask someone that might know and I will get back to you. It's on linux.
2. If I keep all my other addons, and do a fresh install of ulx/ulib the issue remains. If I remove all the other addons, the issue does not remain.
3. http://forums.ulyssesmod.net/index.php/topic,8428

And, to be clear, if I see you say "it runs fine, so I know it's not server specs" one more time, I'm banning you for a length of time I've not yet determined, and locking this thread.
Several members of this community, myself included, have asked you politely to provide the specs to help us help you determine if they might be related, and you've side stepped each time basically sating "it runs fine the rest of the time".

We're not saying absolutely at this point they will be cause, but they darn well could be a contributing factor.

It does run fine at every point but connecting and disconnecting. That's what leads me to believe it's not server specifications related. However I do not know the exact allocated resources and that's why I was unable to provide them.

Offline middleearth

  • Newbie
  • *
  • Posts: 9
  • Karma: -1
Re: Rubberband like lag
« Reply #22 on: May 30, 2016, 11:01:29 AM »
1) Is this a hosted server.  If yes, who is it with and what is the OS and specs for your server/VM? If it's NOT a hosted server, well... lots of things could be going on.

CPU: 6 core Dual Intel Xeon E5-2690
Ram: 6000mb

There is a prophunt and a darkrp running along with it.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Rubberband like lag
« Reply #23 on: May 30, 2016, 12:10:02 PM »
2. If I keep all my other addons, and do a fresh install of ulx/ulib the issue remains. If I remove all the other addons, the issue does not remain.
Leads me to believe there is a conflicting addon.
I presume you added one or two back at a time when testing, if not, you should.
Which addon did you add that made the issue appear again?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming