Jorb/Loftar, please tell us you guys are working on it?
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Lag
There are a few reasons for lag, but the main one recently has been that the server just doesn't have enough RAM. I'd like to fix it, but we're always forgetting to buy new RAM. :)
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Fluffy
- Posts: 363
- Joined: Wed Aug 12, 2009 5:16 am
Re: Lag
How much RAM does the server use/need?loftar wrote:There are a few reasons for lag, but the main one recently has been that the server just doesn't have enough RAM. I'd like to fix it, but we're always forgetting to buy new RAM.
Your ad here
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Lag
As it is now, the game server process itself uses somewhere between about 500-900 MB depending on how much of the map is loaded; but then, the same server also runs Apache, which takes about as much, depending on load (it starts new processes on demand); and then there are a few miscellaneous processes running on it as well, of course. It has 1 GB physical RAM, so it usually uses about 500-1200 MB or so of swap.
That's usually quite fine -- as long as it's just the game server, a little bit of swapping is fine and it's hardly affected at all -- but when Apache starts being hit too badly as well, it starts thrashing quite a bit from time to time.
In other words, another GB or so of RAM wouldn't exactly hurt performance. :)
It should be mentioned that I've also been considering moving Apache to a separate machine, but the network infrastructure at Jorb's is a bit lackluster, and I haven't bothered fixing it up.
That's usually quite fine -- as long as it's just the game server, a little bit of swapping is fine and it's hardly affected at all -- but when Apache starts being hit too badly as well, it starts thrashing quite a bit from time to time.
In other words, another GB or so of RAM wouldn't exactly hurt performance. :)
It should be mentioned that I've also been considering moving Apache to a separate machine, but the network infrastructure at Jorb's is a bit lackluster, and I haven't bothered fixing it up.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Fluffy
- Posts: 363
- Joined: Wed Aug 12, 2009 5:16 am
Re: Lag
Really only about a gig? I thought you'd need more for a server.. Then again, H&H has a small player base right now.
You'd better get a shitload more RAM before you trust that map generator of yours to create an infinitely large map
You'd better get a shitload more RAM before you trust that map generator of yours to create an infinitely large map
Your ad here