Discussion: Compact or spread out base for performance?

I've seen this prop up a few times, but with no real reasoning behind it, and I did a search for topics on the subreddit and any topic I got was old and vague. So I'll ask explicitly

Is it better for a server to have a base spread through out multiple chunks, or if possible, have everyone's thing in a single loaded chunk? I've seen people say it's better to spread it out, but it seems counter intuitive. I'm hoping that with more active mod developers and "People-in-the-know" sever adminstrators can figure out what's better for their server.

Compact, or spread out?

Posted Mar 31, 2016, 7:42 AM UTC

36
McJtyRFTools Dev•

Spread out is better (even with chunkloaders) because then there is less rendering overhead. For example, a Big Reactor with steam turbines can run pretty efficiently in a chunkloaded area that is out of render range since it only has to do power calculations but nothing related to rendering the turbines or anything.

For server overhead it doesn't make as much difference but for client side overhead spread out is a lot better.

11
mementh•

agreed.. I moved my fusion power plant to a RF dimension ( it has power from another power source just in case)

On the prior server having it in base caused a MAJOR FPS drop for me and made it hard for other on basic computers to be in my base. it was just client side that had that hit for that :/

but i saw spread it out SOME.. but use the small space to think diffrently.. do you honestly need the mekanism 5x processing in the base? no? chunk load it into a dimension or a compact machine.

make the base work smarter for you :)

2
Barhandar•

but it seems counter intuitive

The more stuff is in a chunk, the longer MC will take to process said chunk. Now, I hadn't played on servers enough to actually test it out, but it might be on a curve - that is, enough stuff in one chunk will take more time to process, total, than same stuff spread out.
Like a shredder chewing through paper sheets one at a time, versus feeding a whole dense-paper 500-sheet archive into it all at once. Or grinding small chunks of ore down versus trying to stuff a five-ton boulder into SAG mill.

4
nekomancey•

From personal experience, once I get to mid game and I have a somewhat large power generation setup, building it outside of sight range of the base and chunkloading it improves performance by quite a bit, and this is coming from someone on a verrrrry slow netbook.
Now I always make a separate building for my power plant and tesseract the energy over.
Double important if you use Reactorcraft, just in case theres an accident you do not want to slag and irradiate your base.

3
VortexJD•

Definitely spread out is better. Doesn't even need to be out of render distance. I've learned some blocks cause frequent chunk updates, and when you have a lot of other entities in the same chunk, it takes quite a hit on performance. TiCon casting basins are the worst for this. They cause rapid updates while filling, and if they're in the same chunk as a lot of other things, it causes them to update too.

As another example, I once thought it was a great idea to build a chunk full of plant farms using MFR harvesters. Turned out once all the plants were growing it caused HUGE amounts of lag. I improved it by simply spreading out the farms horizontally, even though they were still in render distance, it was considerably better.

3
NagapitoInfinity Evolved Skyblock•

Since you asked what is better for a server the anwser is: doesnt matter!

100 machines on one chunk or 10 chunks with 10 machines each will barely cause the same work on a server if all the chunks are loaded. Unless you dont have some chunks loaded and the machines force phantom-chunks, then its worse but that is also a diferent question.

Now, if you ask client side... then spread the stuff for the reasons many pointed out on previous comments. Out of render distance does not need to render, blocks forcing multiple chunk re-renders that could be avoided...

0