On 11/13/2012 05:54 AM, Viktor Mihajlovski wrote:
> The drivers for QEMU and LXC use virNodeGetInfo only to determine
> the number of host CPUs. On Linux hosts nodeGetCPUCount has less
> overhead.
> ---
> V3 Changes:
> Commit message wording, since Peter's fix, nodeGetInfo will return
> correct/consistent topology. Still, this here is more efficient.

Indeed - parsing cpu/present (when available) is much faster than
parsing each of cpu/cpuNN/online.

ACK and pushed.

-- 
Eric Blake   [email protected]    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to