View Issue Details

IDProjectCategoryView StatusLast Update
0007423Multi Theft Auto : San AndreasClientpublic2013-05-10 01:24
ReporterkwksndAssigned Toccw 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.3.1 
Target Version1.3.2Fixed in Version1.3.2 
Summary0007423: very slow streaming of Elements
Description

on a server with lots of elements, some objects stream in very slowly
it can sometimes take over 30 seconds for a building or object to apear

Steps To Reproduce

fill a server with objects, around 20000 - 30000 should do it
leave the area and return

Additional Information

i have 12 gigs of ram on my client pc so thats not the issue

i asked ccw to join my server (running on a dedicated quad core machine) and he confirmed this issue with very slow streaming

TagsNo tags attached.

Relationships

related to 0005932 closed New issues Slow loading 

Activities

W

2012-11-12 10:28

viewer   ~~0017850

Correct me if im wrong, but I think that server specs don't matter, as the objects are sent to client during the connection, and the whole streaming is done at client side.

It may be possible to further optimize streaming algorithm, so it will behave better at 20k-30k objects, but then someone will decide to put 200k objects on his server.

The solution to this may be to implement custom object streamer via scripting, so that server checks which objects are near to player, sends them to player, and destroy them after leaving some area, but it will provide a strain on the server.

kwksnd

2012-11-19 23:39

reporter   ~~0017868

well this was not an issue a while back (around 6 months ago)
this started happening after something was changed and its been a problem ever since

W

2012-11-22 13:35

viewer   ~~0017870

Last edited: 2012-11-22 13:35

Test resource: http://lss-rp.pl/_/7423.zip
It creates 50x50x10 = 25000 objects near 0,0,0
Type /7423 after starting the resource to teleport near them.

Keep in mind, that connecting to a server with this amount of objects will take some time - my client hangs for about a 3 minutes during connection.

I've tested this with MTA 1.1.1 and MTA 1.3.1 and in my comparision, the rate of objects appearing is the same.

Screenshots:
1.1.1 - http://i.imgur.com/lXx6a.png
1.3.1 - http://i.imgur.com/x9XhS.png

I have some rather exotic MTA setup, so it would be nice if anybody else could check that with this resource.

ccw

2013-04-27 19:31

administrator   ~~0018408

I think this has been fixed with http://code.google.com/p/mtasa-blue/source/detail?r=5259

Issue History

Date Modified Username Field Change