Forums - Open Redstone Engineers
Server parameters improved ftb to 100% cpu to 10%-20% - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html)
+--- Forum: General computing and engineering (https://forum.openredstone.org/forum-66.html)
+--- Thread: Server parameters improved ftb to 100% cpu to 10%-20% (/thread-3445.html)



Server parameters improved ftb to 100% cpu to 10%-20% - kil98q - 05-09-2014

"C:\Program Files\Java\jre7\bin\java" -server -Xrs -Xmx1G -XX:ThreadPriorityPolicy=42 -XX:+TieredCompilation -XX:TargetSurvivorRatio=90 -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=15 -XX:+UnlockExperimentalVMOptions -XX:+UseBiasedLocking -XX:UseSSE=3 -XX:+UseCodeCacheFlushing -XX:+UseThreadPriorities -XX:+UseFastAccessorMethods -XX:+AggressiveOpts -XX:+ReduceSignalUsage -XX:+UseInterpreter -XX:+UseFastEmptyMethods -XX:+UseSharedSpaces -XX:AllocatePrefetchStyle=1 -XX:+AlwaysCompileLoopMethods -XX:SharedReadOnlySize=50m -XX:+UseConcMarkSweepGC -XX:+RewriteFrequentPairs -XX:+OptimizeStringConcat -XX:+CMSCleanOnEnter -XX:+UseSplitVerifier -XX:+UseInlineCaches -jar Server.jar nogui

I have been searching for multiple ways to improve the java performance for the well known game minecraft as we know it is very inefficient i have searched before with no luck but than i was running a normal computercraft server and then a error apeared the server didnt seem to use more than 5% of the cpu usage so i was very intrested backed up the log files and began researching again after searching for straigt 4 hours i came across a bunch of java parameters i decided to try it mostly that doesnt work but this time it gave me a great perfomance im still not sure if it is actually stable you might be instrested in the source so here is the link where i have found these parameters from http://www.minecraftforum.net/topic/1874325-java-jvm-argument-fps-boost-feedback/


RE: Server parameters improved ftb to 100% cpu to 10%-20% - Apuly - 05-09-2014

For the people who are wondering, to log file shows the error that occurred which caused the server to run at about 5%. It happened just before loading the default dimensions (also known as overworld). Kil and me aren't 100% sure what it does, or what caused it, but if you were able to recreate it, you should be able to run most minecraft servers at about 5% cpu usage.


RE: Server parameters improved ftb to 100% cpu to 10%-20% - Chibill - 05-09-2014

Has to do with the GUI for the server. Seems to be getting null back from a mouse event or input event.

I can take a deeper look into it when I get home.


RE: Server parameters improved ftb to 100% cpu to 10%-20% - kil98q - 05-11-2014

(05-09-2014, 10:50 PM)Chibill Wrote: Has to do with the GUI for the server. Seems to be getting null back from a mouse event or input event.

I can take a deeper look into it when I get home.

i have the full log files here if you want them just give me a sign


RE: Server parameters improved ftb to 100% cpu to 10%-20% - Chibill - 05-11-2014

I will happily take a copy of the full log and what version of MC is this?


RE: Server parameters improved ftb to 100% cpu to 10%-20% - kil98q - 05-11-2014

(05-11-2014, 04:34 PM)Chibill Wrote: I will happily take a copy of the full log and what version of MC is this?

1.6.4 the full log file is in the attachments we havent found anything strange except from that error


RE: Server parameters improved ftb to 100% cpu to 10%-20% - Chibill - 05-11-2014

Its something to do with the server GUI I will dig into it more later I am AFK (not home)