The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 871 errorHandler->error



Hello There, Guest!
Reason behind lag, crashes etc.
01-04-2011, 21:18, (This post was last modified: 01-05-2011, 15:07 by yottabyte.)
Post: #1
Reason behind lag, crashes etc.
I might not be the only one who has lately experienced a lot of lag and crashes. (I know since I'm the one who has to start the server when it goes down.)

It is not the hardware that creates the lag, the server has been running perfectly fine with no lag earlier. The reason to this is hMod, the oh-so-very popular wrapper for the minecraft server. It is not very well written and handles everything in one thread, instead of having multiple threads. Imagine a store with a lot of customers but there's only one check-out. Of course you could make that one check-out work faster and better (upgrade the server a lot) but that doesn't solve the problem. That's how hmod works, instead of having multiple check-outs to balance the server.
You know those servers where there are no mods, no grief protection, no whitelist etc. (known as vanilla)? Those servers are NOT running hmod and therefore are not having as bad lag.

Now to fix this problem, a team of developers started a new project, known as bukkit. It runs the server in multiple threads and there's just a bunch of stuff that's better than hMod. As soon as a stable release is out, we are changing to it.

EDIT: Quote from hey0 himself
dateline= Wrote:Bukkit is \"hMod v2\" in a sense. Thus hMod \"v1\" will be no more, no longer updated (unless someone else wants to, I certainly don't). hMod definitely needed a re-write, badly.

I hope this explains the situation Smiley

Ps. this is also a reason why we delay the map reset, since if we code new stuff for hMod now, we would have to remake it once we change over to bukkit.

Reply


Messages In This Thread
Reason behind lag, crashes etc. - by yottabyte - 01-04-2011, 21:18

Forum Jump:


Users browsing this thread: 1 Guest(s)