shwstppr commented on code in PR #285: URL: https://github.com/apache/cloudstack-documentation/pull/285#discussion_r961360604
########## source/upgrading/upgrade/kvm-417.rst: ########## @@ -0,0 +1,30 @@ +.. Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information# + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +KVM agents CPU speed detection issue +==================================== + +There is an issue with AMD (and possibly other CPU architectures) on the CPU speed detection at the +4.17.0 and 4.17.0.1 CloudStack agents on KVM hosts at startup. The CloudStack agents will attempt to +get the CPU speed by reading the `/sys/devices/system/cpu/cpu0/cpufreq/base_frequency` information. +However, the CPU speed information is not included in all the CPU architectures. Review Comment: ```suggestion However, the CPU speed information is not included in all the CPU architectures. In such cases, `libvirt` is used to retrieve the CPU speed which may not always report the correct base speed value for the CPU. ``` ########## source/upgrading/upgrade/kvm-417.rst: ########## @@ -0,0 +1,30 @@ +.. Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information# + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +KVM agents CPU speed detection issue +==================================== + +There is an issue with AMD (and possibly other CPU architectures) on the CPU speed detection at the +4.17.0 and 4.17.0.1 CloudStack agents on KVM hosts at startup. The CloudStack agents will attempt to +get the CPU speed by reading the `/sys/devices/system/cpu/cpu0/cpufreq/base_frequency` information. Review Comment: ```suggestion get the CPU speed using `lscpu` output and by reading the `/sys/devices/system/cpu/cpu0/cpufreq/base_frequency` information. ``` -- 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: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org