Back to mods
SFM Optimizer project artwork

CurseForge · Minecraft mod

SFM Optimizer

A server-friendly performance add-on for Super Factory Manager (SFM): turns the laggy ROUND ROBIN polling into an instant, mathematically even distribution and adds smart sleep / slot memory.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which SFM Optimizer release should I use?

Updated 4 days ago
Latest stable file sfm_optimizer-1.1.1.jar
Game version 1.21.1
Loader NeoForge

SFM Optimizer sfm_optimizer-1.1.1.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is SFM Optimizer required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does SFM Optimizer sfm_optimizer-1.1.1.jar need?

sfm_optimizer-1.1.1.jar. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Super Factory Manager ( SFM ) first. We found matching files for this game-version and loader setup.

Super Factory Manager ( SFM ) Needed by SFM Optimizer sfm_optimizer-1.1.1.jar
required
Matching file found Matched file: Super Factory Manager MC1.21.1 v4.34.0

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add SFM Optimizer without breaking your instance.

Built for SFM Optimizer sfm_optimizer-1.1.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use sfm_optimizer-1.1.1.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Super Factory Manager ( SFM ) first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside sfm_optimizer-1.1.1.jar. It opens that exact file at the source.

About this project

What does SFM Optimizer add?

Super Factory Manager Optimizer An unofficial, server-friendly add-on for Super Factory Manager (SFM) 4.34.0+ — Minecraft 1.20.1, Forge.

Do you run large SFM factories that lag on every redstone pulse? This mod is for you.

SFM is a powerful logistics mod, but on big setups the built-in ROUND ROBIN mode can be a major source of tick lag. This add-on completely rewrites how that distribution is executed — without changing your programs, labels, cables, or inventories.

What it does

  1. ROUND ROBIN → Instant Even Split

The original mode "rotates" one destination per tick and probes every pair over and over. Now, items / fluids / energy / gases are split mathematically across all destinations in a single tick (base = total ÷ n, with the remainder spread to the first few targets), so the whole distribution completes instantly instead of stuttering across many ticks. 2. Smart Sleep & Slot Memory

Full destinations and empty sources temporarily "sleep" for a configurable cooldown, so the network stops re-checking slots that can't move anything. The network remembers the last slot it successfully used, avoiding a full rescan of huge inventories every tick. 3. Faster default (non-round-robin) paths

Ordinary OUTPUT statements keep their original greedy behavior, but redundant simulated insertions are skipped and slot scanning is reduced. What does NOT change SFML programs, syntax, manager GUI, disks, labels — all unchanged. Round robin semantics are intentionally different: instead of one destination per tick, all targets now receive their share every tick. Recipes like output 10 to each ... keep working as before; you may see machines fill more evenly and faster. If you prefer the original behavior, disable enableEvenSplit in the server config (sfm-optimizer-server.toml). Configuration (server config) enableEvenSplit (default true) — master switch for even-split distribution. sleepCooldownTicks (default 20) — how many ticks a full/empty slot sleeps before re-checking. enableSlotMemory (default true) — remember last successful slot to reduce rescanning. Requirements & compatibility Minecraft 1.20.1, Forge 47.4+, Super Factory Manager 4.34.0 (older 4.x may work; tested against 4.34.0). Client and server. Licensed under GPLv3. 超级工厂管理器优化 (Super Factory Manager Optimizer) Super Factory Manager (SFM) 的非官方性能优化附属 mod —— Minecraft 1.20.1,Forge,需 SFM 4.34.0+。

如果你的 SFM 工厂规模很大、每个红石脉冲都会造成卡顿,这个 mod 就是为你准备的。

SFM 是功能强大的物流 mod,但在大型布局下,自带的 ROUND ROBIN(轮询)模式往往是服务端卡顿的主要来源。本 mod 彻底重写了该分发方式的执行逻辑——无需改动你的程序、标签、线缆或容器。

功能

  1. 轮询 → 瞬时数学均分

原版模式每 tick 只"轮"到一个目标,并在输入/输出槽位之间反复试探,开销巨大。 现在物品 / 流体 / 能量 / 气体会在一个 tick 内按数学方法均分到所有目标(每份 = 总量 ÷ 目标数,余数摊给靠前的目标),一次完成分配,不再逐 tick 卡顿。 2. 智能休眠与槽位记忆

已满的目标与已空的源会进入可配置时长的"休眠",不再每 tick 反复检查无法移动的槽位。 记录上次成功使用的槽位,避免每次都对大型容器从 0 号槽开始全量扫描。 3. 普通 OUTPUT 提速

非轮询的 OUTPUT 语句保持原有的贪心行为不变,但跳过冗余的模拟插入、减少槽位扫描。 不改变什么 SFML 程序语法、Manager 界面、磁盘、标签等均不受影响。 注意:轮询语义有意改变——不再是"每 tick 给一个目标",而是"每个目标每 tick 都拿到应得份额"。像 output 10 to each ... 这类写法行为不变,机器会更均匀、更快地被填满。 若想保留原行为,可在服务端配置 sfm-optimizer-server.toml 中关闭 enableEvenSplit。 配置项(服务端) enableEvenSplit(默认 true)—— 均分功能总开关 sleepCooldownTicks(默认 20)—— 满/空槽位休眠多少 tick 后再检查 enableSlotMemory(默认 true)—— 记录上次成功槽位以减少重复扫描 环境要求 Minecraft 1.20.1、Forge 47.4+、Super Factory Manager 4.34.0 (已按 4.34.0 测试) 客户端与服务器端均需安装 开源协议 GPLv3

Project description from CurseForge.

Pick your setup

SFM Optimizer by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

SFM Optimizer versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.