Nice work! Will get it a shot on my priv server. Still deciding between loading the VM with 2Gb of memory or 1Gb of memory, it's only ever two players max (me and my lovely GF) so I wonder if I'll ever even come remotely close to needing 2Gb....anyone care to chime in on what the memory size is actually used for? (Map generation/loading, players, etc?)
yes java got multicore support. BUT minecraft server does not have mutlicore support. The only thing whats happing is that GC will use the other cores for garbage collection. But that does not demand a lot.
Until notch builds full support in the server implementation you will not get any big advantage. Same goes with hyperthreading. It dusnt realy give a extra core. it just gives a extra data queue for a core. ( +- 30% gain )
Been snooping arround the code. And actualy i see a server thread and gui thread. most server dont run a gui so basicly its all trow into 1 thread. wich only makes 1 core possible at running it.
I am curious why you are advising to assign a maximum of 8 GB of ram for a 24 GB server? Our server runs with 16GB, and I've been trying to optimize things. I'm actually running Java 7 b117, to see if that would help, not sure if that changes parameters.
Wouldn't something like Xmx around 14GB, Xms around 12GB make more sense for us? It's a fully dedicated MC server that peaks around 88 players during the busy hours.
Yes it can be better for you to have higher settings. As suggested above. Just look at your average usage. And put Xms a few GB lower then it or equal and Xmx a few higher.
Also If you got multi core. Add -XX:ParallelGCThreads=2 or the amount of cores -1 ( THIS DOES NOT make minecraft multicore ) it only makes sure the GC of java kan use more then 1 core. witch will lower GC times witch will lower lag-spiking.
so how does one point to the SERVER jarva using a windows machine. mine tells me server jar does not exisist it prob does not at least I have to give the bat file a directory for java else it cant find it.
As for 64 bit version I managed to find it and will see how that works.
I tried the other options and got errors about commands not existing, so removed them.
I'm still getting [WARNING] Can't keep up!, etc.
I changed my CPU clock to not autothrottle. I've adjusted the max memory up to 4GB and still get this warning. Java JRE and JDK are up to date and running 64 bit. I uninstalled old Java JRE.
Running Win7 on a Dual Core at 2.9GHz, with only 4GB RAM. Should I be expecting less from this machine? It's a regular desktop and not meant to run as a server of any type. I really just want the chunks to appear quicker. How do I get quicker chunkies?
Strange enough, i still see "warning can't keep up" messages on the server log - no matter what plugins i have enabled and what's going on. Does anyone else notice this? I'm equating that message with lag on the server but cannot seem to find a way to stop it.
As i look into this, my launch perimeters seem to be crashing my server.. they are the ones i posted above.. I have narrowed it down to be either the router or the way im launching.. when launching default with the gui - it appears to be more stable than launching through the .bat with no gui (and the java launch perimeters.)
This is unnerving. Does anyone have a good lunch perimeter for a server holding 50+ people on a machine with 12 physical cores / 16gbs ram?