Canary

Canary

6M Downloads

The server is lagging after switching from Radium to Canary [FIX]

StormDragon-64 opened this issue ยท 8 comments

commented

When doing /forge tps or by using server tab info, the tps reports as 20 with a mspt of around 8-19 depending on how many people are playing and what they are doing. Even when the mspt reports as 8, it takes a few seconds just to open a chest or it takes extra long to eat food. Also, the performance of my server is way worse than when I used radium. My server is also only using 15% of its cpu even though its lagging behind, which wasn't a problem when I used radium. (server used 50% cpu with radium because that's all it needed, unless someone was loading chunks quickly.) While it is possible something else could be causing bad the performance, I am 99.9% sure the tps is reporting incorrectly.

commented

I just realized that I forgot to optimize the world (vanilla optimize world option) when I switched from radium to Canary. After doing that, the tps output is correct and the server performs slightly better than radium. Maybe some old radium data was somehow messing it up?

commented

weird, i will look into this. are you using other mods?

commented

Yes, I have my own modpack, and the server is running it. If I need to configure something and release a hotfix for it then tell me.

commented

My server provider is falixnodes (free plan) if you think the bad performance is a problem with them, (even though it worked fine when I used radium on the same server) but the tps reporting incorrectly probably isn't a problem with them.

commented

Wait, I just realized. What if the reason why I am getting worse performance is because the server actually thinks it is performing fine when it isn't, so it doesn't use any of its resources? That would explain incorrect TPS and bad performance.

Also, upon switching to radium with all of the other mods being the same, 70% of the CPU is used and server now reports at about 32 mspt, which matches the in-game lag a lot better.

commented

if you switched from Radium to Canary please do the optimize world option (vanilla optimize world option) and it should be fixed.

commented

One thing to note, I don't think it was actually because of the switch from radium to canary, I just didn't know at the time that ping could have the same effect as bad tps. I thought that ping = rubberbanding and delayed+continuous inputs, and I didn't know that it could have the same effects as low tps/high mspt as well (takes longer to eat food and open inventories, ect.)

commented

Not saying you shouldn't optimize your world though, probably still a good idea