Hi Sridhar,
There is an issue with the code that is pushed from gerrit to the git trunk:
Here, the logs are OK: including git logs/comments:
https://github.com/opnfv/vswitchperf/commit/be271aef854887fce72d821a8589dfd4ebbe8e1d
Here the logs are NOK, no git logs/comments:
https://github.com/opnfv/vswitchperf/commit/19f9c5dc2ae313c1797f5b0112d1b1e9b2766edf
Please, what's happened? How to fix it?
We are loosing the log from:
https://gerrit.opnfv.org/gerrit/#/c/55089/
sysmetrics/pidstat: monitor all threads Since sysstat commit
52977c479d3d ("Introduce new SP_VALUE_100() macro and use it in
pidstat"), pidstat can return a wrong CPU usage for all monitored PIDs.
For example, if a process like ovs-vswitchd uses 2 threads, the CPU
usage of each thread (TID) is equal to 100%, so the CPU usage of the
main process (PID) must be equal at least to 200%. However, with this
sysstat commit, the CPU usage is restricted to 100%. It is not possible
to change this behavior. Now, pidstat is started in order to monitor all
threads created by a process. As the output header has changed, readapt
the existing code. In order to fix this issue, only the CPU usage is
accumulated with all threads. For all other measures, main process
should report correct values.
JIRA: VSPERF-569
Thank you,
Vincent
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss