SA-MP Forums Archive
PC Server hardware - Which to choose to run your gamemode? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: PC Server hardware - Which to choose to run your gamemode? (/showthread.php?tid=659539)



PC Server hardware - Which to choose to run your gamemode? - v1k1nG - 06.10.2018

Ok so, I am wondering how to wisely spend my money to get a VPS and run a SAMP server on it.
I can see there are different types, with different RAM, CPU, HDD.

My gamemode will have a maximum of 70 player slots, would it run smoothly on this linux server?
1 vCPU,1 GB RAM,20 GB SSD Storage


Re: PC Server hardware - Which to choose to run your gamemode? - Ntmx - 06.10.2018

Yeah its fine


Re: PC Server hardware - Which to choose to run your gamemode? - KinderClans - 06.10.2018

All depends by how much is optimized your script.


Re: PC Server hardware - Which to choose to run your gamemode? - v1k1nG - 07.10.2018

Quote:
Originally Posted by KinderClans
View Post
All depends by how much is optimized your script.
Not using loops where they're not needed (most loops are in some commands to give things, like money/ammo etc) and at the moment, there is no huge loop with tons of code inside it. I'm also avoiding to use many if/else sections and trying to use ternary operators or switch instead (when possible), and checking every log line for amx backtraces everytime new code is added.


Re: PC Server hardware - Which to choose to run your gamemode? - Private200 - 07.10.2018

Loops do not even matter. It is all up to the plugins you use. Plugins like MapAndreas and ColAndreas might require more memory usage. Even though with them the memory usage goes to about ~200MB (RAM), so I guess you might practically be fine.

You gotta check it up whether it can run, get a trial first.


Re: PC Server hardware - Which to choose to run your gamemode? - Spoookymon - 08.10.2018

LAMP is uses about 520 (Debian 6, 7) and 800mb on Debian 8, and about 1 GB on Debian 9, ( ram )
Samp is mostly single threaded, so you should be fine with 1 core. ( depends on plugins you use )

You can run 200 player server with 2c 3gb ram, no problem.