What is lag ? (my theory)

Ther alot of talk about lag and how and why so i thought id make a little thing about how i see it all im no expert but what i present here is what i picked up along the way and is my understanding of whats up if i wrong feel free to state so and if u can back new info up please do then we might all learn some form this all :slight_smile:

thers a few basics about lag that seems very misunderstood so here i try explain :dunce:

Lag : in PE thers basicaly 2 types of LA client lag and server lag server lag happends in jst about all games and they are mainly caused by A to much activity for the server to handle or B servers getting out of sync with eachother
client lag is a major problem and is also mainly caused by 2 issues A the computer the client cant handle all the data or B that that it gets out of sync with the server

PE“s problems PE is based on a decent engine and on decent database but the BIG problem is the number of models being loaded all the time when comparing to a game like quake PE has maybe 2000 models needed to be loaded at any time and quake has mybe 50 (thers more but not on same level) models is not to be confused with skins which are easely aplicable on models and fast changed

so what can be done ?

thers a few things MA can do

decrease the number of models being loaded when u enter a area (this has been done in different areas like PA where there now are small seperation walls)

change the way and priority of models being loaded (this has also been done but could probably be improved alot)
decrease the actual number of models (bad idea its one of the really cool things in PE)

allow for custom setting for all this (allready allowing ground quality and lactive light settings and buffer)

get rid off the annoying memory leak (been comming and going since pregold)

what can players do ?

well hardware matters and so does setup
very good hdd“s seems a big advantage (raptors)

least 1Gb ram is needed (this is where models are and stay because of the memory leak)

be sure to have enought space for swapping files and try not to run PE on a to big hdd with loads of small files and especialy not part files and last make frequent defrags especialy after new VU“s

cooling PE most often take all the CPU power it can get its hands on and therefore CPU easely runs hot way to many people pay hundred of dollars for a CPU and then buy a 5$ fan

this is a late night project so please forgive stupid mistakes and speeling errors

1 Like

[QUOTE=Hally]

this is a late night project so please forgive stupid mistakes and speeling errors
[/QUOTE]

I can forgive SPELLING Errors. But I can’t forgive SPEELING Errors

:duh:

hehe speeeling would be the one error that was planted :slight_smile:

Like I run lineage 2 on best grapics with about 70 people in one place and I still dont get so much lag as in PE

[QUOTE=Ethar]
Like I run lineage 2 on best grapics with about 70 people in one place and I still dont get so much lag as in PE
[/QUOTE]

Very simple reason… Avatars in Lineage are template based, in PE they are not :slight_smile:

1 Like

[QUOTE=Ethar]
Like I run lineage 2 on best grapics with about 70 people in one place and I still dont get so much lag as in PE
[/QUOTE]

PE has about a million (probably a lot more) diffrent way for an avatar to look. I think that’s a major contributor to the lag in towns. Even hair-styles are diffrent (being diffrent styles {not that many} and lenght and ā€œsizeā€). Your computer has to read all the diffrent looks of avatars before you can see them, and in town people run around, come in and out of buildings and TP to and from the town all the time.

Edit: Pretty much what Euroman said with a lot less words. :slight_smile:

1 Like

[QUOTE=Konve]
PE has about a million (probably a lot more) diffrent way for an avatar to look. I think that’s a major contributor to the lag in towns. Even hair-styles are diffrent (being diffrent styles {not that many} and lenght and ā€œsizeā€). Your computer has to read all the diffrent looks of avatars before you can see them, and in town people run around, come in and out of buildings and TP to and from the town all the time.

Edit: Pretty much what Euroman said with a lot less words. :slight_smile:
[/QUOTE]

In a other MMORPG (in a galaxy far away , a long time ago) they seems to solved that.. as in there there is prolly even a greater numbers of ways a avatar may look.. and alot more weapon,armour,clothes models.. and it doesnt lag as bad as EU.. Even that the 3 european servers are located a few more hops away for me than EU’s

[QUOTE=Ulv]
In a other MMORPG (in a galaxy far away , a long time ago) they seems to solved that.. as in there there is prolly even a greater numbers of ways a avatar may look.. and alot more weapon,armour,clothes models.. and it doesnt lag as bad as EU.. Even that the 3 european servers are located a few more hops away for me than EU’s
[/QUOTE]

Dont bother , people will all time think avatar in PE are sooo wonderfull its normal they generate very huge lag …
Fact is PE avatar are no more so good , and lots of other game display a lot better avatar ,with a lot more way to ā€œconfigureā€ the avatar look ,more clothes and so on…

Pronlem is not the amount of info to send through network about how the avatar look , but the code that use , ask , gather, store .. the info in the clien …

[QUOTE=Etopia]
Dont bother , people will all time think avatar in PE are sooo wonderfull its normal they generate very huge lag …
Fact is PE avatar are no more so good , and lots of other game display a lot better avatar ,with a lot more way to ā€œconfigureā€ the avatar look ,more clothes and so on…

Pronlem is not the amount of info to send through network about how the avatar look , but the code that use , ask , gather, store .. the info in the clien …
[/QUOTE]

You really dont get it, hm? :rolleyes:
Noone said something about how wonderfull and oh great these Avatars are… they say how complex they are :wink:

It propably is really the pure Mass of Information, everything else just adds up on it.

[QUOTE=Domochevsky]
You really dont get it, hm? :rolleyes:
Noone said something about how wonderfull and oh great these Avatars are… they say how complex they are :wink:

It propably is really the pure Mass of Information, everything else just adds up on it.
[/QUOTE]

you know what ? there is no other on-line game as laggy as EU is, regadless of the so-called " complexity ". The point is : EU is unacceptable laggy, these days. Is MA’s chose , to use 10 years old hardware and 7 years old software.
As far as ALL others MMORPGs can manage a lower lag , for a fee of $ 15-20/month and for a similar or even larger player-base, MA have no excuse…except greed ofc.

Right, just compare Apples with Bananas, works great in Deduction :laugh:

[QUOTE=Domochevsky]
Right, just compare Apples with Bananas, works great in Deduction :laugh:
[/QUOTE]

dude, they all are MMORPGs, there is absolutelly no differnces between them, in the matter of possibly involved software or hardware .Except the promise of Real Cash Economy, there is absolutelly nothing " more " in EU than in any other MMORPG. And the so -called RCE have nothing to do with the game’s software and server’s hardware. Here is no deduction, im talking about facts : bandwidth, hardware and software. There is no mistery or high complexity in MA’s software. It’s an 7 years old core.

Hally, reps for trying to deduce why the lag problem has got so much worse in recent times, but I fear the symptoms are misleading you slightly. I might have misunderstood you in some places (the use of these: ā€œ.ā€ is highly recommended, mate). However, having some experience in the design of such things, I can impart some of my design philosophies:

In a game’s architecture, you have to account for the hardware spec you’re aiming at, the connection speeds, network latencies, server speeds, database efficiencies, etc.

If, in your game’s design specification, you decide what parts of the game are most important, therefore should be least susceptible to lag.

Sometimes lag is unavoidable. All networks have periods of high-load, and all servers at one point or another will not be able to satisfy a request for something as quickly as required. Sometimes clients can’t keep up with it all, and you start to get synchronisation problems, as well as the classic drops in frame-rate.

If you naturally presume the worst-case; that you’ll have quite a lot of lag and network latency all the time, you have a few choices of how your client is designed.

For EU, MA have chosen what we might term as a ā€˜thick’ client – It has pretty much all objects, textures and sounds stored locally, and the server merely references them, and builds the 3D world in the clients memory for it to display.

This method has many advantages, one of which should be significantly reduced lag. When we experience the vast amounts of lag we tend to get these days in EU, it does start to point a finger towards the game design as a whole.

Another game, which we’re banned from mentioning here, manages to use a much thinner client to display hoards of unique objects and textures. This isn’t to say it doesn’t have lag, but the lag is at least contained, and a bit more predictable.

EU seems to lag when it’s recieving data from the server (any inventory related data). This suggests that the process of loading in this data is to the detriment of other server traffic. It also suggests that the PE client is not multi-threaded enough to allow both processes to happen simultaneously.

I’m still at a loss as to why crowded areas like PA can be so slow, even on the highest spec PCs. Avatar appearances are cached on your machine, and only movement (and chat) data is propagated from the server, so I really fail to see why this can be so jerky. It has definitely got worse over the last few VUs.

Avatar appearances, whilst slightly more complex than some other games, are still very generic, and the client should be able to process these with ease.

Imagine one of those ā€˜painting by numbers’ sets, where each part of the portrait is separated, and given a colour number. It’s much the same with an avatar. If you think of it like this:

Avatar Body:
Length - 45
Fitness - 40
Head Size - 35
Colour - &FEFF

Avatar Face:
Face skin style - 10
Nose size 1 - 5
Nose size 2 - 6
Ear size - 5
Ear position - 6

Avatar Hair:
Style # - 20
Size - 20
Colour - $E63F

Hat - style:1, colours:pink shade 5, yellow shade 10
Shirt - style:10, colours: pink shade 9, yellow shade 10
Jacket - …
Undies - …
Pants - …
Shoes - …
Armour Face/Helmet, Gloves, Harness, etc, etc
Weapon/Tool carried

It’s not really much data, is it! You could fit that data into a couple of kilobytes if it were constructed well enough.

I really don’t see an excuse for the large pauses and jerky motions we see - it’s all down to poor design/patching.

another issue that i forgot to mention is that MA has put most data in the socalled .ark files i suspect this might also be part of the problem because everything is being unpacked as we go thers no real buffer execpt for the models allready loaded

that other game in a galaxy far far away dodnt have near the same number of models but they do have alot of skins as i tryed to explain

[QUOTE=Hally]
another issue that i forgot to mention is that MA has put most data in the socalled .ark files i suspect this might also be part of the problem because everything is being unpacked as we go thers no real buffer execpt for the models allready loaded

that other game in a galaxy far far away dodnt have near the same number of models but they do have alot of skins as i tryed to explain
[/QUOTE]

In terms of data size, models tend to be very, very small, whereas textures tend to be much bigger.

Most of the game data is in the .ark files, compacted as you’d expect. Many other games use such a system, yet do not have the same problems with loading and cacheing of files.

Even if a lot of this stuff takes a while to load in, it’s fairly bad design to effectively halt the execution of the program while it happens.

In the early days of 3D, when this was a bit more of an issue, a lot of programmers used a two-model system, with much simplified models loaded in while the work was done. The need for this is long gone, as your average PC can uncompress and extract data at huge rates.

Compare the model complexity, and even the number of items with other games, and you’ll see that PE is lagging well behind in many respects!

[QUOTE=Hally]

that other game in a galaxy far far away dodnt have near the same number of models but they do have alot of skins as i tryed to explain
[/QUOTE]

Hmm.. no.. they have both more models and skins..

Agreed with the other posts.

As for clothes, there are few ā€œtemplatesā€ models, only the skin changes.
The model for a basic pattern shirt is the same for a flame-pattern, or a luna-pattern, or whatever ever shirt you want.
Only the skin changes.

The .ark files are here to save room on your harddisk, they should just offer 2 ways of installing the game: one with .ark compressed files (more lag, but less room on disk) and one withouth compression (less lag, but more room took on disk).

And yea… every avatar is totally unique, so you need to download every little bit of info, not as only templated styles, but as unique values.
Just have a look at avatar creation and you’ll understand me :slight_smile:

As for the model appearing, there IS a queue with priority. Its called clipping. All times that I teleport, I firstly see the ground, then buildings, which both appears in few seconds, and then people.
And by far, people takes about 3-4 minutes to appear completely, when im in a big town like Twin Peaks or PA, so I guess we can take conclusions of those values… :wink: