added basic hardware tips

This commit is contained in:
YouHaveTrouble
2021-03-04 02:26:32 +01:00
parent 93584068ad
commit 99495de9ef
+4 -1
View File
@@ -15,4 +15,7 @@ Bukkit and spigot are basically in maintenence mode. They update anytime there's
Shared hosts are usually the cheapest option, and that's for a valid reason. They offer you 2 types of resources - guaranteed and shared. Guaranteed resources are usually laughably low and may not be enough to run a server for a few players. Shared resources on the other hand are usually enough to run a server with decent performance. There is a catch, though; shared resources, like the name implies, are shared between your server and other servers on the same physical machine. Your server can only benefit from having them when no other server uses them. The situation where your server fully utilises shared resources is pretty much impossible to happen, as most shared hosts oversell their resources. Like airplane tickets, the hosting site sells more resources than they have available in hopes that not all of them will be used. This often leads to situations where all servers are bogged down because there aren't enough resources to spare.
## Avoid datapacks that use command functions
Datapacks that run commands are extremely laggy. It may not be much with a few players on, but that doesn't scale well with the playercount and will lag your server pretty quickly as you gain players. Datapacks that modify biomes, loot tables, etc are fine. You're better off looking for a plugin alternative.
Datapacks that run commands are extremely laggy. It may not be much with a few players on, but that doesn't scale well with the playercount and will lag your server pretty quickly as you gain players. Datapacks that modify biomes, loot tables, etc are fine. You're better off looking for a plugin alternative.
## Choosing hardware
Don't just go off how much RAM you need. That's basically a non-issue, as you can run 100+ players on less than 16GB RAM with a lot of room to spare (unless you're using questionable plugins that cache unnecessary things). CPU is probably most important piece of the puzzle. You want something that [ranks good on single core performance](https://www.cpubenchmark.net/singleThread.html), as server's main thread runs on just one thread. It's important to note that this does not mean the entirety of the server uses only one thread. Multiple threads are utilised for quite some time now in systems like async chunk loading on paper. You should absolutely avoid HDD drives. Their speeds are simply way too slow to to justify running a server on them, and minecraft is heavy on I/O operations, especially with high viewdistances and higher playercounts.