Could you offer me a good layout with a server with 24 gigs of ram 8 cores. Now Minecraft at this time not stable enough on the CPU to even get that high for multi cores as far as I know. So it's pointless to allocate all 24 gigs I been doing I think 16 gigs I keep 2 gigs for the os 4gigs for the world map (ramdrive) and 10 gigs for the server.
Anyways I was wondering what would the best command line look like for a server with lots of cores and lots of ram if it even matters?
Seems like performance has been hurt quite a bit from the Boo update, especially if Monsters=true and hellworld=true.
Indeed I find my self getting frequen "cant keep up" messeges since this update and we don't even use hell or monsters, But Notch has announced that there is a memory leak in the current client effectin the lighting that seems to put generate lighting on a indeffininate loop. he may or may not have patched it out but as to my understanding it is what is stressing the cpu's on the server end as well.
Quote from sk89q »
Applied to your entire command line, it may look like this:
You might want to fix your Java there mate, other wise a lot people will endup with messegs saying it cant find java
---------------------------------------------------------------------------------------------------------------------------------
I will give this a shot. The update has really had a impact on our server, and we dont even use monsters
In trying this, my system is telling me that there is "no 'server' JVM at '...path\jvm.dll'." I assume that I need to grab a different version of Java for this. Can anybody tell me which one?
EDIT: It does work fine without the "-server" switch. But I would also like to use that if it will help improve performance.
Try re-downloading Java. I don't know. Running FreeBSD and not Windows here :smile.gif:
Quote from Kane_Hart »
Could you offer me a good layout with a server with 24 gigs of ram 8 cores. Now Minecraft at this time not stable enough on the CPU to even get that high for multi cores as far as I know. So it's pointless to allocate all 24 gigs I been doing I think 16 gigs I keep 2 gigs for the os 4gigs for the world map (ramdrive) and 10 gigs for the server.
Anyways I was wondering what would the best command line look like for a server with lots of cores and lots of ram if it even matters?
Give it 1-2 cores for the GC but there's not much you can do beyond that. Since Minecraft is largely single-threaded, there's not much you can do. RAM allocation obviously depends on how many players you have.
Dont mind the low mem :wink.gif: its just a small test server for max 5 people or so.
-verbosegc is a command to check your garbage collector. you will see the output in console.
-Xnoclassgc makes it so that the GC will not unload classes ( unless it has no choice ) keeps the server speedy :smile.gif:
-XX:SurvivorRatio=16 (default 32) is the space for young elements. 32 is to big for minecraft. ( will take memory, without filling it ) be carefull to small will crash servers to big = memory monster :tongue.gif:
What would you set it up if you have a server with 24 gigs of ram and its 100% dedicated to Minecraft. Would allocating to much be still a waste?
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?)
I still use 1 core cpu like a *****. How come so many people say hey Kane if you use 64bit java like you have been from day one it has multicore support. Unless I'm doing something wrong?
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.
Well I don't know what Notch has done to SMP lately...just impossible to keep 80 players online lagfree for 2 hours or more since recently, with 16 GB ram, YAWN.
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?
the stuff id on my home pc. currently at work :tongue.gif:. And because its friday i aint going home soon :wink.gif: so ill post it as soon as i can :smile.gif:
@ kane_hart you should update your site :wink.gif:
my site does suck :sad.gif: and does need updates.
Anyways I was wondering what would the best command line look like for a server with lots of cores and lots of ram if it even matters?
Check out my Let's Play Series:
Indeed I find my self getting frequen "cant keep up" messeges since this update and we don't even use hell or monsters, But Notch has announced that there is a memory leak in the current client effectin the lighting that seems to put generate lighting on a indeffininate loop. he may or may not have patched it out but as to my understanding it is what is stressing the cpu's on the server end as well.
You might want to fix your Java there mate, other wise a lot people will endup with messegs saying it cant find java
---------------------------------------------------------------------------------------------------------------------------------
I will give this a shot. The update has really had a impact on our server, and we dont even use monsters
Try re-downloading Java. I don't know. Running FreeBSD and not Windows here :smile.gif:
Give it 1-2 cores for the GC but there's not much you can do beyond that. Since Minecraft is largely single-threaded, there's not much you can do. RAM allocation obviously depends on how many players you have.
That looks right.
Check out my Minecraft server.
What would you set it up if you have a server with 24 gigs of ram and its 100% dedicated to Minecraft. Would allocating to much be still a waste?
Check out my Let's Play Series:
Damn son, 512GB? Looks like I need to up my settings!
Check out my Let's Play Series:
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.
We actively participate in the MC SMP global bannning system. Join up!
We actively participate in the MC SMP global bannning system. Join up!
@echo off
"%ProgramFiles%\Java\jre7\bin\java.exe" -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=16 -Xnoclassgc -XX:ParallelGCThreads=2 -Xmn512M -Xmx8192M -Xms1536M -jar Minecraft_Mod.jar nogui
pause
It supports upwards of 60-70 players. has dual hex cores.
If there's anything that could be tweaked for better performance, please let me know :wink.gif:
As for 64 bit version I managed to find it and will see how that works.
This is my server_nogui_x64.bat setup
"%ProgramFiles%\Java\jre6\bin\java.exe" -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -Xmx1024M -jar Minecraft_Mod.jar nogui
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?
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?
Any way to get a list of what all these these flags do?
Please do...your info about this stuff makes my server happy :smile.gif:
yeah looking forward to this :wink.gif:
Check out my Let's Play Series:
my site does suck :sad.gif: and does need updates.
Check out my Let's Play Series: