Re: [PATCHv3 2/4] qemu, lxc: Change host CPU number detection logic.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]