AdrenalineX Forums

General => AdrenalineX Development => Bug Reports => Topic started by: [MAF]Snoopy on July 10, 2011, 09:45:30 pm

Title: lag catchup even more deadlier than before
Post by: [MAF]Snoopy on July 10, 2011, 09:45:30 pm
it's pretty much happening in every race and on foot now, it's becoming impossible to play :(

and we've been getting a lot of server lag lately. i just checked my internet connection and everything is working fine. so i know for sure it's not a problem from my end
Title: Re: lag catchup even more deadlier than before
Post by: Tommmmmmm on July 10, 2011, 10:34:12 pm
I've noticed like 5-10 second lags, when it all settles it's extremely bad, like you said, I thought it was my end
Title: Re: lag catchup even more deadlier than before
Post by: [LSR]Jalicno on July 10, 2011, 11:48:33 pm
Ye i have wrote over admin chat that when is 50+ players server is pretty laggy...Its almost impossible to find empty car on map cause everything goes very slow and then 10 sec after its like double or triple faster than usual.
Title: Re: lag catchup even more deadlier than before
Post by: [2F2F]Hellmuth on July 11, 2011, 01:30:49 am
ive experience chat lag aswell when 50+
Title: Re: lag catchup even more deadlier than before
Post by: Karlip on July 11, 2011, 09:08:38 am
Could be host related too, as I can confirm that it has gotten worse by the last weeks.
Title: Re: lag catchup even more deadlier than before
Post by: SpLiT on July 11, 2011, 10:29:51 am
Kye can help you with that  :D
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Cthulhu on July 11, 2011, 11:05:59 am
yeah, kye could really help us.....
with getting rid of you
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Snoopy on July 11, 2011, 11:09:10 am
:L nicely said
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Cthulhu on July 11, 2011, 11:15:29 am
hehe ;_;
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]mourad on July 11, 2011, 12:55:29 pm
with getting rid of you
:L
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Snoopy on August 01, 2011, 04:43:38 pm
[youtube]http://www.youtube.com/watch?v=VtC2jEDXDPk[/youtube]

worst i ever saw. it happens more when 50+ people are on the server like hellmuth said so i reckon host issues
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Cthulhu on August 01, 2011, 04:46:21 pm
Yeah, it's terrible and pings are high, too. :-\
(http://i.imgur.com/KtVhl.jpg)
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Snoopy on August 01, 2011, 04:46:51 pm
argh :(
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]mourad on August 01, 2011, 05:14:22 pm
luckily we didn't have that much lag yesterday
Title: Re: lag catchup even more deadlier than before
Post by: [LSR]Jarol on August 02, 2011, 08:30:05 am
its really annoying racing when this happens
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Snoopy on August 03, 2011, 09:09:56 pm
lots of players = high ping pretty much says it's host issues IMO

(http://i.imgur.com/dXddn.jpg)
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]mooman on August 03, 2011, 10:26:30 pm
response from our host:

Quote
Hi,

 Having looked at the video in the thread, that lag is pretty bad and I can understand how players would be annoyed at that.

 The overall resource consumption for UK2 is well within limits. Average CPU rises to 40% during peak times and Network Utilisation to ~10mbit, i've attached the network utilisation graph for the last 24 hours to demonstrate this.

 However, your server consumes quite a bit of CPU, which you can see on the "Game Server Activity" section of the Game Control Panel. While this is an insignificant amount overall, it comes extremely close to the limit of a logical processor, which is 13% as UK2 has 8 logical processors. As the CPU readings are only taken every half hour, it is entirely possible that your server does spike up to 13% utilisation which would cause the lag and ping issues you're noticing.

 All I can suggest is to try and reduce your CPU consumption so that you do not max out a processor core. Unfortunately, the SA-MP server is not multithreaded and hence it can only use one core at most. There are some plugins which are threaded, but these are rare.
(http://i.imgur.com/UeIqU.png)

how player count increases cpu usage:
(http://i.imgur.com/4H5m4.png)
(http://i.imgur.com/Obcu1.png)
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Snoopy on August 03, 2011, 10:27:53 pm
yay getting somewhere! so what's the next step?
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]mooman on August 03, 2011, 10:37:53 pm
1. assuming this is problem with the sa-mp code, wait for a new sa-mp version which uses less cpu when we're all in the same world
2. assuming this is a script problem, recode the script to use cpu
3. limit the number of players
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Snoopy on August 03, 2011, 10:41:07 pm
nice! a plan :D
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Epoxi on August 03, 2011, 10:48:33 pm
Judging by how smoothly AX runs despite all the features, I doubt very much it's a coding problem since the coders are so careful. /brown-nosing  >:D

I suppose it's a server issue because it hardly happened before (for me anyway).

At the moment we are overtaking Heinz's market share in ketchup.
Title: Re: lag catchup even more deadlier than before
Post by: [MAF]Snoopy on August 03, 2011, 10:52:05 pm
i started to notice the lag catchup after 0.3c was released in october 2009