AMP v2.5.1.2, built 24/07/2024 21:33 (2.5.1.2 - 20240724.5)
Mainline
I confirm:
[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.
Symptoms
What are you trying to do?
Not use multicore CPU usage calculation.
What are you expecting to happen?
When not using Multicore Calculation CPU Usage to be 100% when 1 core is used, 200% when 2 are used, etc.
What is actually happening? ('Nothing' is not an acceptable answer!)
CPU Usage stays the same regardless of if this setting is enabled 'Core.Monitoring.UseMulticoreCPUCalc' or not.
Reproduction
Create a Minecraft Java instance
Limit the cores in the instance settings (requires docker)
Enable Multicore CPU Usage Calculation in the instance configuration and restart instance
Run the server and monitor the CPU Usage
CPU Usage will hit but not exceed the exact percentage of cores you have set in the instance settings (2/8 core -> 25% CPU Usage max)
Disable Multicore CPU Usage Calculation in the instance configuration and restart instance
Run the server and monitor the CPU Usage
CPU Usage will be the exact same as with Multicore Calculation enabled
'Ignore SMT Cores' does seem to work and affect the CPU Usage accordingly.
CPU Is Ryzen 7 5800x 8C/16T
With 2 'Container CPUs' configured and 'Ignore SMT Cores' off regardless if Multicore Calculation is on or not, the server reports maximum 12% CPU usage (2/16 = 12.5%).
Same but on Debian 12 with multiple (hardware) servers and all game instances do it be it MC, RUST, SoTF, etc. One server is not using Docker while others are.
Bug Report
System Information
I confirm:
Symptoms
Reproduction
'Ignore SMT Cores' does seem to work and affect the CPU Usage accordingly.
CPU Is Ryzen 7 5800x 8C/16T
With 2 'Container CPUs' configured and 'Ignore SMT Cores' off regardless if Multicore Calculation is on or not, the server reports maximum 12% CPU usage (2/16 = 12.5%).