A
Admincraft2y ago
1

Low TPS on fabric server

I am getting low tps on my fabric server, can someone analyze my spark report and let me know what the issue is? Thanks in advance. https://spark.lucko.me/EZn1SPYWQh
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
23 Replies
Admincraft Meta
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Fabric
Requested by wesellinsurance#0
Admincraft Meta
Thanks for asking your question!
Once you have finished, please close your thread. Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close !close !solved
Requested by wesellinsurance#0
snowznz.bak
snowznz.bak2y ago
why is your network-compression-threshold 64?
1
1OP2y ago
Just wanted to compress as much as possible, can that cause an issue?
ProGamingDk
ProGamingDk2y ago
just keep it at normal. 256
1
1OP2y ago
Alr
snowznz.bak
snowznz.bak2y ago
Looks like the main cause is entity ticking
1
1OP2y ago
Thanks, any optimization I can do or is my cpu too weak?
snowznz.bak
snowznz.bak2y ago
May I ask what is the reason for using fabric over something like paper? Is it because you want it to be as vanilla as possible?
1
1OP2y ago
Yes
snowznz.bak
snowznz.bak2y ago
@ProGamingDK Purpur has options to restore vanilla functionality, right?
ProGamingDk
ProGamingDk2y ago
its always gonna have some mechanics changed.
snowznz.bak
snowznz.bak2y ago
You could try lowering view distance and simulation distance, mainly simulation
1
1OP2y ago
kk thanks. Is there some list of what mechanics are modified in purpur or paper?
snowznz.bak
snowznz.bak2y ago
Im not 100% sure but some of the modifications bug/exploit fixes, e.g. dupes How much ram does your system have?
1
1OP2y ago
16gb in total I gave 3 to the server
snowznz.bak
snowznz.bak2y ago
3 is way too little Id recommend at least 6
1
1OP2y ago
Ok then
snowznz.bak
snowznz.bak2y ago
are you using a panel of any sort?
1
1OP2y ago
Nope
snowznz.bak
snowznz.bak2y ago
Updated flags:
java -Xms6G -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:ThreadPriorityPolicy=1 -XX:AllocatePrefetchStyle=3 -XX:+UseG1GC -XX:MaxGCPauseMillis=130 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5 -XX:G1ConcRSHotCardLimit=16 -XX:G1ConcRefinementServiceIntervalMillis=150 -jar fabric.jar nogui
java -Xms6G -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:ThreadPriorityPolicy=1 -XX:AllocatePrefetchStyle=3 -XX:+UseG1GC -XX:MaxGCPauseMillis=130 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5 -XX:G1ConcRSHotCardLimit=16 -XX:G1ConcRefinementServiceIntervalMillis=150 -jar fabric.jar nogui
replace fabric.jar with the name of your jar also monitor how much ram is being used in game
1
1OP2y ago
Ok will do
snowznz.bak
snowznz.bak2y ago
if its using heaps just add 1-2 more gigs of ram

Did you find this page helpful?