From 8b43a25996586046994bf62c587ae5d39773efb3 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 6 Mar 2012 11:55:36 +0000 Subject: [PATCH] Version 1.0.7. --- ChangeLog | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fbbe9b1..ded671f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,65 @@ +2012-03-06 Richard W.M. Jones + + Version 1.0.7. + + Ignore aclocal.m4. + + Document requirements in README file. + +2012-03-06 Lai Jiangshan + + virt-top: correct "virt-top -1" command via cpuacct cgroup + Old "virt-top -1" is not correct, its output is generated by guess: + use average usage for pinned physical CPUs. + + example(old "virt-top -1"): + + PHYCPU %CPU rhel6 Windows + 0 0.6 0.1= 0.5= + 1 0.6 0.1= 0.5=# + 2 0.6 0.1= 0.5= + 3 0.6 0.1=# 0.5= + + The output almost makes no sense(all the value are just average, not real). + + This is new implement, it use cpuacct cgroup to gain *real* physical usages + via cpuacct cgroup by virDomainGetCPUStats() API. + + new result: + + PHYCPU %CPU rhel6 Windows + 0 1.3 0.3 1.0 + 1 2.3 0.3 2.0 + 2 2.2 0.5 1.7 + 3 2.5 0.4 2.1 + + PHYCPU %CPU rhel6 Windows + 0 1.7 0.4 1.3 + 1 3.6 1.0 2.7 + 2 1.6 0.4 1.2 + 3 4.8 3.1 1.7 + + Note: average flag(=) is dropped, there is not average value in here. + Note: running flag(#) is dropped, because if the value is not empty, + it means the guest was once running in the physical CPU in this period + between updates. + + Changed from V3: + use new virDomainGetCPUStats() libvirt-API. + add a new function find_usages_from_stats() to gain cpu usages. + +2011-08-15 Richard W.M. Jones + + Ensure manpages get built when using native compiler (thanks Laurent Léonard). + 2011-08-12 Richard W.M. Jones + Version 1.0.6. + + Update MANIFEST and fix 'make dist'. + make dist now copies the generated manual pages into the tarball, so + that we don't have to keep these generated files in git. + Fix ordering of csv_mode and stream_mode in tuple. Note that this bug could have been avoided by using a struct instead of a tuple here. diff --git a/configure.ac b/configure.ac index 609c3a7..66e4159 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(virt-top,1.0.6) +AC_INIT([virt-top],[1.0.7]) AC_CONFIG_MACRO_DIR([m4]) AC_PROG_INSTALL -- 1.8.3.1