Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   Low FPS/Lagging/Spiking Compilation (https://forums.graalonline.com/forums/showthread.php?t=83492)

WaDaFack 01-04-2009 04:03 AM

Low FPS/Lagging/Spiking Compilation
 
What is lag?

Lag is the experience in delay caused by packets of information which are delayed it its delivery, a slang
term for latency issues.

In Graal, users with lag around 100+ are called laggers, but usually caused by geographical distances,
rather than network connection problems.

What are some causes of lag?


Lag can simply be related to three main causes.


Inefficient Computer Processing Power


Even though your network may be fast, your computer could still have a difficult time trying to process the outgoing
and especially incoming data packets or rather computer information. This is worsened when other online applications
are running such as Messenger programs and Internet Browsers.


Inefficient Server Processing Power


Lag can be experienced too when the user's network submits a request which is not yet cached in the computer
or network. Another reason would be when the incoming or outgoing data requires a large amount of processing
before it can be transferred. The bandwidth of an area where packets can pass through smoothly may be disturbed when
there are too many people accessing it at the same time. This especially affects online gaming and multiplayer enabled games.


Inefficient Network Performance


This affects lag when for example, the network is unable to handle the amount of incoming/outgoing packets. Routers
too play a part in this cause since faulty routers would interupt the smooth transfer of packets. Packets too will take longer to transfer when there is a large number of routers inbetween the host and the destination.

How does Ping affect you in-game?

In many multiplayer online video games, players often use the term "MS/Ping/Lag" to refer to the network latency seen between their computer and the other player or to the server depending on the game itself.

Low amounts of ping are usually desirable since they allow smoother game play with more updates of game
data in the averaged milliseconds. In Graal, "lag" is often based on "high ping" or "low ping" which actually
depicts the speed of transfer for packets of game-data.

Simply put, more lag results in a longer transfer
duration for data packets.

What is Spiking/Frog Warping?


Many of you UN players would definitely encounteredthe term "Spiking" before while you were playing in-game.
Spiking tends to be the general term used when there isa sudden increase in Lag. There have been players who
have constantly encountered problems where their own lag constantly increases than decreases so here are some helpful tips and ways to reduce the chances of spiking cases.

What are some ways to prevent Spiking/Frog Warping?


There are many ways to prevent your ping from spiking/frogwarping.
Here are some simple but effective ways to do it.

1) Turn off your firewall. Using a firewall can cause your lag to spike more since the packet is being filtered leading
to the longer duration for the packet to travel.

2) Turn off all other un-necessary internet programs such as MSN, browsers and most importantly, turn off all current downloads.

3) Make sure your computer is connected via Local-Area-Network (LAN) and then disconnect the router from the modem.

4) Turn off the Wireless Zero Configuration service which
searches for alternate networks every few mintues by going to
"Start -> Run -> type Services.msc -> Scroll down
to Wireless Zero Configuration -> right click and select Properties->
click Stop -> wait for the service to stop -> click OK".

5) Start> Run> type "cmd" > type "ipconfig /flushdns"

Types of lag

Many of you wonder whether lag is basically the cause of only problem or rather whether there is only one type of lag.

However, in reality, there are three types of lag that are commonly seen. They are:


Client Lag

Client lag is seen as a momentary freeze of everything on the client's screen, leading to an inconsistent frame rate.
In this state, the entire screen appears to be frozen; no animation will occur and the UI will be completely unusable
(except for your mouse cursor).

Client lag is caused by poor performance of the game client. The most common client lag is caused when the game is loading new data and/or is low on free (physical) memory. Client lag may be momentary (less than a half second) or long (several seconds or more).


Network Lag

Network lag is perceived as unresponsiveness to your actions and/or jerky movement of other players/monsters. Unlike client lag which completely stops all actions, when there is network lag, the user can still do certain minor actions.

While network lag can affect a large number of users at the same time, most often, it only affects a handful.


Server Lag

Server lag appears much like network lag, and often the user cannot tell the difference between the two. All of the examples of network lag apply to server lag as well.

The primary difference is that server lag tends to affect many users all at the same time. Server lag is caused by poor performance on the servers. This can happen when there are too many player on a single server machine or due to problems in the code.

How do you reduce FPS lag?

Since you now know more about the problems when you suffer from FPS lag, let's now look at ways and means to
reduce it to ensure a better and smoother game play environment. Here are some simple yet effective ways to
reduce FPS lag.

1) Ensure that your pc is kept cool and not overheated.

2) If your pc has been on for a long time, restart it before
loading Graal.

3) Keep all drivers up to date especially video drivers.

4) Set your pagefile to a fixed size like 1024min/1024max,
and put it on your fastest harddrive.

5) Defragment your harddrive(s).

6) Disable unnessesary drivers and windows services.

7) Close background applications/processes.

8) Lower your resolution.

9) Lower texture resolution.

10) Get a better cooler and overclock your system.

11) You can also clear out the FILENAMECACHE.exe monthly, it can get overloaded and possible corrupted.




Thank you to WaDaFack for editing this post for Graal. (Originaly posted on Unholy Nation forums)
and
Thank you to Yuna of GunZ Online for posting this on another gaming forum. (Posted on GunZFactor)

xXziroXx 01-04-2009 12:29 PM

No offense, but you're wrong. Lag is 100% caused by your computer not being able to handle the game, most commonly because your graphics card sucks or you have a lack of RAM memory.

Then there's latency, the higher latency you have, the more delay you'll experience when communicating between then client and the server, and vice versa.

The two of them are two completely different things, and only one of them can be referred to as lag.

Also, GG for ripping the thread from another forum probably without permission.

Loriel 01-04-2009 01:51 PM

Quote:

Originally Posted by xXziroXx (Post 1454555)
The two of them are two completely different things, and only one of them can be referred to as lag.

Yeah and we usually refer to latency as lag.

xXziroXx 01-04-2009 02:16 PM

Quote:

Originally Posted by Loriel (Post 1454564)
Yeah and we usually refer to latency as lag.

Lag is an incorrect term for latency though.

Chompy 01-04-2009 08:21 PM

Graal isn't an FPS.

WaDaFack 01-04-2009 09:14 PM

Actually Ziro, I'd suggest you keep your mouth shut before saying "You probably ripped this thread without permission" In fact, I did get full rights to post this thread :)

Twinny 01-05-2009 11:55 PM

Flush your DNS cache? To solve lag? What the hell?

The delay a firewall would cause is so minimal...

"and then disconnect the router from the modem." what sort of ****house network is this? Why do you have a router AND a modem?

Computer -> Router/Switch combo -> interwubz
Computer -> Switch -> Router -> interwubz
Computer -> modem -> interwubz
Computer -> router -> modem? -> failure!

Makes absolutely no sense.

"Turn off the Wireless Zero Configuration service which
searches for alternate networks every few mintues by going to
"Start -> Run -> type Services.msc -> Scroll down
to Wireless Zero Configuration -> right click and select Properties->
click Stop -> wait for the service to stop -> click OK"."

This is like the old, "turn of DHCP service and put a static AS SEARCHING FOR DHCP COSTS COMPUTER CYCLEZ!!"

These services take...oh....**** all processing time.

The biggest cause of lag on Graal, i think, are bad scripts.

Overall, this is a bull**** guide. "Speed up your computer to get that elusive <1ms to just get raped by inefficient ISP networking systems." If your computer takes more than 1ms to reach your router (if available), i think you're using a blender as any PC should be able to achieve this.

Like stupid idiots who buy gaming network cards....

DustyPorViva 01-05-2009 11:59 PM

Quote:

Originally Posted by Twinny (Post 1454883)
"and then disconnect the router from the modem." what sort of ****house network is this? Why do you have a router AND a modem?

Computer -> Router/Switch combo -> interwubz
Computer -> Switch -> Router -> interwubz
Computer -> modem -. interwubz
Computer -> router -> modem? -> failure!

Makes absolutely no sense.

What do you mean? I have a modem and a router. I have the modem... which provides the actual internet, which I then connect to my router. A router isn't going to give you internet on your own, and if you wish to have wireless and/or multiple wired connections, you're going to need a router AND a modem. Nothing you're saying makes any sense.

Twinny 01-06-2009 12:04 AM

Quote:

Originally Posted by DustyPorViva (Post 1454884)
What do you mean? I have a modem and a router. I have the modem... which provides the actual internet, which I then connect to my router. A router isn't going to give you internet on your own, and if you wish to have wireless and/or multiple wired connections, you're going to need a router AND a modem. Nothing you're saying makes any sense.

Ok... My router at home, it has a RJ11 interface which connects directly to the phone line, providing my interwubz. If i wanted, it could also provide wireless. This 877W on my desk? It provides routing, wireless and internet connectivity from a telephone line.

How exactly does your router connect to your modem? If this modem has an interface address, why is the router involved?

DustyPorViva 01-06-2009 12:05 AM

Quote:

Originally Posted by Twinny (Post 1454885)
Ok... My router at home, it has a RJ11 interface which connects directly to the phone line, providing my interwubz. If i wanted, it could also provide wireless. This 877W on my desk? It provides routing, wireless and internet connectivity from a telephone line.

How exactly does your router connect to your modem? If this modem has an interface address, why is the router involved?

Let's see... cable goes to modem, modem goes to router via ethernet. Router then goes to my computer, 360, wireless desktop and my Wii/DS.

It's quite simple, and I'm pretty sure a set-up often used.

Twinny 01-06-2009 12:08 AM

Quote:

Originally Posted by DustyPorViva (Post 1454886)
Let's see... cable goes to modem, modem goes to router via ethernet. Router then goes to my computer, 360, wireless desktop and my Wii/DS.

It's quite simple, and I'm pretty sure a set-up often used.

I still don't see why a router is needed in this setup? Switch w/ wireless access point?

DustyPorViva 01-06-2009 12:12 AM

Quote:

Originally Posted by Twinny (Post 1454887)
I still don't see why a router is needed in this setup? Switch w/ wireless access point?

What? Why not? Router connects via wires to my computer and my 360... and connects wirelessly via WAP to my Wii/DS/desktop. How would you suggest I do that without a router?

Twinny 01-06-2009 12:14 AM

Quote:

Originally Posted by DustyPorViva (Post 1454888)
What? Why not? Router connects via wires to my computer and my 360... and connects wirelessly via WAP to my Wii/DS/desktop. How would you suggest I do that without a router?

That's not a router. It's a router/switch combo acting as a switch. Is your wireless on a seperate network to your wired devices?

xXziroXx 01-06-2009 12:14 AM

I use a modem plugged in to a router which in turn I have four computers plugged into. You're way off on this one Twinny.

DustyPorViva 01-06-2009 12:15 AM

Quote:

Originally Posted by Twinny (Post 1454889)
That's not a router. It's a router/switch combo acting as a switch. Is your wireless on a seperate network to your wired devices?

Everything is on the same network.

Twinny 01-06-2009 12:17 AM

Quote:

Originally Posted by DustyPorViva (Post 1454891)
Everything is on the same network.

It's a switch. Miraculous!

DustyPorViva 01-06-2009 12:19 AM

Quote:

Originally Posted by Twinny (Post 1454892)
It's a switch. Miraculous!

Funny thing, that. It says right on there that it is a wireless G-router.

Twinny 01-06-2009 12:25 AM

Quote:

Originally Posted by DustyPorViva (Post 1454894)
Funny thing, that. It says right on there that it is a wireless G-router.

Routers switch packets between different networks. 192.168.1.1/24 to 192.168.2.1/24

It is capable of a router but it's not routing. Hell, it might be capable of token ring but you wouldn't run around saying you were using a token ring network now would you? Routing causes overhead as it has to open up packets to examine it.

The end point was how stupid it would be to have your home network split into two segments with your computer on one side and your internet access on another as this would cause a delay (although, this is still nominal).

DustyPorViva 01-06-2009 12:35 AM

Quote:

Originally Posted by Twinny (Post 1454897)
Routers switch packets between different networks. 192.168.1.1/24 to 192.168.2.1/24

It is capable of a router but it's not routing. Hell, it might be capable of token ring but you wouldn't run around saying you were using a token ring network now would you? Routing causes overhead as it has to open up packets to examine it.

The end point was how stupid it would be to have your home network split into two segments with your computer on one side and your internet access on another as this would cause a delay (although, this is still nominal).

Oh, in that case yes they are on different networks. I'm not that knowledgeable when it comes to this, but I do know I use a router and a modem.

Twinny 01-06-2009 12:39 AM

Quote:

Originally Posted by DustyPorViva (Post 1454899)
Oh, in that case yes they are on different networks. I'm not that knowledgeable when it comes to this, but I do know I use a router and a modem.

I'd put the modem on the same network address as your computer, have whatever is dishing out DHCP (assuming the router/switch) to set your default gateway as the modem and make use bridging for all wireless devices. Becomes a pure switched network :)

DustyPorViva 01-06-2009 12:49 AM

I'd say the best way to stop the lag is to stop browsing porn and getting all that spyware junk on your computer, taking up all your internet resources ;)

CharlieM 01-06-2009 12:54 AM

uhm..Call me crazy but modems are plugged into a cable line unless you use one internet linkage at a time you have to have a router, also to get wifi you require a router if you don't have a network nearby. I know my internet requires a modem to access

Twinny 01-06-2009 01:24 AM

Quote:

Originally Posted by CharlieM (Post 1454909)
uhm..Call me crazy but modems are plugged into a cable line unless you use one internet linkage at a time you have to have a router, also to get wifi you require a router if you don't have a network nearby. I know my internet requires a modem to access


Does your modem have a interface address? i.e. can it be contacted on, say, 172.16.1.1? If so, it doesn't sound like you need a router: just a switch.

Alot of home networking solutions do use a router/switch/wireless combination (pure convenience) but, depending on setup, it might not be providing router-based functions.

My router is as it's the link between my home 10.x.x.x network and a public network (interwubz) via broadband (phoneline).

CharlieM 01-06-2009 01:27 AM

I have a bunch of stuff running off of my internet that require cables as well as wireless network is required right now. My main problem is though my internet provider requires I use there modem

cbk1994 01-06-2009 01:35 AM

Quote:

Originally Posted by Twinny (Post 1454883)
"and then disconnect the router from the modem." what sort of ****house network is this? Why do you have a router AND a modem?

Computer -> Router/Switch combo -> interwubz
Computer -> Switch -> Router -> interwubz
Computer -> modem -> interwubz
Computer -> router -> modem? -> failure!

Makes absolutely no sense.

I agree that it's silly to use a modem when a router can handle this; however, my ISP will not let me use the modem in bridge mode and the router as the modem. The only way to get wireless in my house without both a modem and wireless gateway/router is to pay an extra $15 a month for them to give me some junky Linksys router with their sticker on it.

Twinny 01-06-2009 01:44 AM

Just to make a point on the original topic of this whole thread....

Latency is caused at the ISP level. Speeding up your computer will not help this. It may help dealing with large amounts of packets but it will improve your ping latency.

Open up a command/terminal prompt. Use either tracert(windows) or traceroute(linux and possibly mac?) to trace a path to something like google or even a graal server. You'll notice that the results will jump considerably when it hits the ISP level but will remain incredibly small at the LAN level.

DustyPorViva 01-06-2009 01:54 AM

Quote:

Originally Posted by cbk1994 (Post 1454923)
I agree that it's silly to use a modem when a router can handle this; however, my ISP will not let me use the modem in bridge mode and the router as the modem. The only way to get wireless in my house without both a modem and wireless gateway/router is to pay an extra $15 a month for them to give me some junky Linksys router with their sticker on it.

How the hell can a router handle an internet connection like cable or even DSL?

Twinny 01-06-2009 01:58 AM

Quote:

Originally Posted by DustyPorViva (Post 1454931)
How the hell can a router handle an internet connection like cable or even DSL?

This, again, is the power of combination! Alot of routers have an inbuilt DSL modem :). Should we just start calling them router/switch/wireless/modem/fire-totem? :D

DustyPorViva 01-06-2009 01:59 AM

Quote:

Originally Posted by Twinny (Post 1454934)
This, again, is the power of combination! Alot of routers have an inbuilt DSL modem :). Should we just start calling them router/switch/wireless/modem/fire-totem? :D

Well in that case you're still using a modem/router combo, they're just in the same box.

Twinny 01-06-2009 02:03 AM

Quote:

Originally Posted by DustyPorViva (Post 1454935)
Well in that case you're still using a modem/router combo, they're just in the same box.

But it's not going 192.168.1.1 to 192.168.2.1 to 203.45.32.232 as I originally thought this thread suggested.

cbk1994 01-06-2009 02:37 AM

Quote:

Originally Posted by DustyPorViva (Post 1454931)
How the hell can a router handle an internet connection like cable or even DSL?

PPPoE.

At my dad's house, the ISP-supplied modem is in bridge mode. It then connects to the wireless gateway/router, which uses PPPoE to login and then connect to the Internet, and then send this wirelessly.

Skyld 01-06-2009 07:08 PM

Quote:

Originally Posted by WaDaFack (Post 1454496)
3) Make sure your computer is connected via Local-Area-Network (LAN) and then disconnect the router from the modem.

Surely disconnecting the modem will cause infinite latency because you won't be connected to the Internet anymore? :confused:

DarkReaper0 01-07-2009 03:36 AM

Quote:

Originally Posted by xXziroXx (Post 1454566)
Lag is an incorrect term for latency though.


Congratulations, your right and the rest of the world is wrong.

You forget however that you need to adapt to the language idiom and not the other way around.


All times are GMT +2. The time now is 12:29 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.