Monitoring CPU usage bug

  • 265 Views
  • Last Post 3 weeks ago
NeoXen posted this 09 February 2018

Hi there,

I don't know if this has been reported already or if this is a problem specific to my setup, so sorry if I missed out on something. If so, feel free to close this immediately ;)

As you can see, AMP shows 2% CPU usage for my Minecraft server, while the server reports 64% (the minecraft server is the only java-app that I use).

How does AMP get the info from the system? Is there anything I can change to get this right?

Greetings and thanks in advance,

Neo

enter image description here

System: Ubuntu 16.04 LTS

AMP Version: AMP Release "TN/SR4" v1.6.0.0, built 20/01/2018 15:59

Order By: Standard | Newest | Votes
Mike posted this 10 February 2018

How many CPU cores does the system have? There's a difference in how AMP and top report CPU usage so its probably the intended behaviour.

NeoXen posted this 11 February 2018

How many CPU cores does the system have? There's a difference in how AMP and top report CPU usage so its probably the intended behaviour.

Hi Mike, the system (VPS) has 6 vCores.

Mike posted this 11 February 2018

Try turning off Multicore CPU usage calculation under the Monitoring settings.

NeoXen posted this 11 February 2018

Try turning off Multicore CPU usage calculation under the Monitoring settings.

This actually changed nothing, seems to display the same as before ;D

Possemaster posted this 3 weeks ago

Any update on CPU calculation?

If I have "Multicore CPU usage calculation" Turned on , it never goes above 1% or 2% which is very very incorrect. And if I turn "Multicore CPU usage calculation" off it almost always shows 100% which is incorrect as well.

I have tuned all cores (affinity) on during creation of the Minecraft instance but this does not change a damn thing.

This software for me is useless if I cannot see how my CPU utilization is.

Please fix it!!!

I tried latest build 1.6.8.0 and now I am on nightly 1.7.0.0 but it does not change anything.

enter image description here

Mike posted this 3 weeks ago

Is this running in a virtual machine or on real hardware? AMP actually just asks the OS for CPU/RAM usage information but that data isn't always correct in certain types of VM.

We're looking to changing to a different mechanism to get this info based on the Windows Performance Counters but we're not sure how that'll behave yet.

Close