quentin452 / OptimizationsAndTweaks

Mod that add some Optimizations/Bugfix/Tweakings for minecraft 1.7.10 and mods
GNU Lesser General Public License v3.0
36 stars 2 forks source link

[1.7.10]: Something weird with tickrate happens #87

Closed vasmark1 closed 9 months ago

vasmark1 commented 11 months ago

Modpack

My own, link provided

Spark profiler

https://spark.lucko.me/VZSre7f783

Description

My modpack: https://github.com/vasmark1/foxies

I don't know what exactly is causing this problem, but every 30-40 seconds tickrate goes up to 200-1000 ms and back to normal 6-10 for the rest time. I've created a new world so there is no structures or modded ores\entities. Also this happens only with o&t enabled.

quentin452 commented 11 months ago

ok l'ill try the modpack

quentin452 commented 11 months ago

Capture d’écran_2023-12-06_22-29-28

when i try your modpack,it seem its isn't updated or missing mods

vasmark1 commented 11 months ago

Very strange, is witchery in mods folder? There supposed to be 145 elements in mods folder and all configs in config folder etc.

quentin452 commented 11 months ago

for me there is 143 mods , and there is not witchery

quentin452 commented 11 months ago

143 jar and 2 folders

vasmark1 commented 11 months ago

So, I've removed witchery and WitcheryExtras, now loading into the game, mb it will not even crash. Even like this it supposed to work

quentin452 commented 11 months ago

so for me i just need to remove WitcheryExtra?

vasmark1 commented 11 months ago

witchery and witcheryextra, yes. If there was no witchery then it's google drive trouble - it not downloaded witchery to your pc. upd: just uploaded them into gd again to be sure

quentin452 commented 11 months ago

So i tried making /forge tps alot of time for 40sec / 1 minutes and i don't have the bug , so its probably a JVM argument problem or maybe 33gb ram allocated is too much

vasmark1 commented 11 months ago

Okay, I'll continue investigating this issue. Thank you for your work!

vasmark1 commented 11 months ago

A bit more details: with O&T loaded used RAM goes up to 14-15%, and then resets to 9-10%, this is a place when a game microfreezes and thickrate goes up to 200+. I've checked JVM args, reseted them to defaults, also reduced RAM to 16gb.

Maybe microfreeze happens because of conflict with some mod that cleans up RAM or idk?

Update: Moved modpack from GD to GitHub, now all mods should be downloaded correctly. Somehow google found malware in witchery...

Abalieno commented 11 months ago

The 42 second thing may be due to the saving system.

It's something I see on every 1.7.10 and that is gone on 1.12, but it seems just due to Minecraft saving state to disk periodically every 42 or so seconds.

Also, never allocate more than 8Gb ram.