schpleez Posted December 20, 2022 Posted December 20, 2022 (edited) We have a modded server up using minecraft 1.19.2 for the holidays, and every time a player logs in, the tps rate will drop by ~4 per player online. This is fine for 1-2 players, but we have around 6 players in at a time, dropping the tps down to 5. I tried using spark profiler and Observable to try to find the issue, but at a glance, it doesn't look like it's any single mod causing an issue. Can anyone take a look at the profile and point out anything that could cause this? We've had modpacks that can run fine that were larger. https://spark.lucko.me/DIG8uSiWmn Edited December 20, 2022 by schpleez Quote
warjort Posted December 20, 2022 Posted December 20, 2022 Quote com.mojang.brigadier.CommandDispatcher.execute()86.79% net.minecraft.server.commands.ExecuteCommand$$Lambda$48533.0x000000080520c400.apply()62.92% net.minecraft.server.commands.ExecuteCommand.lambda$register$7()62.92% net.minecraft.commands.arguments.EntityArgument.getOptionalEntities()62.90% net.minecraft.server.commands.ScoreboardCommand.lambda$register$16()22.68% net.minecraft.commands.arguments.ScoreHolderArgument.getNamesWithDefaultWildcard()22.68% Clicking on the "flat" button of your spark analysis shows the server thread is spending most of its time running commands that are searching for entities/players. I can't tell from that information which command is using the 62% but the 22% one looks to be related to the scoreboard. I would guess that 62% is also related to whatever scoreboard stuff you have configured? Quote 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.
schpleez Posted December 20, 2022 Author Posted December 20, 2022 23 minutes ago, warjort said: Clicking on the "flat" button of your spark analysis shows the server thread is spending most of its time running commands that are searching for entities/players. I can't tell from that information which command is using the 62% but the 22% one looks to be related to the scoreboard. I would guess that 62% is also related to whatever scoreboard stuff you have configured? Huh, we haven't configured any scoreboard stuff, so that's really strange. Could it be caused by a mod that affects entities or something configured on the server? I also downloaded our world file and tried it in single player and was still only getting around 13 tps. Quote
warjort Posted December 21, 2022 Posted December 21, 2022 (edited) Quote net.minecraft.server.ServerFunctionManager.executeTagFunctions()86.82%9951 It's not an area of the game I am familiar with, but I believe this is what runs the functions/commands that are defined in datapacks? https://minecraft.fandom.com/wiki/Function_(Java_Edition) I assumed you had done this to define some kind of scoreboard processing since at least one of the mentioned commands appears to be scoreboard related. If you have not added a datapack doing this, then it must be one of your mods (they are datapacks too). Edited December 21, 2022 by warjort Quote 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.
schpleez Posted December 21, 2022 Author Posted December 21, 2022 I'll continue looking through the mods list then, thanks for your help! Quote
Recommended Posts
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.