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

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



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

Attachment: signature.asc
Description: OpenPGP digital signature


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