[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] [xentop] fix abnormal value cpu(%) when domain shutdown.
Hi, This patch intends to fix the xentop cpu(%). If we test multiple domain create/shutdown many times. sometimes abnormal values of cpu(%) are appeared. This is because shutdown domain remove failure. (in other words, memory corruption of struct ) This corruption makes abnormal cpu(%) values are shown xentop sometimes. Signed-off-by: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx> ===example of problem=== NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSID Domain-0 -----r 332 0.7 988128 11.8 1048576 12.5 4 0 0 0 0 0 0 0 0 PVdomain.1 -----r 101 100.5 988160 11.8 1048576 12.5 4 0 0 0 1 0 0 0 0 PVdomain.2 -----r 149 200.4 988160 11.8 1048576 12.5 4 0 0 0 1 0 12 0 0 temp.1 -----r 35 100.5 463872 5.5 524288 6.3 4 0 0 0 1 0 0 0 0 temp.2 -----r 19 200.4 463872 5.5 524288 6.3 4 0 0 0 1 0 12 0 0 NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSID Domain-0 -----r 333 26.7 988128 11.8 1048576 12.5 4 0 0 0 0 0 0 0 0 ======Problem event ***PVdomain.1 d----- 103 529379705092.7 16 0.0 1048576 12.5 4 0 0 0 1 0 12 0 0 ======Problem event PVdomain.2 -----r 156 200.9 988160 11.8 1048576 12.5 4 0 0 0 0 0 0 0 0 temp.1 -----r 39 101.4 463872 5.5 524288 6.3 4 0 0 0 1 0 0 0 0 NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSID Domain-0 -----r 334 33.7 988128 11.8 1048576 12.5 4 0 0 0 0 0 0 0 0 PVdomain.2 -----r 162 1890.8 988160 11.8 1048576 12.5 4 0 0 0 1 0 12 0 0 temp.1 -----r 42 100.8 463872 5.5 524288 6.3 4 0 0 0 1 0 0 0 0 temp.2 -----r 32 0.0 463872 5.5 524288 6.3 4 0 0 0 1 0 12 0 0 Thanks Atsushi SAKAI Attachment:
fix_xentop_abnomal_cpu_pct.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |