Lag

The worst monsters in the Hearthlands warp the fabric of space and time..
User avatar
Sarge
Posts: 2059
Joined: Fri Oct 09, 2009 3:41 am

Lag

Post by Sarge »

Holy shit, this lag is becoming impossible :(

Jorb/Loftar, please tell us you guys are working on it?
factnfiction101 wrote:^I agree with this guy.
sikgamer
Posts: 171
Joined: Fri Oct 30, 2009 8:50 pm

Re: Lag

Post by sikgamer »

I can't even connect at all :P
sikgamer
Posts: 171
Joined: Fri Oct 30, 2009 8:50 pm

Re: Lag

Post by sikgamer »

Wow I just connected and it really is horribly slow.
User avatar
Fluffy
Posts: 363
Joined: Wed Aug 12, 2009 5:16 am

Re: Lag

Post by Fluffy »

I'm having no lag right now >.>
Your ad here
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Lag

Post by loftar »

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
User avatar
Fluffy
Posts: 363
Joined: Wed Aug 12, 2009 5:16 am

Re: Lag

Post by Fluffy »

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. :)
How much RAM does the server use/need?
Your ad here
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Lag

Post by loftar »

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.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
sikgamer
Posts: 171
Joined: Fri Oct 30, 2009 8:50 pm

Re: Lag

Post by sikgamer »

500-900MB to run a ~50 player at once server with huge amounts of land?
Wow that is really optimized.
User avatar
Fluffy
Posts: 363
Joined: Wed Aug 12, 2009 5:16 am

Re: Lag

Post by Fluffy »

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 :lol:
Your ad here
User avatar
Lokito_fp
Posts: 36
Joined: Wed Aug 12, 2009 11:36 pm

Re: Lag

Post by Lokito_fp »

i agree with fluffy sometimes i get a massive lagspike when playing by 2 or 3 mins
To do list:
1-Booze
2-more booze
3- even more 1 and 2
4- plant and get seeds for bread
5-back to booze

Return to “Bugs”