I have hired a VPS to host a vanilla minecraft server for max 15 players at a time. I start the server with a freshly generated map. When I am alone it is not too bad, but when multiple people are moving around it is not playble. I start the server with 3GB of ram.
When running the server the average used ram of the VPS is 1.64GB. and the CPU usage shifts between 15% and 100%. I have noticed that the lag occurs when the CPU is in high usage (80%-100% range). I do not understand why the CPU usage goes up so much when i have 2 high speed CPU cores on a fresh, vanilla world without any big amound of entities.
Any help would be greatly appreciated and many thanks in advance!
Processor : Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
CPU Cores : 2
Frequency : 3200.164 MHz
Memory : 3955 MB
Uptime : 2 days, 1:52,
OS : Debian GNU/Linux 9
Arch : x86_64 (64 Bit)
Kernel : 4.9.0-8-amd64
Server location: Germany