Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
One of the most solid JVM tuning settings
#1
Hi, fellas, I've found that set mostly here - https://hardihood07.wordpress.com/2012/0...n-servers/ - check this out.

Here are the full listing






Code:
-Dazureus.config.path=G:\Azureuscc\\
-server
-d64
-XX:+UnlockExperimentalVMOptions
-XX:+UnlockDiagnosticVMOptions
-Xquickstart
-Xverify:none
-XX:+AlwaysPreTouch
-XX:UseSSE=4
-Xms1750m
-Xmx1750m
-Xmn525m
-Xss128k
-XX:-BytecodeVerificationLocal
-XX:-BytecodeVerificationRemote
-XX:+UseThreadPriorities
#-XX:ThreadPriorityPolicy=1
-XX:+PerfDisableSharedMem
-XX:+TieredCompilation
-XX:CompileThreshold=1500
-XX:+AggressiveOpts
-XX:MaxDirectMemorySize=1500m
-XX:ParallelGCThreads=10
-XX:MaxPermSize=256m
-XX:+UseConcMarkSweepGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+UseParNewGC
-XX:TargetSurvivorRatio=90
-XX:MaxTenuringThreshold=8
-XX:SurvivorRatio=8
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:+DisableExplicitGC
-XX:CMSInitiatingOccupancyFraction=80
-XX:+UseAdaptiveGCBoundary
-XX:-UseGCOverheadLimit




You can use Server JRE due to "-server" and "-d64", 64-bit Java increasing performances itself. Just copy manually Server JRE's packages and place to "C:\Program Files\Java\jdk1.8.0_121", I am on Win 10, then just add to the system environment variables variable "EXE4J_JAVA_HOME" with a path to java binaries location.

http://prnt.sc/ex1m6b 

Using "-XX:+UseParNewGC" with "-XX:+UseConcMarkSweepGC" & "-XX:ParallelGCThreads=10" birngs low GC pauses with high throughput at same time, that's the main thing. You can lower "-XX:ParallelGCThreads=10" value, if, say, while you watching Twitch's streams you are encountering browser's & watching CPU interrupting. Or you can install and use Process Lasso app for setting up Azureus.exe process priority class at least to Below normal.
Reply
#2
Some clarifications, looks like "-Xss128k" causes some problems like StackOverflowError, do not opening Sources tab, even huge stack with getting peers. So, better leave it with default, just remove it or uncomment with "#-Xss128k"

Reply
#3
Too not bad set, such a superlightweight like... 


Code:
-Dazureus.config.path=G:\Azureuscc\\
-server
-d64
-Djava.awt.headless=true
-XX:+UnlockExperimentalVMOptions
-XX:+UnlockDiagnosticVMOptions
-Xquickstart
-Xnoclassgc
-Xverify:none
-XX:+AlwaysPreTouch
-XX:UseSSE=4
-Xms1750m
-Xmx1750m
-Xmn150m
-XX:MaxDirectMemorySize=1500m
-XX:-BytecodeVerificationLocal
-XX:-BytecodeVerificationRemote
-XX:SoftRefLRUPolicyMSPerMB=1
-XX:NewRatio=2
-XX:+PerfDisableSharedMem
-XX:+UseTLAB
-XX:+UseParNewGC
-XX:+DisableExplicitGC
-XX:GCTimeRatio=2
-XX:ParallelGCThreads=4
-XX:MaxGCPauseMillis=2000

If adding these flags 

-XX:+TieredCompilation
-XX:CompileThreshold=1500
-XX:ReservedCodeCacheSize=256m
-XX:+AggressiveOpts

then things goes up faster and kind of stronger, recommending.

Edit:

Finally a good set with fine performances...

Code:
-Dazureus.config.path=G:\Azureuscc\\
-server
-d64
-Djava.awt.headless=true
-XX:+UnlockExperimentalVMOptions
-XX:+UnlockDiagnosticVMOptions
-Xquickstart
-Xnoclassgc
-Xverify:none
-XX:+TieredCompilation
-XX:CompileThreshold=1500
-XX:ReservedCodeCacheSize=128m
-XX:+AggressiveOpts
-XX:+AlwaysPreTouch
-XX:UseSSE=4
-Xms1750m
-Xmx1750m
-Xmn150m
-XX:MaxDirectMemorySize=1500m
-XX:-BytecodeVerificationLocal
-XX:-BytecodeVerificationRemote
-XX:SoftRefLRUPolicyMSPerMB=1
-XX:NewRatio=2
-XX:+PerfDisableSharedMem
-XX:+UseTLAB
-XX:+DisableExplicitGC
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:ParallelGCThreads=4
-XX:+ExplicitGCInvokesConcurrent
-XX:GCTimeRatio=2
-XX:MaxGCPauseMillis=2000
-XX:NewSize=256m
-XX:MaxNewSize=256m
-XX:TargetSurvivorRatio=90
-XX:MaxTenuringThreshold=8
-XX:SurvivorRatio=8
-XX:CMSInitiatingOccupancyFraction=80
-XX:+UseAdaptiveGCBoundary
-XX:-UseGCOverheadLimit
Reply
#4
Some improvements, just give a try for that.

Code:
-Dazureus.config.path=G:\Azureuscc\\
-server
#-XgcPrio:deterministic
#-XpauseTarget=30
-d32
-Djava.awt.headless=true
-XX:+UnlockExperimentalVMOptions
-XX:+UnlockDiagnosticVMOptions
-Xquickstart
-Xnoclassgc
-Xverify:all
-XX:+TieredCompilation
-XX:CompileThreshold=1000
-XX:-DontCompileHugeMethods
#-XX:CICompilerCount=1
-XX:ReservedCodeCacheSize=256m
#-XX:MaxInlineSize=1024  
#-XX:FreqInlineSize=1024
-XX:+AggressiveOpts
-XX:+AlwaysPreTouch
-XX:UseSSE=4
-XX:+UseLargePages
-XX:LargePageSizeInBytes=2m
-XX:-BytecodeVerificationLocal
-XX:-BytecodeVerificationRemote
-XX:+PerfDisableSharedMem
-XX:SoftRefLRUPolicyMSPerMB=1
#-Xss2m
-Xms1650m
-Xmx1650m
-Xmn50m
-XX:MaxDirectMemorySize=1500m
#-XX:+UseThreadPriorities
#-XX:ThreadPriorityPolicy=1
-XX:+UseCompressedOops
#-XX:+DoEscapeAnalysis
-XX:+UseFastAccessorMethods
-XX:+UseTLAB
-XX:+DisableExplicitGC
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:ParallelGCThreads=4
-XX:+ExplicitGCInvokesConcurrent
-XX:NewRatio=2
-XX:GCTimeRatio=2
-XX:MaxGCPauseMillis=100
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:NewSize=128m
-XX:MaxNewSize=128m
-XX:+CMSClassUnloadingEnabled
-XX:SurvivorRatio=256
-XX:TargetSurvivorRatio=90
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:CMSIncrementalDutyCycleMin=0
-XX:CMSIncrementalDutyCycle=10
-XX:MaxTenuringThreshold=0
-XX:CMSInitiatingOccupancyFraction=60
-XX:+UseAdaptiveGCBoundary
-XX:-UseGCOverheadLimit
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Transfer od Settings dforrest 0 3,905 01-16-2018, 11:36 PM
Last Post: dforrest
  Transfering Settings and History dforrest 0 4,063 01-03-2018, 03:32 PM
Last Post: dforrest



Users browsing this thread: 1 Guest(s)