Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Support > Dedicated Server
FAQ Community Calendar

Dedicated Server Discuss technical issues related to hosting your own servers.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2011, 05:09 AM
aloha.pk aloha.pk is offline
Junior Member
 
Join Date: Apr 2011
Posts: 16
Default required resources per slot?

the wiki states 3KB/s per player slot, but what about CPU and RAM?

do the resources per slot increase as the total number of connected players increases? i.e. does a full 40 slot server use more resources per player than a full 20 slot server?

roughly what kind of setup is required for a full 40 slot server? and 24 slots? and 14 slots?

doing some number crunching so any info you can share from experience would be greatly appreciated!
Reply With Quote
  #2  
Old 04-04-2011, 05:21 AM
Karl Karl is offline
Administrator
 
Join Date: May 2008
Posts: 1,206
Default

MEM: Altitude servers use 128MB of Java heap. Which equates to ~150MB of total system ram used. The start up of the JVM can take a lot of RAM ~300MB which can cause problems on virtual servers with less than 512MB of ram.

CPU: Running the 3 official servers in one process the CPU usage averages 5% (of a single core so really 1.25%) usage on a Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz... We've never had anyone not have enough processing power to run an Altitude server.

Adding bots to a server will increase the CPU usage significantly.
Reply With Quote
  #3  
Old 04-06-2011, 08:42 PM
aloha.pk aloha.pk is offline
Junior Member
 
Join Date: Apr 2011
Posts: 16
Default

what kind of problems does the start up of JVM cause on a VPS with less than 512MB?

does each Altitude server use 128MB of Java heap regardless of the number of players per server? meaning a 14 slot server and a 40 slot server would both use 128MB of Java heap each (300MB of total system ram together)?
Reply With Quote
  #4  
Old 04-07-2011, 08:22 AM
Karl Karl is offline
Administrator
 
Join Date: May 2008
Posts: 1,206
Default

A single server launcher (which manages 1 or more Altitude servers) will never exceed ~150MB of RAM usage. If you try to host too many servers in a single server launcher instance 1 or more of the servers will crash with an out of memory error.

If your VPS doesn't have sufficient RAM the server launcher will fail to start with an out of memory error.
Reply With Quote
  #5  
Old 04-07-2011, 11:46 PM
aloha.pk aloha.pk is offline
Junior Member
 
Join Date: Apr 2011
Posts: 16
Default

ok thank you
Reply With Quote
  #6  
Old 04-09-2011, 10:46 PM
aloha.pk aloha.pk is offline
Junior Member
 
Join Date: Apr 2011
Posts: 16
Default

i followed the instructions here:

http://altitudegame.com/forums/showthread.php?t=1547

and the server is eating up ~300MB of memory long after (30+ mins) launch...

is 300MB the norm now? or should it still be using only about 150MB?
Reply With Quote
  #7  
Old 04-09-2011, 11:42 PM
Karl Karl is offline
Administrator
 
Join Date: May 2008
Posts: 1,206
Default

how are you checking memory usage? The official servers have been running a long time and that's all they take.
Reply With Quote
  #8  
Old 04-10-2011, 12:52 AM
aloha.pk aloha.pk is offline
Junior Member
 
Join Date: Apr 2011
Posts: 16
Default

top



when the altitude server isn't running usage is ~19MB
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:11 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC