Jump to content

Modpack optimisation


Jordna

Recommended Posts

Hello, I recently created a modpack for me and a few friends to play over the holidays, I'm having trouble optimising the pack as something is causing lag. My computer can run it with 30-150FPS, when it can run modpacks like Skyfactory 4 with over 500 FPS, my pack only has 94 mods compared to Skyfactory 4 which has over 200. So I'm just curious as to how I can improve this.

 

Here's a list of the mods and versions:
 

Spoiler

 

applied energistics 2 rv6 stable 6

Baubles 1.5.2BetterFps 1.4.8

BloodMagic 2.4.0-102

Bonsaitrees b144

Botania r1.10-361

BrandonsCore 2.4.10.198

Buildcraft 7.99.24.1

Carpenter's Blocks 3.4.0-poc.5

ChickenChunks 2.4.1.73

Chisel 0.2.1.35

CodeChickenLib 3.2.2.353

CoFHCore 4.6.2.25

CoFHWorld 1.3.0.6

CTM 0.3.3.22

Cucumber 1.1.3

Cyclic 1.19.7

Decocraft 2.6.2

Draconic Evolution 2.3.21.342

EnderCore 0.5.57

EnderIO 5.0.43

EnderStorage 2.4.5.135

extrautils2 1.9.9

Extreme Reactors 0.4.5.65

foamfix 0.10.5

forestry 5.8.2.374

Forgelin 1.8.2

ForgeMultipart 2.6.1.81

GalacticraftCore 4.0.2.210

Galacticraft Planets 4.0.2.210

Gravestone 1.10.1

Guide API 2.1.8.63

Hats 7.0.2

Headcrumbs 2.0.5.17

Hwyla 1.8.26-B41

iChunUtil 7.2.0

ImmersiveEngineering 0.12-89

Industrial craft 2 2.8.133-ex112

industrialforegoing 1.12.12-236

inventory tweaks 1.64+dev.146

jei 4.15.0.276

Journeymap 5.5.5b5

Mantle 1.3.3.49

mcjtylib 3.5.0

Mekanism 9.7.2.373

MFFS 4.0.1.0

Micdoodlecore 4.0.2.210

Modular Powersuits 1.0.40

MrTJPCore 2.1.3.35

Mystical Agriculture 1.7.5

Natura 4.3.2.66

Numina 1.0.37

Pam's Harvest Craft (7mm kidney stone update)

plustic 7.0.6.1

Project Red 4.9.1.92-Base

PTRLib 1.0.4

Quantumflux 2.0.18

railcraft 12.0.0

Redstone flux 2.1.0.6

rftools 7.70

SimpleStorageNetwork 1.7.4

TConstruct 2.12.0.135

Tesla Core Lib 1.0.15

Thaumcraft 6.1.BETA26

Thermal Dynamics 2.5.4.18

Thermal Expanmsion 5.5.3.41

Thermal Foundation 2.6.2.26

Tinker Tool Leveling 1.1.0

Vanilla Fix 1.0.10-99

Zerocore 0.1.2.8

 

 

If you like I also have the pack available for download, just ask for the link. I'm just curious if anyone has any experience with clashes between any of the mods mentioned, and if so, how to potentially fix them. Thanks in advance.

Edited by Jordna
Link to comment
Share on other sites

9 minutes ago, diesieben07 said:

Framerates up to 500FPS are ridiculous and make no sense. There is no point optimizing for them.

500 for Skyfactory 4, which has 220 mods.

 

My pack has 94 and can only run at 100FPS and even then it has a lag spike every 15 seconds.

Link to comment
Share on other sites

3 minutes ago, diesieben07 said:

100FPS is just fine. You (most likely) have a 60 Hz Monitor. It cannot display anything beyond 60. And running at more than 60 simply causes screen tearing.

Lag spikes on the other hand are something else and can often be caused by Java's Garbage Collection. What are your startup parameters?

I'm running the pack with 6GB currently, it only reaches 45% ingame and 50% when loading the pack. 

Link to comment
Share on other sites

1 minute ago, diesieben07 said:

Just throwing more memory at it is not a blanket solution. The more memory you throw at it, the more the JVM has to work to keep it "cleaned up".

Tuning this garbage collection is a science of it's own, which I frankly do not know that much about. I recommend you do some googling.

So it would be recommended to try and keep it as close to 90ish% as possible to reduce garbage collection?

 

And what would I be googling? 

Link to comment
Share on other sites

8 minutes ago, diesieben07 said:

Again, I can't say which numbers you'd use.

 

You can search for things like "Minecraft JVM Arguments".

But I'm not sure how that would help. The problem is the pack dropping frames every now and again, granted that could be due to garbage collection, but even at 4GB, there is as much lag spikes.

Link to comment
Share on other sites

2 minutes ago, diesieben07 said:

Like I said, lag spikes could be from garbage collection.

If they aren't, you can't do much except either use a profiler or take out mods one by one (preferably a binary search).

What is a profiler?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.