Mark Wu has posted comments on this change. Change subject: report idle time for multiple vcpus ......................................................................
Patch Set 2: (1 inline comment) I don't know what the idle time of a vm means to engine. It idle time could be caused by low workload in guest, or not heavy load on host. .................................................... File vdsm/libvirtvm.py Line 163: netSamples[nic.name] = self._vm._dom.interfaceStats(nic.name) Line 164: return netSamples Line 165: Line 166: def _getCpuStats(self, stats): Line 167: nbVirtCPU = self._vm._dom._dom.info()[3] anyway, a redundant ._dom, should be self._vm._dom.info()[3], right? Line 168: stats['cpuSys'] = 0.0 Line 169: sInfo, eInfo, sampleInterval = self.sampleCpu.getStats() Line 170: Line 171: try: -- To view, visit http://gerrit.ovirt.org/7892 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I3308858f5c27c3dd193cd981c43721fa1cd023d9 Gerrit-PatchSet: 2 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Laszlo Hornyak <[email protected]> Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Doron Fediuck <[email protected]> Gerrit-Reviewer: Laszlo Hornyak <[email protected]> Gerrit-Reviewer: Mark Wu <[email protected]> Gerrit-Reviewer: Peter V. Saveliev <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
