weizhouapache commented on pull request #5506: URL: https://github.com/apache/cloudstack/pull/5506#issuecomment-930033068
> > tested ok on nested u20 environement. > > @leolleeooleo could you please test it ? > > lscpu works fine on Intel CPU. So that on the Intel platform can get normal frequency from lscpu. > > AMD CPU doesn't have frequency in "Model name". So that on AMD platform will get the maximum frequency from /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq. I don't have AMD server to try it, but that will get the normal frequency from cpuinfo_max_freq I had search from google. > > Now all CPUs have boost frequency (IntelĀ® Turbo Boost Technology and AMD Turbo Core). How do you think the server CPU capacity is depend on normal frequency or maximum frequency? > > If you think Turbo frequency can get more performance on VMs, I suggest change the order to: cpuinfo_max_freq > lscpu > libvirt @leolleeooleo lscpu, libvirt, /proc/cpuinfo return almost same value, but cpuinfo_max_freq returns different value if cpu supports Turbo boost or turbo core. as far as I know, only single core can reach the max frequency. we cannot assume all cpu cores can reach the max frequency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
