![]() Also I formatted to rasberrypi OS 64 bit version. If you're willing to tweak your computer a bit it's quite easily possible to get massive efficiency benefits by underclocking it by about 20-30%. I opened the minecraft server using raspberrypi 4B model which has 4GB ram I allocated 3GB to server and used the paperMC to open server. For example, looking at this article, it seems that you could get only 1/3 rd the power draw by lowering the turbo frequency from 5 GHz to arond 3.5 GHz. ![]() You could however optimize this: set lower maximum turbo speeds for your CPU. a 16-core CPU won't use 100% power when only one core is loaded, the real figure is going to be closer to 30% than the ~7% you'd expect. While theoretically possible, this too means essentially writing your own server code from the ground up.ġ: By this I mean a server that runs on multiple machines, communicating to provide redundancy and share workload in-between them, using load-balancing, fencing, and other advanced techniques.Ģ: This won't be as power-efficient for 24/7 operation as PCs nowadays have many cores but pretty poor single-core power efficiency. This means: Instead of using intermediate bytecode, directly compiled to x86(-64) or ARM assembly.Ĭlustering 1, on the other hand is not supported (by either game) and I don't think it's very likely that it ever will be. ![]() In fact, the minecraft devs did just that for this, and other reasons, and made Bedrock Edition, which is natively written. ![]() Of course, once you start wanting to run many servers, then server CPU machines will work best. When it comes to standalone products, something like a PN51 or mac mini (similar power requirements, available as a standalone NUC). Your raspberry-pi is at about 1/8 th of the speed of the fastest processors available (writing June 2021), so you could do a lot better by running instead on something like a recent laptop/low-power processor. The good news is that these days, ARM platforms have nearly caught up. This means if you want better server performance, get the best single-thread CPU you can buy. If I were going to do it again more seriously, I'd probably get a cheap mini PC and use that instead, but for what it was - me and a friend rediscovering Minecraft after having not played it probably in about 5-10 years - the pi4 held up pretty damn well.To put it simply, no, you cannot do so without rewriting most of the game. I also restarted the server every night, which worked reasonably well as a sort of ultimate GC. Most of our contraptions were turned off by default, or designed not to be too laggy. ![]() * Whenever things started lagging, I went on a killing spree for our main farms, and that tended to work well enough. Paper by default comes with a bunch of optimisations, I enabled some more, although I also disabled some that were interfering with the more technical areas of Minecraft that I enjoy more. * I used Paper instead of the normal Minecraft server, and I ended up spending a decent amount of time optimising the configuration. * As someone else said, overclocking helped, and I had a reasonable passive cooling case to help there. It's hard! I only had two users consistently (myself and a friend, and occasionally guests but they taxed the system a lot so it wasn't very often), but I still even up having to fiddle around with a lot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |