Mordenkainen / EquivalentEnergistics

Autocrafting with EMC? No Way!
13 stars 12 forks source link

EMC Condenser framerate drop #39

Closed watlok closed 7 years ago

watlok commented 9 years ago

When an EMC Condenser is connected to an ME network it drops my fps from 140 to 30, and in a base with multiple condensers fps is in the single digits. Breaking the condensers restores framerate back to normal.

If the condenser is not connected to a network, like placing it on the ground, it does not drop framerate.

This happens in creative test worlds as well as an actual survival server.

EE version: 0.3 AE2 version: rv2-stable-10 FML: 7.10.99.99 Forge: 10.13.4.1448 ProjectE version: 1.7.10-PE1.7.3

It happens with and without fastcraft.

Mordenkainen commented 9 years ago

I suspect this is a symptom of AE calling some "expensive" methods more often than I had anticipated. I am working on this, and can not recreate the issue with my current development version.

I will leave this issue open and set the "retest with latest" tag when the new version is ready. If you could recheck it at that time and let me know if it addresses your issues, it would be appreciated.

MaPePeR commented 9 years ago

So this is just a duplicate of #36 ?

watlok commented 9 years ago

Shouldn't be a duplicate of #36, because the framerate lag is clientside while on a server. The server's tps is fine as far as I can tell. The condenser block is pretty much a grey square so Mordenkainen likely has the right idea about what's going on.

When the new version is released I'll definitely test it and get back to you.

Mordenkainen commented 9 years ago

The code that handles communication to the AE network has quite a bit of unneeded overhead. This is because I cheated and used AE internal classes rather than write my own. This should be resolved in the next version, and if the problem still exists we will need to look a little deeper.

Mordenkainen commented 9 years ago

Please retest with 0.6 and see if this is still an issue.

jozefjan commented 9 years ago

My frames still drop with EquivalentEnergistics - 0.6 - 1.7.10. Frames are ok when the condenser has 0 emc stored though.

Mods: appliedenergistics2-rv2-stable-10 ProjectE-1.7.10-PE1.9.2

Can provide more details if needed.

Mordenkainen commented 9 years ago

Ok, the information that it only happens when the Condenser contains EMC is helpful.

I'll look into it and see if I can find the cause.

mccoole commented 8 years ago

I'm seeing this as well with ae2-stable-10 and version 0.6. In my case it doesn't matter if the condenser has EMC or not. Just connecting it immediately causes the FPS drop and it stops when its removed.