Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.92k stars 907 forks source link

High occupancy on the server side #5340

Closed YukiRiiNa closed 4 months ago

YukiRiiNa commented 1 year ago

Describe the Bug

I am not a native English speaker, so I need to use Google Translate. If there is any inconvenience, please understand :(

My server has 20 people online on a daily basis, and as players develop, the TPS drops to less than 15. I think it's probably caused by create I am using Arclight 1.18.2 server core

spark link: https://spark.lucko.me/u9VaIfKMye

Reproduction Steps

1.At any time after the server is started

Expected Result

Reduced server lag

Screenshots and Videos

image

Crash Report or Log

No response

Operating System

Windows 10

Mod Version

0.5.1b

Minecraft Version

1.18.2

Forge Version

40.2.9

Other Mods

No response

Additional Context

No response

drwoops commented 1 year ago

yes this is a known limitation in current create. funnels (with stack sizes i believe) are laggy on large containers that are implemented using slots because they need to scan the slots again and again. I dont know if anything is planned to address this issue yet.

GitJhopa commented 1 year ago

yes. too problem.

GitJhopa commented 1 year ago

https://spark.lucko.me/f7S4W8biWq my timings, Create = 38% loading server gg wp.

GitJhopa commented 1 year ago

https://spark.lucko.me/p9RK68ONxX and

Attack8 commented 1 year ago

This is a known issue. Unfortunately it would require major rewrites to many systems to be better optimized. However, look out for Create: Simulated, as this may fix these issues with its new rendering engine

GitJhopa commented 1 year ago

This is a known issue. Unfortunately it would require major rewrites to many systems to be better optimized. However, look out for Create: Simulated, as this may fix these issues with its new rendering engine

what? Create Simulated ?? What is it?

Attack8 commented 1 year ago

Yea, it’s a create add on that is currently in development that implements the landlord rendering and physics engine, hopefully improving performance significantly

GitJhopa commented 1 year ago

Yea, it’s a create add on that is currently in development that implements the landlord rendering and physics engine, hopefully improving performance significantly

give please url (link)

Attack8 commented 1 year ago

Youtube Discord

GitJhopa commented 1 year ago

lol This, on the contrary, will break the fps and all the optimization even worse.

ICHTLAY commented 1 year ago

I had the same issues, so I switched to use Storage Drawers instead of Item Vaults. Drawers are not so fancy as Vaults but for now I have stable 20 tps instead on 16, medium tick time decreased from 65 ms to 38 ms, and I haven't changed all Vaults to Drawers yet

drwoops commented 1 year ago

yes i believe drawers do not use a slot-based implementation.