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
01-04-2011, 21:44,
Post: #2
Re: Reason behind lag, crashes etc.
Good to know. I just hope people read this instead of complaining.
Reply
01-04-2011, 21:52,
Post: #3
Re: Reason behind lag, crashes etc.
Nice you finally found the reason of the lagg  Laugh

Like to join a cool city who is soon growing out to the second biggest city of Helvantar? And has order and rules?
Join Venezia: http://kiwike.se/forum/showthread.php?tid=511
Reply
01-04-2011, 21:59,
Post: #4
Re: Reason behind lag, crashes etc.
Good to hear, yotta. I'm all for a solution to the lag we've been experiencing. Hopefully the mod authors start supporting it quickly.
Reply
01-04-2011, 22:22,
Post: #5
Re: Reason behind lag, crashes etc.
I figured it was something with the threads but I diddn't know exactly how it all worked haha

[Image: eJwVjDEKgDAQBPt7xWEvGEV_IFgIFglYRxPIQbzI...mFIoE~.png]
Reply
01-05-2011, 09:48,
Post: #6
Re: Reason behind lag, crashes etc.
Actually more than half the team of developers are from hey0.

They helped write code after the initial release though... So that's why it acts the way it does, hey0 wasn't really that smart when he did singlethreading I mean cmon, you can run the server on like 6-cores I'm sure (Atleast..) (That's alot more threads than 1)


So this makes any server basicly run at the speed of a single or dual core.
Ram is just helping it thread faster.



Bukkit has already released API source code and there has been mod's made for bukkit aswell as some ported over. (BEFORE ITS EVEN RELEASED!)

I highly inticipate the new type of server software.
Easily maintainable and easy to configure. Install a mod with a press of a button!

The new API btw, is way way way way way cleaner and easier to work with, from the looks of it.

Took 5hrs after the initial post for iconomy to be ported over.


This will make it easier for me, and yotta since  I guess he is gonna help code. Concentrated To make the server way better, oh and bukkit less crashes? faster with no lag? based on the amount of cores you have running? This will be better no world saves every 20seconds -.-
Reply
01-06-2011, 00:33,
Post: #7
Re: Reason behind lag, crashes etc.
Really can't wait!
Reply
01-08-2011, 18:43, (This post was last modified: 01-08-2011, 18:46 by minecr4ft.)
Post: #8
Re: Reason behind lag, crashes etc.
dateline= Wrote:When we originally decided to announce Bukkit, we were hoping to get some early feedback on how things should work and what we should be doing. Suffice to say, we've gotten more than enough of that thanks to the GREAT support shown by everyone within the Minecraft community! We completely understand that everyone is worried about whether or not Bukkit will be a good replacement or an improvement on what hMod has offered you in the past and are hoping to address any questions you may have as soon as we can get to them.

One of the more pressing questions we've gotten from people is a very important one that we'd like to address now:

Q: When will Bukkit be ready?
A: We're pushing very hard for a preview releases within the next few days. This type of release will only give you a SMALL taste of what Bukkit has to offer but will be a working build everyone can play with.

Once we have that out, the next step in our roadmap will be to get a fullly functional release out with complete support for all we have planned, including integration with our Plugin Repository, fill.bukkit.org

We'll be answering more questions soon but I hope this answers one of the most important ones in the meantime.

Thanks again for the support, we really appreciate it!

Yay!

Reply
08-03-2011, 08:16,
Post: #9
RE: Reason behind lag, crashes etc.
Troll even more NECRO! You should make a rule were any sort of necro acts they are banned from the forums. Just my 4 cents
Reply
08-03-2011, 09:49,
Post: #10
RE: Reason behind lag, crashes etc.
RRRRRRAAAAAAAAAAAAAGGGGGGGGGEEEEEEEEEEEEE
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)