Raspberry Pi 4 - Minecraft, Cuberite... Another Java Edition Dedicated Server (Part 2b)

Subscribers:
1,330
Published on ● Video Link: https://www.youtube.com/watch?v=-eOpwlIWGv4



Minecraft
Game:
Minecraft (2011)
Duration: 15:11
6,129 views
0


BLM are a terrorist organisation founded by communists. This video was made by a white person. Minecraft was made by a white person. White history matters.

Save lives, stop wearing masks, stop social distancing, stop hiding from a virus which is less deadly than the stupid people telling you it is. You're killing yourselves, you're killing future generations by following snowflakes. Get educated.

Fight the enemy. Words don't work, fight back.

Slowly migrating over to BitChute: https://www.bitchute.com/channel/EcD5VVAOKtOw/



Part 2 (Offical Java Edition): https://youtu.be/NMg76s4Ws2w

Raspberry Pi 4 dedicated server playlist:
https://www.youtube.com/playlist?list=PLoKC73clba2Kn_eRi3V0SrYcTXQIdOnWM

...part 2b! I didn't expect to make anymore but a question came up regarding performance on the Pi CLI and I was very curious.

Quick answer... no. Running on a terminal server reduces CPU usage, but it doesn't make the server any faster or reduce the overloaded tick error messages. It only makes it faster because the additional server gui isn't loaded on the terminal. This can be toggled off on desktop using 'nogui'. So we can reduce CPU usage by around 150% on the desktop by turning off the gui, though this additional power won't be applied to the server.

I previously recommended Minetest as the best performing Minecraft. However, if you absolutely must use the Java Edition client...

Cuberite. This is a third party Java Edition server written in C++. Not C# as it reads in the video! I was working in C# at the time, too much to do and YouTube won't let us edit videos anymore.

As you can imagine, assuming you know how bad Java is, the performance is way better. It uses almsot the same amount of CPU and memory, but it renders way faster. It's not feature complete but I'd recommend it over the official Java Edition server, espeically if playing with multiple users or for extended periods of time.

Offical Java server generation time: ~300 seconds
Cuberite server generation time: ~18 seconds

There does seems to be a bottleneck somewhere though. Either an engine limitation, class 10 SD card read speeds, single thread processing?


My Equipment / Prerequisites:
=============================
- Pi Model 4
-- With 64GB class 10 SD card (U1)
-- Using ethernet.
-- I have the 4GB version
- I have a small fan on my Pi 4 which I took off my old Pi 3. There's no mount so I just taped it on. it doesn't make a big difference to core temp, but it's better than nothing.
- Raspbian Buster with desktop (10/07/2019)

- Desktop PC
-- i7-5820K, 16GB DDR4, NVIDIA 1060 6GB, mechanical drives.
-- For installing Minecraft client and testing server.


Resources:
=========
- That Python temperature script
-- https://drive.google.com/open?id=1qtmqnFUZpam9s7H3Stk5R4TsSulbmLZl

- Cuberite Server
-- https://cuberite.org/
-- I don't want to deadlink their site, give it a browse


Timestamps:
===========
00:00 - 01:13... Intro and idle desktop/terminal comparisons
01:13 - 06:53... Java server CLI build and performance
06:53: - 11:00... Cuberite set up and initial build time
11:00 - 14:41... Cuberite game play performance
14:41 - end... Summary







Tags:
pi
pi 4
raspberry pi
raspberry pi 4
minecraft
dedicated server
guide
how to
java edition
minecraft dedicated server
cuberite
setup
performance



Other Statistics

Minecraft Statistics For 1738 Creations

Currently, 1738 Creations has 59,679 views for Minecraft across 4 videos. The game makes up 1 hour of published video on his channel, or 1.57% of the total watchable video for Minecraft on 1738 Creations's YouTube channel.