Loading objects lags
#6

Quote:
Originally Posted by TopShooter
Посмотреть сообщение
Does the whole server crash, or only your connection doesn't respond and lags out? If only your connection, then you should either remove some maps or increase your ackslimit.
Quote:
Originally Posted by Vince
Посмотреть сообщение
The SA-MP server is single threaded and can only do one thing at a time. If it's processing a file it can't handle chats, commands, timers, updates, ... anything really. Loading from disk is inherently and notoriously slow and should probably be avoided as much as possible.

Split it up in chunks of 500 objects or something if at all possible, or use an entirely different system that doesn't rely on files. A database might be somewhat faster, but 10,000 objects is still a lot.
It sounds like a good idea to load objects in chunks.. but if I will load the objects in chunks of 1000, it will make
a lags in the server?
and as I saw there are some server are loading objects and there aren't any lags.. and I'm talking about DM map
who includes 10k~7k objects...

EDIT:
This is not good method, because it jams the system..
Maybe you got another idea?
Reply


Messages In This Thread
Loading objects lags - by Eden3z - 27.07.2016, 21:00
Re: Loading objects lags - by Eden3z - 29.07.2016, 11:30
Re: Loading objects lags - by Eden3z - 29.07.2016, 19:29
Re: Loading objects lags - by Vince - 29.07.2016, 19:47
Re: Loading objects lags - by Logic_ - 29.07.2016, 19:48
Re: Loading objects lags - by Eden3z - 29.07.2016, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)