i've recently made a switch from an MC Hosting Platform to a dedicated VPS that i have full control over to improve the performance of my minecraft server. I'm using spigot 1.14.4 with a single plugin (for skins) and some datapacks. I made the switch because the hosting platform was pretty mediocre in performance for the price we paid and the VPS had a pretty decent deal going on.
The VPS specs are:
4 vCores (Intel Xeon Gold 5120 @ 2.20Ghz)
160GB of SSD Storage
I am running the server with a bat containing this line:
as far as i am concerned, -d64 runs the 64-Bit version of Java, -server runs the VM as a server VM, which should improve performance, Xms and Xmx allocate memory (for both startup and while it's running), UseG1GC is apparently for garbage dumping, which should help with performance with more RAM allocated, at least from what i've read up. And nogui just doesn't start up the gui (which i don't really need).
Yet i always encounter overloads, almost constantly, running behind between 100 and 1000 ticks on average.I tried allocating more or less RAM, both for startup and general usage, without any change. I am getting really kinda annoyed by it and i don't know what i can do to fix it.
If there are any questions you'd like me to answer to help me, go ahead and ask.
I really hope someone here can help me out a bit,
thanks in advance
EDIT: I attached an image, showing the results of a short debug session i ran, maybe it'll help