RENMX

Official website of the Renegades online community

New Java Virtual Machine

Posted by on Dec 30, 2010 |

Today I just wanted to discuss a few changes to our server to increase performance, as many of you are aware Minecraft is written in Java but what you may not know is that the Minecraft server software is also written in Java.

The idea behind Java is “write once, run everywhere” this means you write the software once and gain the ability to execute your software on different operating systems. For example Windows, Linux and Mac OS X. That is the strength of Java.

To get that capability it uses virtualization. Java does this by means of a JVM or ‘Java Virtual Machine’ it sits between your operating system and the Java application you want to run and facilitates the software to work regardless of the operating system it’s being run on.

But it has some drawbacks. Although Sun (and now Oracle) try very hard to optimize the JVM to work on all operating systems and hardware they are also trying to make Java work on the lowest common denominator. Afterall they need software developers to reach the largest audience and this can result in situations where people with very fast or very new hardware (like us on our server) have resources that aren’t being best utilised by the JVM or the software it is running.

So this brings me back to the title of this post. A new JVM. So what’s different? – First of all we are using the more resource intensive Server version of the JVM this has better hardware utilization as it cares less about other programs running on the server. To put it another way the Server version is more greedy but this is a good thing because it’s this greed that will increase our Java software performance.

I’ve also switched us to a Multi-Threaded garbage collector. Just to explain that quickly: In the background Garbage Collection continually releases unused resources back to the system after they have ceased to be used by the program that originally requested them, this is important if performance is to stay linear the longer that the software runs and previously running Garbage Collection in a single thread with Minecraft can cause slow-downs.

And finally I’ve altered our memory heap size so that the game has a larger portion of memory to grow in to as it needs it slowing down the amount of I/O load on the disk (although our disk is also virtualized in Memory this still has an effect on performance) – Our Low and Optimum Heap utilization sizes have also been tweaked so that our Minecraft server is less concerned with low memory usage and more concerned with maintaining an acceptable lag-free experience for players connected to the server.

I hope this post was insightful and goes a way to explain what I’m doing to improve our servers performance. Understanding the issues of running a server from every angle is important and it requires knowledge, skill and dedication.

Thanks for reading and have a great new year!

Read More

Updated Map

Posted by on Dec 27, 2010 |

As some of you may have noticed we’ve been making some changes to our map at http://map.renmx.com such as better updated textures that are more realistic to what you will see in the game (Water, Grass and Tree leafs were updated).

Today I’ve put the final touches on a new addition, thanks to the work of k-zed at the hey0 forums for providing a plugin which outputs player positions to a flat file I’ve been able to hack together a way to include that data inside our map. So now as users move around in our world we now have those player positions represented on our map in real time.

This also means that I’ve broken a rule I made with myself when I started the Minecraft server which was I’d not get involved in coding anything as I knew each update would break our stuff and I’d have to continually maintain anything I wrote. Having said that I believe this is a good modification, although it is basic and without k-zed’s plugin for exporting the data I wouldn’t of done it in the first place, I’ll try to keep it updated as time goes on but I’m not promising anything. In the meantime enjoy! – And yes those icons representing the players is something I made in Photoshop, I hope they are not to obtrusive.

Read More

Merry Christmas

Posted by on Dec 25, 2010 |

From everyone here at Renegades we wish you all a great Christmas and a happy new year.

Read More

Server video

Posted by on Dec 23, 2010 |

I thought it would be a cool idea to share a video of the server made by one of the servers users (Shammy). So without further adieu here is Shammys Video showing the Renegades Minecraft Server

Read More