Project-PFAA icon indicating copy to clipboard operation
Project-PFAA copied to clipboard

TPS is completly random

Open Turmfalke2 opened this issue 7 years ago • 12 comments

hi, I am playing in single player and I am still in the stone age, but I found the TPS to be completly random. For example /tps just showed me this: ` Average TPS over last 200 ticks: 15.17 (lowest: 0.30)
Average TPS over last 20 ticks: 240.96 (lowest: 200.00)
Average TPS over last 5 ticks: 250.00 (lowest: 250.00)

`

Turmfalke2 avatar Dec 03 '17 11:12 Turmfalke2

What's you rig? Also you can use opis to see the tps variations

wormzjl avatar Dec 03 '17 12:12 wormzjl

Nothing special: i5-6600K gtx1070 32G ddr4

What is confusing me the most is when tps goes beyond 20. In game this looks like monsters just teleporting on top of me and hitting me 20 times with in one second. I have had cases were I have seen a bear several chunks away and in the next moment I was dead.

Turmfalke2 avatar Dec 03 '17 14:12 Turmfalke2

Seems like a lagspike to me, it's weired since I haven't seen anything like this during my test. Can you try to add this to java parameters (in launcher config - java/minecraft)? -XX:+UseG1GC

Also make sure you give java 4g memory, but no more than 6g.

wormzjl avatar Dec 03 '17 14:12 wormzjl

http://files.player.to/sampler-1.60.1.jar Can you drop this into the mods folder and play for a while. This will generate a log if lagspike is detected, which is located in /stall-reports

wormzjl avatar Dec 03 '17 17:12 wormzjl

Turns out I was already using the G1GC. stall-reports.zip

I felt like I had less lag issues today, while I still had some unexpected tps drops I never caught it above 20tps.

Turmfalke2 avatar Dec 04 '17 19:12 Turmfalke2

do you happens to be exploring the world everytime the lagspike hits?

wormzjl avatar Dec 04 '17 19:12 wormzjl

Not really. I mean there is a lot of exploring involved in playing the pack, but so far I haven't had issues with chunks not loading in time which is usually a pretty good indication that one exploring to fast.

Turmfalke2 avatar Dec 04 '17 20:12 Turmfalke2

just updated, check if it still lags with 1.0.2

wormzjl avatar Dec 04 '17 21:12 wormzjl

Can't find a changelog, but you removed thaumcraft?! I am now going to have holes everywhere in my world?

Turmfalke2 avatar Dec 05 '17 11:12 Turmfalke2

Not really, just some floating cobwebs Edit: back up your world before updating, just in case

wormzjl avatar Dec 05 '17 11:12 wormzjl

Given that most of my house/almost all of my support beams are made of great wood I have elected not to update.

Turmfalke2 avatar Dec 05 '17 19:12 Turmfalke2

you can replace them by jumping into creative, people reported that this update really helps with these lagspikes (and crashes) and your fps

wormzjl avatar Dec 05 '17 19:12 wormzjl