I have been using a RPi 4 Rev 1.4 (4GB RAM) as a Minecraft game-server for a relatively long time now. It had Java 11 installed (Amzn-Coretto 11) and ran Spigot-1.16.4 with about 50 plugins installed.
It had relatively good performance, only lagging when there were many chunks loaded at once, for example by flying through the world, or when power consuming commands were issued - some World Edit ops for example.
Three days ago I installed Amazon-Coretto 17 on the Pi and updated to Spigot-1.18.1-beta. Since there is no release for this particular Spigot version yet, I just got the beta to test if I can continue running the server on the new verison. So, I also upgraded the Minecraft world to 1.18.1 by opening it in 1.18.1 single-player and uploaded it into Spigot.
I also upgraded the RaspberryPi OS to the newest beta release of the "bullseye", a 64 bit version, assuming it may unlock the full potential of the RPi 4, since the processor is built to support the 64 bit architecture.
After the upgrade, playing on the server became pretty much impossible, due to ages of chunk loading time (up to about 9000ms) and general lag, making it impossible to move for more then 30 blocks without being "teleported" backwards. Even issuing commands takes up to 10 seconds.
Question Since I have not much experience with troubleshooting a gameserver, I wanted to ask, if these lags can be linked to the beta-versions of both Spigot and/or RaspberryPi OS (64bit) or generally to operating Spigot on a 64 bit architecture, so I know, which things I have to focus on, trying to fix the issue.
If more info is needed, please ask in the comments and i'll gladly provide it!
(I also posted this to the SuperUser Stack Exchange)