Jump to content

[1.19.2] Low TPS Issue


schpleez

Recommended Posts

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 by schpleez
Link to comment
Share on other sites

  • schpleez changed the title to [1.19.2] Low TPS Issue
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?

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

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.

Link to comment
Share on other sites

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 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.

Announcements



×
×
  • Create New...

Important Information

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