Fastsuite Mod
FastSuite Mod (1.20.1, 1.19.2) is a mod that increases recipe performance globally. FastSuite enables faster execution of recipe matching through the use of concurrency. For any recipe type with more than 100 recipes, FastSuite will enable Concurrent Recipe Matching, and use multiple threads to match all recipe combinations, instead of relying on a single thread to perform this work.
This was observed to produce a 10x – 12x speedup in All The Mods 8, as shown below:
[Multithreaded Test] – Took an average of 301960.28 ns to find the recipe for acacia planks[Singlethreaded Test] – Took an average of 2774185.5 ns to find the recipe for acacia planks
[Multithreaded Test] – Took an average of 494851.94 ns to find the recipe for sticks
[Singlethreaded Test] – Took an average of 4500045.0 ns to find the recipe for sticks
[Multithreaded Test] – Took an average of 148572.14 ns to find the recipe for crafting table
[Singlethreaded Test] – Took an average of 3246270.5 ns to find the recipe for crafting table
[Multithreaded Test] – Took an average of 370346.56 ns to find the recipe for black shulker box
[Singlethreaded Test] – Took an average of 4711380.0 ns to find the recipe for black shulker box
[Multithreaded Test] – Took an average of 701000.56 ns to find the recipe for failed match
[Singlethreaded Test] – Took an average of 1.3034094E7 ns to find the recipe for failed match
Recipe types that exhibit problems with Concurrent Recipe Matching can be blacklisted in the configuration file. As compared to the previous iterations of FastSuite, the concurrent matching model is more compatible (it works with Polymorph installed), and it always works (whereas the old model did not work if there was substantial recipe churn and did not work on the first match). It also is a bit less brittle, because it does not need to write any data during matching, which could cause issues if mods were matching recipes off-thread.
Similar to the projects FastWorkbench and FastFurnace, FastSuite is a mod about improving recipe performance. However, unlike those two mods, it improves upon all mods that use the JSON recipe system, rather than just a specific subset of recipes. It does this by turning the list of recipes from a Set into a LinkedList. This list is then able to be reordered when a recipe is accessed, making accesses to it in the future much faster. Recipes that are close enough to the front of the list (that are within the “cache size”) are not moved to avoid churning. The cache size is configurable, and each type of recipe has it’s own cache space.
Features:
Performance:
On the first access to a recipe, FastSuite will have identical performance to vanilla. However, past that first access, the time spent to access a recipe will decrease. This decrease can be substantial depending how far back in the list the recipe originally was. The impact is also more dramatic depending on how many recipes are loaded into the game, as then there is a greater range for movement of recipes. Below, we can see the performance improvements across access times to a few recipes, along with their index in the original recipe list order. The following series of 6 tables is organized as such: The leftmost column states the recipe, it’s original index in the recipe list, and the current trial. The next two columns compare FS/Vanilla recipe seek times in microseconds. The default Cache Size is 100, and is applied here. This means that entries that are not more than index 100 are not moved.
There is a dramatic change in recipes that are normally found towards the end of the recipe list, as seen in Acacia Planks. Recipes that are already towards the front of the list, such as Iron or Gold Nuggets, see minimal or no improvements. As such, we can see that there is no harm in applying the benefits that FastSuite provides, as it has exceptional performance benefits when it is useful (>95% improvement on acacia planks), and no impact when it would otherwise provide no benefit (as seen in the case of attempting a Failure match). We actually see slight detriments in Iron and Gold nuggets as they were within the Cache Size, and were actually pushed back by the operation of caching Acacia Planks, Sticks, and Crafting Tables. However, there is little to no performance lost due to that, especially not as compared to the benefit from caching the later recipes.
Requires:
How to install:
How To Download & Install Mods with Minecraft Forge
How To Download & Install Fabric Mods
Don’t miss out today’s latest Minecraft Mods
FastSuite Mod (1.20.1, 1.19.2) Download Links
For Minecraft 1.16.5
Forge version: Download from Server 1
For Minecraft 1.17.1
Forge version: Download from Server 1
For Minecraft 1.18.1
Forge version: Download from Server 1
For Minecraft 1.18.2
Forge version: Download from Server 1 – Download from Server 2
For Minecraft 1.19.2
Forge version: Download from Server 1 – Download from Server 2
For Minecraft 1.20.1, 1.20
Forge version: Download from Server 1 – Download from Server 2