Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Mar 29, 2009 9:41 pm 
Offline
Newbie

Joined: Sun Mar 29, 2009 9:31 pm
Posts: 4
Hi, I'm a game programmer that's been working on a project with my friend to create a multiplayer online version of his board game. We're using Smartfox Server for the game server, and also have a forum (phpBB) which is linked with the game. We're both still students and don't have that much money to spend, especially as ad revenue is slow and it's hard for us to spare the 30-40 dollars a month for hosting. Normally, I'd go with regular web hosting, but due to the game server, that's not an option.
The question is, how much RAM do I need? Disk space is trivial, since I don't forsee getting more that a few gigs of space filled up in the first place. However, I'm really worried about RAM. How much do I need?
Thanks!


Top
   
 Post subject:
PostPosted: Sun Mar 29, 2009 9:45 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Upgrades and downgrades are relatively painless (a few minutes of downtime and that's it), so I'd start with the 360 and see how it goes. If it turns out you need more RAM, open a ticket to move up to a 540 (or 720, or...) and it'll be done.


Top
   
 Post subject:
PostPosted: Sun Mar 29, 2009 10:04 pm 
Offline
Newbie

Joined: Sun Mar 29, 2009 9:31 pm
Posts: 4
Yes, I know that Linode is really easy to upgrade or downgrade, but again, I have little money and basically can only afford the 360. If it turns out the 360 is not enough, I don't want to have spent 20 dollars on nothing. In that case, if the 360 is not enough, I'll stick with my current plan: using my own personal computer as the game server. (which is really, really not what I want)


Top
   
 Post subject:
PostPosted: Sun Mar 29, 2009 10:50 pm 
Offline
Senior Member

Joined: Thu Apr 03, 2008 12:02 am
Posts: 103
AOL: derole
well, how much RAM does your game server need ?
running a php powered site shouldn't take more than 100MB (depending on your exact setup, all depending on choice of web server, cache, DB, etc etc) so that leaves you with about 200 MB for your game server.
you probably have a test setup at home, no ?
so go and check how much resources it needs and then see if that fits into a Linode 360 if you subtract the memory needs for the web server.


Top
   
 Post subject:
PostPosted: Sun Mar 29, 2009 11:39 pm 
Offline
Newbie

Joined: Sun Mar 29, 2009 9:31 pm
Posts: 4
Well, it's not the game server I'm worrying about, but the forum. I've read one too many stories about 256 MB RAM VPS's failing with a basic forum, and 384 is only 50% more. We don't get too many hits now, but that's mainly because the game is still in development and on a free host.


Top
   
 Post subject:
PostPosted: Mon Mar 30, 2009 12:22 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
This is a Linode 360 running Ubuntu 8.04, Apache 2 using the prefork MPM, and a PunBB forum:
Code:
$  free -m
             total       used       free     shared    buffers     cached
Mem:           360        338         21          0          6        246
-/+ buffers/cache:         85        274
Swap:          255          0        255


MySQL is probably the biggest chunk out of that 85MB. The system also runs sshd and Postfix, but these contribute minimally to memory usage. I don't think I've ever seen swap get touched.

Of course, your results may vary based on differences between phpBB and PunBB and on traffic load (this server sees ~10,000 pageviews/day and ~45,000 raw hits/day).


Top
   
 Post subject:
PostPosted: Mon Mar 30, 2009 12:31 am 
Offline
Newbie

Joined: Sun Mar 29, 2009 9:31 pm
Posts: 4
OK, cool. I probably won't be getting that many views for a while, and when I do, ads will probably take care of most of the cost. Thanks!


Top
   
 Post subject:
PostPosted: Fri Apr 03, 2009 4:09 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
batterytime wrote:
In that case, if the 360 is not enough, I'll stick with my current plan: using my own personal computer as the game server. (which is really, really not what I want)

Apache, PHP, sshd, Postfix, Dovecot:
Code:
jed@lachryma:~$ free -m
             total       used       free     shared    buffers     cached
Mem:           349        171        177          0         28         98
-/+ buffers/cache:         44        304
Swap:          511          0        511

360 stretches.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group