I'm playing with a moderately big modpack, like 70 mods, and the tick lag is sometimes really low(3ms average), and sometimes it spikes up really high. Sometimes mobs like overspawn or something, and that causes massive lag, tick lag and fps lag. Im usually fine with fps, but tick lag is really bothering. I have added multiple performance mods and allocated mroe ram, but it never really helps. This has by far been my biggest problem while playing modded. Any help? I have some screenshots, so ill link them here since i cant upload them here for some reason.
https://pasteboard.co/JWICxxK.png
https://pasteboard.co/JWICJbo.png
https://pasteboard.co/JWIDe63.png
when tick lag is low
https://pasteboard.co/JWID3Oh.png