FTB Server Optimization?

Hello! First-time owners for an FTB server here and we could definitely use some help.

We are renting our server on BisectHosting since I have had a good experience there in the past. We are currently running FTB Revelation and a few plugins.

We have pre-chunk loaded a huge area of the world so as to prevent the server from having to work very hard generating new chunks (That’s how it works right?) Although we seem to have consistent lag spikes every 15-20 seconds or so and it lasts for a few seconds and if it’s really bad it can last up to 10 seconds. These are the messages we receive when stuff like this happens:
“Can’t keep up! Did the system time change, or is the server overloaded? Running 2866ms behind, skipping 57 tick(s)
Can’t keep up! Did the system time change, or is the server overloaded? Running 6425ms behind, skipping 128 tick(s)”

I have been reading up on a few different articles for FTB Server optimization and someone recommended to remove Aromacore, which we did and it may have helped a little, but still having pretty rough lag. What additional things can we do to prevent as much lag as possible? Thanks!

BackGround info:

Memory: 4608MB

No way to run our own .bat file on startup, unfortunately, so no way to modify that.

MODS : Minecraft, Minecraft Coder Pack, Forge Mod Loader, Minecraft Forge, SpongeAPI, Sponge, /dank/null, Actually Additions, Actually Baubles, Akashic Tome, AppleSkin, Applied Energistics 2, ArchitectureCraft, Astral Sorcery, AutoRegLib, B.A.S.E, BD Lib, Bad Wither No Cookie! Reloaded, Baubles, Bed Patch, Better Advancements, Better Builder’s Wands, BiblioCraft, Binnie Core, Binnie’s Botany, Binnie’s Design, Binnie’s Extra Bees, Binnie’s Extra Trees, Binnie’s Genetics, Blockcraftery, Blood Magic: Alchemical Wizardry, Bookshelf, Botania, Brandon’s Core, Chameleon, Chest Transporter, Chisel, Chisels & Bits, Clumps, CoFH Core, CoFH World, CodeChicken Lib, Compact Machines 3, Compact Solar Arrays, Compacter, Construct’s Armory, Cooking for Blockheads, CraftTweaker JEI Support, CraftTweaker2, Dark Utilities, DeepResonance, Diet Hopper, Dirt2Path, Draconic Evolution, Dynmap, ET Lunar, ElecCore, Embers Rekindled, Ender IO, Ender IO Applied Energistics Conduits, Ender IO Base, Ender IO Conduits, Ender IO Integration with Forestry, Ender IO Integration with Tinkers’ Construct, Ender IO Integration with Tinkers’ Construct, Ender IO Machines, Ender IO Open Computers Conduits, Ender IO Powertools, Ender IO Refined Storage Conduits, EnderCore, EnderStorage, Engineer’s Doors, Engineer’s Workshop Reborn, Environmental Tech, Exchangers, Extra Cells 2, Extra Rails, Extra Utilities 2, Extreme Reactors, FTB Guides, FTB Utilities, FTBLib, FastWorkbench, Fence Jumper, Flat Colored Blocks, Flux Networks, Forestry, Forge Microblocks, Forge Multipart CBE, GenDustry, Guide-API, Harvest, Immersive Engineering, Immersive Petroleum, Industrial Foregoing, Industrial Wires, IndustrialCraft 2, InitialInventory, Integration Foregoing, Inventory Tweaks, Iron Backpacks, Iron Chest, JEI Bees, JourneyMap, Just Enough Items, KleeSlabs, Long Fall Boots, MCMultiPart, MTLib, MagicBees, Mantle, McJtyLib, MineTogether, MineTogetherServer, Minecraft Multipart Plugin, Mod Tweaker, Morph-o-Tool, Morpheus, MrTJPCore, MysticalLib, Natura, Nature’s Compass, NetherPortalFix, Nice, Not Enough Wands, NotEnoughIDs, OpenBlocks, OpenComputers, OpenComputers (Core), OpenModsLib, OpenModsLib Core, Pam’s HarvestCraft, Placebo, Platforms, ProjectRed Core, ProjectRed Expansion, ProjectRed Exploration, ProjectRed Fabrication, ProjectRed Illumination, ProjectRed Relocation, ProjectRed Transmission, ProjectRed Transportation, ProjectRed integration, Quark, Quick Leaf Decay, RFTools, RFTools Control, RFToolsPower, Ranged Pumps, Reborn Core, RebornStorage, Redstone Arsenal, Redstone Flux, Refined Storage, Refined Storage Addons, Reliquary, Roots 2, Rustic, Secret Rooms 5, SecretRooms Hooks, ShadowMC, Shadowfacts’ Forgelin, ShetiPhian-Core, Signals, SimpleVoidWorld, Simply Jetpacks 2, Snad, SonarCore, Soot, Soul Shards - The Old Ways, SpongeForge, Steve’s Carts 2, Storage Drawers, Storage Drawers Extras, TOP Addons, Tesla Core Lib, Tesla Core Lib Registries, Thaumcrafft Inventory Scanning, Thaumcraft, The Lost Cities, The One Probe, The Twilight Forest, Thermal Cultivation, Thermal Dynamics, Thermal Expansion, Thermal Foundation, Thermal Innovation, Thut Core, Thut’s Elevators, ThutCore Compat, Tinkers Tool Leveling, Tinkers’ Construct, TorchMaster, Translocators, Traverse, UniDict, Universal Modifiers, Valkyrie Lib, WanionLib, Waystones, Wireless Crafting Terminal 2, Woot, XNet, Xtones, YABBA, Zero CORE, careerbees, p455w0rd’s Library

PLUGINS : Minecraft, Minecraft Coder Pack, SpongeAPI, Sponge, FastAsyncWorldEdit, AurionsVoteListener, Dynmap, GriefPrevention, Holograms, LuckPerms, NuVotifier, Nucleus, RankUpper, Total Economy, Universe Guard 2, WorldEdit

So just one thing to note… I would highly recommend using more than 4GB of memory for a server with that many mods.

The other thing is if you can run a Sponge timings report and share it here. (there should be a forum post somewhere on creating one)

You can also use the Sponge plugin Spark to profile the server, which can provide more info than the default Sponge timings report.

1 Like

Ok thanks alot guys! First, here are reports from both sponge and Spark timings, I let sponge run for about 15 minutes and spark for an hour…
Sponge yesterday: Aikar's Timings Viewer
Sponge today: Aikar's Timings Viewer
Spark: https://sparkprofiler.github.io/?WsynR3qDZK
Second, @d4rkfly3r , how many gigs would you recommend? Thanks alot guys!

UPDATE: I have shown the spark logs to someone else and they pointed out that the signals mod is a big issue, so I have removed it and the server seems to be a bit better, but still noticeable lag spikes. Here is a new log: