PDA

View Full Version : Lag during looting.


Irreverent
09-19-2009, 08:55 AM
Anyone had this problem before?

If not, what are some good steps to assist in finding out what the problem is.

Running on a dual-core athlon 2.6Ghz 3G Ram
...but on vista. Might be my problem them.

trevius
09-19-2009, 09:09 AM
Have you tried getting the AMD Optimizer Driver yet? The FAQ in my sig should help with multi-core CPU issues.

Irreverent
09-19-2009, 09:11 AM
Ooops, let me give more detail. But, thanks for your answer.

Its not *me* playing the game, but rather my game-server *everyone* has loot lag (20 seconds sometimes) when looting something.

trevius
09-19-2009, 11:33 PM
What do you mean by "when loading something"? When they are loading into the server to char select? When they are entering the world from char select? When they are zoning? Need a bit more info. If players load slowly when zoning or entering the world, then it is probably due to your upload bandwidth. How fast is your upload speed? Also, is this issue constant or does it only happen some of the time?

Irreverent
09-20-2009, 08:06 AM
"looting" not loading.

Just when they click a corpse to loot, it sometimes takes 5-20 seconds.


Doesn't always happen either.

trevius
09-20-2009, 08:41 AM
Ohh, my bad lol. Are you sure you have the .conf files updated in your server folder to match the revision of source code you are running?

Irreverent
09-20-2009, 08:42 AM
Well, I always copy everything but the eqconfig.xml file when I update a binary release. So yes, it does include the .conf files

pfyon
09-20-2009, 04:43 PM
What's the processor/memory usage looking like? How about mysql queries? If your hardware just can't handle the load the server is experiencing, I'd expect lag to be a consequence.

Irreverent
09-21-2009, 09:16 AM
Maybe I should tweak MySQL settings...

Athlon X2 dual-core BE-2350 2.1Ghz
2G RAM
Integrated Nvidia 6150SE nForce 430
250G HD
Vistia Premium x86

Rogean
09-21-2009, 12:58 PM
This might be related to the server enforced delay KLS implimented for looting recently.

Irreverent
09-22-2009, 02:17 PM
Ok, a couple more things.

1) This is only when bring up the loot window, find transfering items from there
2) Also, when you click sell/buy from a merchant it takes a couple extra seconds.

Loaded GnS Affinity on the server just to check...running at very low CPU usage my 2G memory isn't really being peaked either.

Tharkun
09-23-2009, 07:22 PM
what about overall network usage? The server is probably processing the request as soon as it gets it, however if there is a lot of network activity, or some other series of network events occurring, it may simply take that long for the data to travel.

I would look at port forwarding, collisions, and other such.

while in your client press f11, and your net stats will show in the upper left corner, what is your latency?

Irreverent
09-23-2009, 07:27 PM
Hrm, good point. I logged into eq via the same machine and looting is pretty instantaneous.

Port forwarding:
9000 to 9000
7000 to 7100
3306 to 3306
5998 to 5998
9080 to 9080
10234 to 10234
7779 to 7779
I'm forwarding both UDP/TCP with those port ranges to the server machine on a Linsys WRT54G

OK, we're getting somewhere...

Irreverent
09-23-2009, 08:07 PM
But, on my other machine...right next to it(thru same router) I'm gettin 100% and 22ms response...get loot lag

Tharkun
09-23-2009, 08:17 PM
wired or wireless?

Irreverent
09-23-2009, 08:19 PM
Its all wired, but I did notice the 100% flickers to another number consistantly and then back to 100%.

Tharkun
09-23-2009, 08:29 PM
This sound like network collisions.
Do you have people connecting externally, or is it all LAN?
If all your connections are LAN you may be creating a problem by port forwarding when it's not needed.

Irreverent
09-23-2009, 08:31 PM
Most people play via the internet, I'm the only one on the Lan and get the lag too like everyone else.

UPDATE: I am also getting the lag on the pc that runs the server now, so it seems independant of location now.

Tharkun
09-23-2009, 09:40 PM
the computer may need to go down while you do some file maintenance. Sounds possibly file fragmentation.

I would recommend Pagedefrag (http://technet.microsoft.com/en-us/sysinternals/bb897426.aspx). This utility will defragment the page file on a startup. Also fun a more traditional defragment utility such as: http://www.tucows.com/preview/505489
or use whatever suites your fancy... I use those both with very good results

Irreverent
09-24-2009, 08:56 AM
I'll give that a go, but strange that if it was lookup/page problems that it wouldn't be more consistant. But, I'm willing to try anything at this point as its a realy bummber...and unique to me for some reason.

Tharkun
09-24-2009, 03:40 PM
your expecting consistency from Windows?

Speedz
09-24-2009, 06:47 PM
Try a crossover cable between server and computer next to it.

(edit: try different network cables to all machines first too, maybe a bad cable?)

A couple issues this could uncover:

Bad router if the speed is fine.
Bad NIC drivers if speed still is bad
Driver conflict if you have more than one NIC in the server. If speed is still bad.
Bad NIC or NIC settings if speed is still bad.

Also is this a motherbaord integrated NIC on the server? If so and these issues are not resolved by a crossover direct link. Try a PCI NIC and disable the onboard.

Is there any noticeable latency in any other real time environment on either the server or client machines?

Give all that a shot, let us know what happens.

Irreverent
09-25-2009, 01:15 PM
The deep defrags did not help.

Would the crossover do anything, since even logged in on the same machine I get loot lag?

Speedz
09-25-2009, 07:38 PM
I mention that to make sure it isn't the router and possibly the cable going to the router.

I have a router that does some weird tricks similar to your odd slow downs and sometimes it outright refuses some apps on ports that are set to be open. I replaced the router and all was ok.

AndMetal
09-26-2009, 01:05 AM
Would the crossover do anything, since even logged in on the same machine I get loot lag?

If you're running a Virtual Machine for either server or client & are using a bridged network connection, then yes. Otherwise, no.

Irreverent
09-28-2009, 07:14 PM
BAM, fixed.

So, I went into my mysql performance stats. Notices there 100k's of page searches, not using indexes. So i found what query was being used a lot, it involved timers. Well, it had no key. So there where tons of dupliactes, of course no lookup capability. Fixed that, and boom..all problems solved!

Tharkun
09-28-2009, 08:34 PM
that's interesting, was it an EMU table and query or some other project you have going on?

Speedz
09-29-2009, 12:10 AM
Awesome, glad you got it fixed. I guess I missed that part where you said it was lagging on the same machine too. (I post usually when tired lol)

I second the question if it was something defaulted with the emu that caused it. I haven't personally had this issue. But if someone else does, this thread could serve as a help to them.