What UseSSE= value should I use for a Xeon processor?
Rollback Post to RevisionRollBack
http://www.myminecraft.com Survival and creative servers
Teamspeak available, multiple anti-grief measures in place
VIP based whitelist to limit griefing even further.
I'm using most of this on my server, and for the most part its pretty smooth.
What I can't seem to solve is stuttering, it seems to be getting worse. While riding minecarts you really see it, everything is smooth for a minute and then you'll see a slight slowdown, and back to speed right after that.
Right now (while in testing) we have 5-10 people on daily with no impact on performance.
The server has been up for 5 days with monsters =true, animals = false, pvp = true, health = true (Its a vanilla PvP server, and monsters seem to work alright without animals enabled.)
Using hMod with the CombatPvE (Just testing it, so far it seems to do a better job then the server code does), AntiGrief, DeathNotify, FluxWhisper, GreifAlert, LWC, and MineDeep plugins.
Launch code is java -server -Xmx1024M -Xms512M -XX:UseSSE=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar Minecraft_Mod.jar nogui
Specs are AMD Phenom II X3 and 4GB DDR3 with the HD3300 GPU. (SSE=3 seems to give a noticeably better impact on lag than SSE=2.)
I guess the stuttering could be the amount of stuff I have loaded into hMod? Any ideals?
Thanks so much guys... I mashed some of your suggestions together, and I'm now down to 30% CPU while idling, as opposed to 70% ... and 41% memory instead of 80% :biggrin.gif:
Okay cool, so this helps a lot for the server for sure!
One thing though, are there any settings we can do locally for the clients? Whenever I warp to a new area i hear my hard-drive chuggin away as it loads the new area, and the process monitor says java is eatin resources. Minecraft only reports using 11% of resources though. dunno
Rollback Post to RevisionRollBack
Looking for a great server to play on? Wanna spread the word about your server?
Check out my YouTube Channel. Lots of TNT, Lots of Pigs... mmm Bacon! iKickHobbit's Channel
So does anyone have a good Java 7 optimized launch perimeters? running a beast server and very tired of seeing the "Can't keep up messages" because too many chunks are loaded in.
Works great compared to vanilla settings, but I've come across a problem I never had before. Sometimes Minecraft just crashes and gives me the following error:
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at cl.<init>(SourceFile:15)
at fu.a(SourceFile:207)
at f.a(SourceFile:1247)
at cy.b(SourceFile:785)
at hv.b(SourceFile:140)
at cy.a(SourceFile:777)
at hv.a(SourceFile:124)
at hv.i(SourceFile:57)
at net.minecraft.client.Minecraft.i(SourceFile:1131)
at net.minecraft.client.Minecraft.run(SourceFile:595)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 4af8db2b ----------
Shrug, being back on 1.6 my server feels very clunky.
GuardMoony, do you have any tricks to speed up chunk loading to players? On LAN, even with a RAM Disk & gigabit network - chunks still seem to load slowly - any clue what settings (if there are any) that affect chunk loading?
After reading above about Java 7 being faster I immediately switched to it. As far as the optimizations we've been talking about, they all work fine with 7.
I seen this http://blogs.sun.com/theplanetarium/entry/java_vm_trying_a_new -Now I don't know a dang thing about Java, but I tried that CG anyways.
Lo and behold, a lot less "can't keep up!" messages!
I'd want some more of you to look into this, because I don't really know what I'm doing.
After reading above about Java 7 being faster I immediately switched to it. As far as the optimizations we've been talking about, they all work fine with 7.
I seen this http://blogs.sun.com/theplanetarium/entry/java_vm_trying_a_new -Now I don't know a dang thing about Java, but I tried that CG anyways.
Lo and behold, a lot less "can't keep up!" messages!
I'd want some more of you to look into this, because I don't really know what I'm doing.
After reading above about Java 7 being faster I immediately switched to it. As far as the optimizations we've been talking about, they all work fine with 7.
I seen this http://blogs.sun.com/theplanetarium/entry/java_vm_trying_a_new -Now I don't know a dang thing about Java, but I tried that CG anyways.
Lo and behold, a lot less "can't keep up!" messages!
I'd want some more of you to look into this, because I don't really know what I'm doing.
It's smooth as a baby's bottom, and pretty snappy too.
How many players and how big is your mapsize? I'd like to know how smooth it is with your amount of people + map size :smile.gif:
I'm having latency issues. So honestly with a large amount of people I'm not sure how it will go. But as for now, with 5 people it works great.
Our map is 45MB, it seems to be handling it pretty well.
Alright, I'm completely new to this Java stuff. I've been having terrible lag trying to support 4 people on my server. Well, it's not terrible, but there are quite a few lag spikes. Anyway, how do I implement this, like what exactly do I do?
Also, how do I run 64 bit Java? I've got a 64 bit version of Winows 7.
Alright, I'm completely new to this Java stuff. I've been having terrible lag trying to support 4 people on my server. Well, it's not terrible, but there are quite a few lag spikes. Anyway, how do I implement this, like what exactly do I do?
Also, how do I run 64 bit Java? I've got a 64 bit version of Winows 7.
What we are doing is adding start parameters to the minecraft_server.jar file to change Java's default settings.
The .bat file you use to start your server, depending on what wrapper/mod you have is where you add this code.
Lets say your using hMod. You would edit the server_nogui.bat file from this:
@echo off
java -Xms1024M -Xmx1024M -jar Minecraft_Mod.jar nogui
pause
THe server I run has anywhere between 20-60 people on at a time with the map size being 100-200mb. The oldGC for garbage wasnt working too well with us.
http://www.myminecraft.com Survival and creative servers
Teamspeak available, multiple anti-grief measures in place
VIP based whitelist to limit griefing even further.
Thanks
What I can't seem to solve is stuttering, it seems to be getting worse. While riding minecarts you really see it, everything is smooth for a minute and then you'll see a slight slowdown, and back to speed right after that.
Right now (while in testing) we have 5-10 people on daily with no impact on performance.
The server has been up for 5 days with monsters =true, animals = false, pvp = true, health = true (Its a vanilla PvP server, and monsters seem to work alright without animals enabled.)
Using hMod with the CombatPvE (Just testing it, so far it seems to do a better job then the server code does), AntiGrief, DeathNotify, FluxWhisper, GreifAlert, LWC, and MineDeep plugins.
Launch code is java -server -Xmx1024M -Xms512M -XX:UseSSE=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar Minecraft_Mod.jar nogui
Specs are AMD Phenom II X3 and 4GB DDR3 with the HD3300 GPU. (SSE=3 seems to give a noticeably better impact on lag than SSE=2.)
I guess the stuttering could be the amount of stuff I have loaded into hMod? Any ideals?
Here's the line in my serer_nogui.sh:
java -verbosegc -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -XX:SurvivorRatio=16 -Xnoclassgc -Xmn96M -Xmx2500M -Xms2500M -jar Minecraft_Mod.jar nogui
One thing though, are there any settings we can do locally for the clients? Whenever I warp to a new area i hear my hard-drive chuggin away as it loads the new area, and the process monitor says java is eatin resources. Minecraft only reports using 11% of resources though. dunno
Looking for a great server to play on? Wanna spread the word about your server?
Check out my YouTube Channel. Lots of TNT, Lots of Pigs... mmm Bacon!
iKickHobbit's Channel
I can't wait for MC to start being optimized! It's so resource hungry.
I'll set aside time while at work to research the commands more thoroughly.
Works great compared to vanilla settings, but I've come across a problem I never had before. Sometimes Minecraft just crashes and gives me the following error:
Any ideas/suggestions?
I make the Artifact mod.
And I should specify, it's the client that crashes on a separate computer, not the actual server.
I make the Artifact mod.
What differences are you noticing between Java 6 and Java 7?
Trying out Java 6 for the first time in forever, chunks seem to be loading extremely slow (on LAN)
GuardMoony, do you have any tricks to speed up chunk loading to players? On LAN, even with a RAM Disk & gigabit network - chunks still seem to load slowly - any clue what settings (if there are any) that affect chunk loading?
After reading above about Java 7 being faster I immediately switched to it. As far as the optimizations we've been talking about, they all work fine with 7.
I seen this http://blogs.sun.com/theplanetarium/entry/java_vm_trying_a_new -Now I don't know a dang thing about Java, but I tried that CG anyways.
Lo and behold, a lot less "can't keep up!" messages!
I'd want some more of you to look into this, because I don't really know what I'm doing.
I'm running my server with
It's smooth as a baby's bottom, and pretty snappy too.
start /high java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=16 -XX:+UseCompressedOops -Xnoclassgc -XX:UseSSE=3 -XX:+UseAdaptiveGCBoundary -XX:MaxGCPauseMillis=500 -XX:ParallelGCThreads=9 -XX:+CMSIncrementalPacing -Djava.net.preferIPv4Stack=true -XX:NewRatio=3 -Xms9G -Xmx9G -jar Minecraft_Mod.jar nogui
Is the current settings im using ... but perhaps I will take out the ConcMarks
How many players and how big is your mapsize? I'd like to know how smooth it is with your amount of people + map size :smile.gif:
I'm having latency issues. So honestly with a large amount of people I'm not sure how it will go. But as for now, with 5 people it works great.
Our map is 45MB, it seems to be handling it pretty well.
Also, how do I run 64 bit Java? I've got a 64 bit version of Winows 7.
What we are doing is adding start parameters to the minecraft_server.jar file to change Java's default settings.
The .bat file you use to start your server, depending on what wrapper/mod you have is where you add this code.
Lets say your using hMod. You would edit the server_nogui.bat file from this:
To this:
So when Java starts up the .jar file it uses the options you provide. I suggest reading the last few pages to know what all of those parameters mean.