r/admincraft • u/Material_Zombie_5653 • 24d ago
Help/Question Viability of using a M1 macbook air for self hosting a server
Basically the title, I have an old M1 macbook air that I recently started using again as a secondary home server of sorts, started using it for a very rough file storage and remote access server at home and was wondering how viable it would be to self-host a minecraft server on it.
I've used aternos before and it has been fine but there are definitely cases where the server was laggy or struggled when I was playing, and given that I have the M1 lying around(I use a separate M5 air) I was wondering how much more effective it would be.
EDIT: It is an M1 macbook air with 8GB of ram and 500GB of internal storage, recently wiped so storage is fully empty.
5
u/This-Marzipan-9239 24d ago
If you can tell us how much ram then responses are going to be more accurate and helpful. Chunk preloading helps tremendously with 2+ people, it has its limitations like storage. A 50k by 50k only in the overworld can take up to 70 gbs.
1
u/kai-zaphosting 23d ago
I'd say the M1 is a solid pick for this. Minecraft cares most about single-thread speed, and the M1 is strong there, plus the whole machine is yours instead of being shared with other servers like on a free host. Just make sure you install an arm64 build of Java (Temurin or similar) so it isn't running through Rosetta.
The catch is that the Air is fanless, so under sustained load it will throttle. That's fine for a few friends, rougher with a heavy modpack or lots of loaded chunks.
Also, macOS will sleep the machine if you let it. Running
caffeinate -sin Terminal keeps it awake on power while the server runs (or set it in the Energy/Battery settings).Closing the lid still puts it to sleep with just caffeinate, unless it's in clamshell mode, which needs the Air plugged into power and an external display. Workarounds like
pmset disablesleep 1or wrapper apps exist, but reports are mixed on whether they still work on Apple Silicon since Ventura. So if you want to keep it shut on a shelf, I'd test that for a day before counting on it.1
u/DeerOnARoof 22d ago edited 22d ago
How many people would join? 4 GB is probably fine for 4-5 people on vanilla with a world pre-generation plugin. I would recommend using paper.mc
Just make sure you use the AlwaysPretouch option in your launch script:
java -Xms4G -Xmx4G -XX:+AlwaysPreTouch -jar paper.jar
Replace the 4 with however much memory you decide to give Minecraft
3
u/404invalid-user 24d ago
the M1 is more than capable ram will be the limiting factor if you have 16gb you will be fine
2
u/Xcissors280 23d ago
It will work fine, it probably isn’t worth running Linux over an older macOS
Ram is just like anything else
1
u/wa019c 23d ago
I am jealous, that would be a pretty good server