View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007423||Multi Theft Auto : San Andreas||Client||public||2012-11-11 21:11||2013-05-10 01:24|
|Target Version||1.3.2||Fixed in Version||1.3.2|
|Summary||0007423: very slow streaming of Elements|
on a server with lots of elements, some objects stream in very slowly
|Steps To Reproduce|
fill a server with objects, around 20000 - 30000 should do it
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
|Tags||No tags attached.|
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.
well this was not an issue a while back (around 6 months ago)
Test resource: http://lss-rp.pl/_/7423.zip
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.
I have some rather exotic MTA setup, so it would be nice if anybody else could check that with this resource.
I think this has been fixed with http://code.google.com/p/mtasa-blue/source/detail?r=5259