Skip to content

[BUG] Causes FPS drop #168

@NumpaMC

Description

@NumpaMC

🐛 Describe the bug

Hello, I'm using this mod and encountering a strange issue: it reduces my frame rate (fps). I've checked and found that when the number of parallel CPU threads in the mod is set to -1 or a very large number, it significantly reduces my in-game fps. For example, my machine has 72x CPU threads, and setting it to -1 causes the fps to drop to around 5-8fps. However, if I limit the number of CPU threads to a specific range from 1-3, the fps drop is less significant, and the game runs smoothly again.

📋 Steps to reproduce*

I think sharing the entire modpack would make it easier for everyone to debug.
1.Download mod
2. To configure and list mods as above (including configuration if no bugs occur)
3. Launch the game and you will meet

✅ Expected behavior

What did you expect to happen?
The entity is processed in parallel.

❌ Actual behavior

What actually happened?
It's causing a drop in frame rate on my computer.

🖥️ Environment

  • 🔧 Async version: async-fabric-0.2.0+alpha-1.21.11
  • 🎮 Minecraft enviroment (Client or Server): Single Player
  • 🎮 Minecraft version: 1.21.11
  • ⚙️ Modloader & version: Fabric 0.18.6
  • 📦 Other mods installed: thsi here

/mnt/minecraft/Team 1.21.11/minecraft/mods
❯ ls -1 *.jar
 [fabric]imst-2.2.1c.jar
 abandoned-structures-1.0.0.jar
 abusimbel-1.21.10.jar
 'acceleratedrecoiling-21.11.11-alpha-architecturyapi-hotfix -fabric.jar'
 AdditionalStructures-1.21-(v.5.2.0-FABRIC)-dev.jar
 adorabuild-structures-2.11.0-fabric-1.21.11.jar
 alternate-current-mc1.21.11-1.9.0.jar
 AmbientEnvironment-fabric-1.21.11-27.0.0.1.jar
 ancient-jungle-ring-1.0.jar
 Annuus-fabric-1.0.17.jar
 anvianslib-fabric-1.21.10-1.4.jar
 appleskin-fabric-mc1.21.11-3.0.8.jar
 architectury-19.0.1-fabric.jar
 async-fabric-0.2.0+alpha-1.21.11.jar
 'ATi Structures V1.4.4 (1.21+).jar'
 'ATi Structures Vanilla V1.4.4 (1.21+).jar'
 authme-fabric-9.1.0+1.21.11.jar
 autohud-8.11+1.21.11-fabric.jar
 aztec-ruins-1.0.jar
 BadOptimizations-2.4.1-1.21.11.jar
 bao_ve_chu_map-1.0-SNAPSHOT.jar
 bbe-1.3.0+1.21.11.jar
 better-clouds-1.11.3-alpha+1.21.11-fabric.rev.0daa830.jar
 better-ping-display-fabric-1.21.11-1.2.0.jar
 birch-watchtower-1.0.jar
 blur-fabric-6.2.0+1.21.11.jar
 bura-0.2.0.jar
 carryon-fabric-1.21.11-2.9.0.jar
 chatanimation-fabric-1.21.11-1.1.3.jar
 Chunky-Fabric-1.4.55.jar
 chunkychunks-fabric-2.5.0.jar
 cicada-lib-0.14.3+1.21.9-1.21.10.jar
 cloth-config-21.11.153-fabric.jar
 collective-1.21.11-8.13.jar
 continuity-3.0.1-beta.1+1.21.11.jar
 crashexploitfixer-fabric-1.2.0+1.21.5.jar
 crawl-mc1.21.11-fabric-0.15.0.jar
 cristellib-fabric-1.21.11-3.1.2.jar
 CustomSkinLoader_Fabric-14.28.jar
 cwb-fabric-3.0.0-build.14+mc1.21.11.jar
 Daisy-fabric-1.0.2-test.jar
 dark-forest-watchtower-1.0.jar
 delfos-1.21.10.jar
 discoveria-4.0.0d.jar
 DistantHorizons-2.4.5-b-1.21.11-fabric-neoforge.jar
 do_a_barrel_roll-fabric-3.8.3+1.21.11.jar
 dungeons-and-taverns-ancient-city-overhaul-3.2.3.jar
 dungeons-and-taverns-desert-temple-overhaul-v2.1.jar
 dungeons-and-taverns-nether-fortress-overhaul-v3.1.jar
 dungeons-and-taverns-ocean-monument-overhaul-v2.2.jar
 dungeons-and-taverns-pillager-outpost-overhaul-v3.3.jar
 dungeons-and-taverns-stronghold-overhaul-v2.4.0.jar
 dungeons-and-taverns-swamp-hut-overhaul-v2.3.jar
 dungeons-and-taverns-v5.1.0.jar
 dungeons-and-taverns-woodland-mansion-overhaul-2.1.jar
 elytra_physics-fabric-2.5_mc1.21.11.jar
 entity_model_features_1.21.11-fabric-3.1.jar
 entity_texture_features_1.21.11-fabric-7.1.jar
 entityculling-fabric-1.10.1-mc1.21.11.jar
 'Epic Witch Huts v1.2.0 (1.21+).jar'
 'Explorify v1.6.4 f15-88.mod.jar'
 fabric-api-0.141.3+1.21.11.jar
 fabric-language-kotlin-1.13.10+kotlin.2.3.20.jar
 FallingTree-1.21.11-1.21.11.3.jar
 FastItemFrames-v21.11.1-mc1.21.11-Fabric.jar
 fastquit-3.1.3+mc1.21.11.jar
 ferritecore-8.2.0-fabric.jar
 firstperson-fabric-2.7.0-mc1.21.11.jar
 FlatCollision-1.0-mc1.21.11.jar
 forcecloseloadingscreen-2.3.4.jar
 forest-watchtower-structure--1.0.jar
 ForgeConfigAPIPort-v21.11.1-mc1.21.11-Fabric.jar
 friendsandfoes-fabric-4.0.23+mc1.21.11.jar
 'Geophilic v3.4.6.mod.jar'
 giant_nether_tree-1.0.1-fabric-1.21.11.jar
 giantspawn-1.21.11-5.3.jar
 Gnetum-4.3.0+1.21.11-fabric.jar
 GPUBooster-1.2.4.jar
 grabbymobs-1.21.11-1.7.jar
 grim-kingdoms-lost-structures-ruins-v1.0.3.jar
 healingcampfire-1.21.11-6.2.jar
 imfast-FABRIC-1.21.11-1.0.3.jar
 ImmediatelyFast-Fabric-1.14.2+1.21.11.jar
 immersive_optimization-fabric-1.21.11-0.1.4.jar
 Incendium_26.1_v5.4.12.jar
 infinitetrading-1.21.11-4.6.jar
 infinity-cave-0.88.2-fabric.jar
 iris-fabric-1.10.7+mc1.21.11.jar
 Ixeris-4.1.8+1.21.11-fabric.jar
 japanese-castle-1.0.jar
 japanese-temple-1.0_1.21.11-comp.jar
 jumpoverfences-fabric-1.21.11-1.13.1.jar
 jungle-watchtower-structure--1.0.jar
 justzoom_fabric_2.1.3_MC_1.21.11.jar
 katters-structures-2.3.1.jar
 konkrete_fabric_1.9.18_MC_1.21.11.jar
 krlo-1.16.2-1.21.11--0.2.1.jar
 krypton-0.2.10.jar
 lambdynamiclights-4.9.1+1.21.11.jar
 language-reload-1.7.6+1.21.11.jar
 LazyDFU-[UNOFFICIAL]-1.21.11.jar
 lithium-fabric-0.21.4+mc1.21.11.jar
 lukis-crazy-chambers-1.0.3.jar
 lukis-grand-capitals-1.1.3.jar
 MagicMoon-fabric-1.21.11-1.0.7.jar
 mcdonalds-1.0.jar
 mcwifipnp-1.9.8-1.21.11-fabric.jar
 medieval_buildings_end_edition-1.21.X-1.0.5-fabric.jar
 medieval_buildings_nether_edition-1.21.11-1.0.2-fabric.jar
 midnightlib-fabric-1.9.2+1.21.11.jar
 mobsunscreen-fabric-1.21.11-4.0.3.jar
 modernfix-5.26.2-build.1.jar
 modfast-1.0.0.jar
 modmenu-17.0.0.jar
 moogs_structure_lib-1.1.0-1.21.11-fabric.jar
 MoogsEndStructures-1.21-2.0.1.jar
 MoogsNetherStructures-1.21-2.0.31.jar
 MoogsSoaringStructures-1.21-2.0.2.jar
 MoogsVoyagerStructures-1.21-5.0.5.jar
 moreculling-fabric-1.21.11-1.6.2.jar
 msvanillaexpansion-1.3.0.jar
 MutantMonsters-v21.11.2-mc1.21.11-Fabric.jar
 mycenae-1.0.jar
 newgrange-1.21-Plus.jar
 no-resource-pack-warnings-1.4.0.jar
 noisium-fabric-2.8.3+mc1.21.11.jar
 notenoughanimations-fabric-1.12.2-mc1.21.11.jar
 Nullscape_1.21.x_v1.2.17.jar
 'Pale Garden 1.21.11 .jar'
 petra-1.21.10.jar
 PhilipsRuins-1.21.11-1.0-Fabric.jar
 placeholder-api-2.8.2+1.21.10.jar
 plains-watchtower-structure--1.0.jar
 PresenceFootsteps-1.12.3+1.21.11.jar
 PuzzlesLib-v21.11.12-mc1.21.11-Fabric.jar
 qraftyfied-industrial-structures-2.0.jar
 reds-more-structures-1.1.1.jar
 reeses-sodium-options-fabric-2.0.3+mc1.21.11.jar
 relay-nm-mc1218_12111-0.1.0.jar
 replaymod-1.21.11-2.6.26.jar
 repurposed_structures-7.6.2+1.21.11-fabric.jar
 ResourcefulConfig-fabric-1.21.11-3.11.3.jar
 ResourcefulLib-fabric-1.21.11-3.11.0.jar
 Retraining-fabric-1.21.11-3.6.1.jar
 ridetogether-fabric-1.0.2-1.21.11.jar
 roguelike-dungeons-fabric-2.1.2+mc1.21.11.jar
 rrlsFabric-5.1.15+mc.1.21.11.jar
 savanna-watchtower-structure--1.0.jar
 ScalableLux-0.1.6+fabric.c25518a-all.jar
 Sepals-fabric-1.0.30-fix3.jar
 servercore-fabric-1.5.15+1.21.11.jar
 ShoulderSurfing-Fabric-1.21.11-4.22.5.jar
 'SignFaster (v1.0.3) - 1.21.11.jar'
 skin_overrides-2.5.0+1.21.11.jar
 skinlayers3d-fabric-1.11.1-mc1.21.11.jar
 SmoothBoot+1.21.11-1.0.0.jar
 smoothscroll-2.6.5.jar
 smoothswapping-0.9.8-1.21.11-fabric.jar
 sodium-extra-fabric-0.8.3+mc1.21.11.jar
 sodium-extra-information-fabric-2.7.0.jar
 sodium-fabric-0.8.7+mc1.21.11.jar
 sound-physics-remastered-fabric-1.21.11-1.5.1.jar
 SpawnerControl-FABRIC-1.21.[11]-v1.4.jar
 spyglass_astronomy-1.0.20-mc1.21.11.jar
 Structory_26.1_v1.3.16.jar
 Structory_Towers_26.1_v1.0.16.jar
 structure_layout_optimizer-1.1.4+1.21.11-fabric.jar
 structures-2.5-all.jar
 structurify-fabric-2.0.22+mc1.21.11.jar
 superfastmath-0.0.3-1.21.11.jar
 svm-powers-1.85.jar
 t_and_t-fabric-neoforge-1.13.9.jar
 taiga-watchtower-1.0.jar
 'terra - lith.jar'
 ToadLib-1.4.4-1.21.11.jar
 trek-B0.6.1.1.jar
 tru.e-ending-1.1.4d.jar
 tt20-0.7.2+mc1.21.11.jar
 voxy-0.2.13-alpha.jar
 'Voxy World Gen V2-1.21.11-2.2.4.jar'
 'Wabi-Sabi Structures 3.0.5-1.21.11.jar'
 waveycapes-fabric-1.9.2-mc1.21.11.jar
 yeetusexperimentus-fabric-87.0.0.jar
 yet_another_config_lib_v3-3.8.2+1.21.11-fabric.jar
 Yggdrasil-6.0.0.jar

/mnt/minecraft/Team 1.21.11/minecraft/mods

📜 Logs

Please attach your latest.log or crash report if available.
https://mclo.gs/msHw8G4

Metadata

Metadata

Labels

P3: StandardPriority: Default priority for repository items.T: BugFixType: Bug and/or bug fixes.T: New FeatureType: New feature or content, or extending existing content.T: PerformanceType: Performance impacting changes or bugs.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions