Hello, team
I have a question about Minimal error of "ActiveVirtualProcessors" on SBLIM.
It has a value "ActiveVirtualProcessors" which is almost same as assigned logical cpu of Linux on virtualized environment, but also has minimal error with it.
for example,
* Linux-1 with 2 LogialCPU : "ActiveVirtualProcessors"=1.999925
* Linux-2 with 2 LogialCPU : "ActiveVirtualProcessors"=2.000034
What is this minimal error ?
And why does this minimal error come ?
And is this a bug or specification ?
I guess this minimal error comes from round-off error in FLOP because data type is float32, right?
Thank you.
The value of ActiveVirtualProcessors should be a whole number representing the number of physical CPUs allocated to the virtual machine. It is curious that you are seeing the values slight above or below a whole number. It would actually make more sense to represent this metric as an unsigned integer.
Can you give me some details about your environment?
Distro
version of the data gatherer
version of libvirt
Sorry, this got lost in the back log. I've never encountered this before. Yes, I suppose a rounding error could be the problem since the metric is defined as real32. However, I am surprised to encounter a rounding error for such small whole values.
Can you provide any detail about your environment?
Architecture (x86, ARM, etc)
Platform (Redhat, Suse, 32bit/64bit)
cimserver (sfcb, tog-pegasus)
Version of gatherer installed
There has been no feedback providing more information about the environment where this was seen. I have never encountered this scenario, and I am therefore moving this to pending-works-for-me.