SAMP CPU usage
#1

Hello!

I have a question about SA-MP Servers.
Some Servers has big amount of players, how this can be held?
Since 0.3e max amount is 1000.


Example Test Server

Intel® Core™ i7-2600 Quad-Core
16 GB DDR3 RAM
1 GBit OnBoard with 100 MBits

for only SA-MP Server, Webspace and Teamspeak.

What happen`s if a Server reach >100% CPU?
Is this Root-Server ok for 500 Slots SA-MP, Forum and 250 Slots Teamspeak?
Or its to big/to small?
Reply
#2

Actually, CPU usage depends on your script, the better optimized the less CPU, that should be more then enough to run what you're wanting.
Reply
#3

You can run this perfectly, I ran a 500 slot server and a 512 slot teamspeak server fine with no lag.
Reply
#4

Thanks for answers

Quote:
Originally Posted by Alex Valdez
View Post
You can run this perfectly, I ran a 500 slot server and a 512 slot teamspeak server fine with no lag.
How much CPU usage you need with this full server?
And i think, my server is optimized, it need a`little more as the blank scripts in the SA-MP server package.

If the server reach >100% it crashes? Or uses then other cores?
Reply
#5

Quote:
Originally Posted by Siedler
View Post
Thanks for answers



How much CPU usage you need with this full server?
And i think, my server is optimized, it need a`little more as the blank scripts in the SA-MP server package.

If the server reach >100% it crashes? Or uses then other cores?
CPU usage depends on the script. SA:MP uses a single thread only so only one core (I suggest disabling hyperthreading on that CPU if you do start getting 500+ players). That being said, the CPU you listed should be fine. The Sandy Bridge CPUs can handle 500-1000 players without a problem given you dont overload on Disk I/O. Web and TS3 should be fine as well, they don't use that much traffic (if you find you need to optimize your web, run nginx instead of apache).
Reply
#6

i want to mention that as soon your CPU usage goes upto 100%, it will simply run the script on slower speed: the server will send all data to players with some delay, and the data sent from players to the server will get processed at a later time aswell.
like if some players are racing, then the checkpoints will popup later, and when entering a checkpoint, it will get recognized at later time..
the most lag causing routines are player-loops - they can get called quite often (let 500 players type /wave in the same second).
Reply
#7

thanks for answers!
then im buying this server for only 500 slot SA:MP and 500 slot Teamspeak3.
for the webspace im buying a vserver.

is the connection also good enough?
1 GBit OnBoard with 100 MBits
or i need 1000 MBits (1 GBits)
Reply
#8

That connection speed is perfectly fine for hosting websites.
Reply
#9

Quote:
Originally Posted by ColorHost-Kevin
View Post
That connection speed is perfectly fine for hosting websites.
i mean, for the Game Server (SA:MP, TS3).
for the web i know, that is good
Reply
#10

A regular SAMP server doesn't use more than about 30 mbits with 500 players online. And don't quote me on that, I just say that's likely the highest it would go.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)