Jump to content

TPS drops despite low CPU usage


misikokos1

Recommended Posts

I made 3 modpacks on my server. Despite lowering mod quantity and giving more ram TPS behave the same. Everytime if there is more than 2 players tps drops to 10-15. Here is my recent mods. I think it's a entity problem and untamed wilds or alexmobs are causing it.


https://docs.google.com/spreadsheets/d/19PLKwRUSVtldyvzims1vjMKj9wUyp6ZdxwZDly5FaW4/edit#gid=0

Link to comment
Share on other sites

Click on your link.

See where it says "all" - click on it and it will change to "flat".

Now click the arrow next to "Server Thread 100%" at the bottom.

You will get something like the following:

Quote

Server thread100.00%

net.minecraft.server.MinecraftServer.func_240802_v_()99.86%

net.minecraft.server.MinecraftServer.func_240783_a_()99.86%

net.minecraft.server.MinecraftServer$$Lambda$10803.658110002.run()99.86%

java.lang.Thread.run()99.86%

net.minecraft.server.MinecraftServer.tick()98.23%

net.minecraft.server.MinecraftServer.updateTimeLightAndEntities()98.13%

net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities()98.13%

net.minecraft.world.server.ServerWorld.tick()92.00%

net.minecraft.entity.LivingEntity.tick()83.77%

This says your server thread is spending ~84% of its time ticking entities.

 

Now click where it says "flat" and it should change to "sources".

You should see something like the following:

Quote

alexsmobs (28881.13ms)

Server thread20.29%

dungeons_mobs (19509.26ms)

Server thread13.71%

projectvibrantjourneys (11128.12ms)

Server thread7.82%

untamedwilds (6517.9ms)

Server thread4.58%

survive (5553.77ms)

Server thread3.90%

rats (3953.77ms)

Server thread2.78%

So at least 34% is in alexmobs and dungeonmobs.

It will be more than this, since it is only counting where it is actually inside their code.

It does not include time spent by Minecraft handling the entity before it calls their code.

 

Things you can do include:

* Look at the mods documentation and talk to the mod author about optimisation these mods, e.g. changing mob caps to spawn less mobs

* Change the "simulation-distance" in server.properties so that the server can stop ticking mobs when they are closer to the player, the default is 10 chunks

 

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I tried disabling Just Enough Item to test, and after putting it back with some other mods I got this : https://pastebin.com/gD977jeL
    • Hello, I am experiencing the following error once an hour and sometimes two hours, does anyone know what might cause the crash? Is it a mod that is causing it or is there a mod that can fix that? Server Forge version: 1.20.1 Forge: net.minecraftforge:47.2.20   JVM Flags: 24 total; -Xms128M -Xmx16384M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 Mods: - fightorflight-forge-0.5.3.jar - BadMobs-1.20.1-19.0.2.jar - netherportalfix-forge-1.20-13.0.1.jar - NoChatReports-FORGE-1.20.1-v2.2.2.jar - architectury-9.1.13-forge.jar - accelerated-decay-forge-3.0.1+mc1.20.1.jar - ferritecore-6.0.1-forge.jar - balm-forge-1.20.1-7.2.1.jar - Terralith_1.20.4_v2.4.11.jar - memoryleakfix-forge-1.17+-1.1.5.jar - cloth-config-forge-11.1.106.jar - kffmod-4.10.0.jar - Cobblemon-forge-1.4.1+1.20.1.jar Error: https://pastebin.com/XKNM1Ak5 Stacktrace: https://pastebin.com/GESmmB4s  
    • Merging Minecraft modpacks is simpler than it sounds. Just think of it as combining ingredients from two recipes into one. If you're not sure how to start, there's a handy tutorial on YouTube titled "How to combine mods in Curseforge Minecraft" that breaks it down step by step. It's like following a cooking show but for Minecraft mods. And if you need more help, the Reddit's r/feedthebeast are like the community kitchen where everyone shares their cooking tips.
    • String Name: 1 wanderlite_matrix Class Name: class net.minecraft.world.item.ItemStack Mod Name: Clockwork: Create x Valkyrien Skies Registry Name: vs_clockwork:wanderlite_matrix Display Name: Wanderlite Matrix Yes    
    • Tried panorama_screens and some other mod, but it still gives me the same error : https://pastebin.com/CG2hUbcY What is the problem exactly ? Is there a problem with the model of one of the items of Clockwork ?
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.