SpongePowered / SpongeForge

A Forge mod that implements SpongeAPI
http://www.spongepowered.org/
MIT License
1.14k stars 306 forks source link

Bad entity performance #3167

Closed bigenergy closed 4 years ago

bigenergy commented 4 years ago

I am currently running

Issue Description Server on sponge shows very poor entity performance. https://spark.lucko.me/#OLRtDHBjfU

There are only about 800-1600 entities on my server and I get loads of up to 5 tps.. This is considering the fact that I lowered the monsters tick rate, installed a lot of mods for optimization, but still my server lags

image

global.conf

# Used to control spawn limits around players. 
    # Note: The radius uses the lower value of mob spawn range and server's view distance.
    spawner {
        # The number of ambients the spawner can potentially spawn around a player.
        spawn-limit-ambient=6
        # The number of animals the spawner can potentially spawn around a player.
        spawn-limit-animal=5
        # The number of aquatics the spawner can potentially spawn around a player.
        spawn-limit-aquatic=3
        # The number of monsters the spawner can potentially spawn around a player.
        spawn-limit-monster=20
        # The ambient spawning tick rate. Default: 400
        tick-rate-ambient=400
        # The animal spawning tick rate. Default: 400
        tick-rate-animal=400
        # The aquatic spawning tick rate. Default: 1
        tick-rate-aquatic=400
        # The monster spawning tick rate. Default: 1
        tick-rate-monster=4
    }

view-distance=4

ImMorpheus commented 4 years ago

Duplicate of https://github.com/SpongePowered/SpongeForge/issues/3085 https://github.com/SpongePowered/SpongeCommon/issues/2602

there's not much that sponge is doing to cause or add on to lag

bigenergy commented 4 years ago

@ImMorpheus okay, it's normal? image

gabizou commented 4 years ago

Dude, stop opening new issues, an issue can still be discussed until it is locked. Just because it's closed doesn't mean that you can't keep replying there.