{"id":849,"date":"2021-12-12T03:50:43","date_gmt":"2021-12-11T21:50:43","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=849"},"modified":"2021-12-12T03:50:43","modified_gmt":"2021-12-11T21:50:43","slug":"how-to-fix-underclocking-ryzen-5600x-processors-in-openvz-7-centos-7-openvz-8","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/how-to-fix-underclocking-ryzen-5600x-processors-in-openvz-7-centos-7-openvz-8.html","title":{"rendered":"How to fix &#8216;underclocking&#8217; Ryzen (5600x) Processors in OpenVZ 7 \/ CentOS 7 \/ OpenVZ 8"},"content":{"rendered":"\n<p><strong>Question <\/strong><\/p>\n\n\n\n<p>My CPU is reporting underclocked eg. 2200Mhz while the actual CPU frequency is much higher (eg 3700Mhz for Ryzen 5600x)<\/p>\n\n\n\n<p><strong>Resolution<\/strong><\/p>\n\n\n\n<p>This issue appears because by default OpenVZ 7 \/ CentOS 7 uses a conservative approach to save your power. This approach is implemented using a tool called &#8216;CPUFREQ&#8217;. In OpenVZ 7, you can access this using the command &#8216;cpupower&#8217;. <\/p>\n\n\n\n<p>CPUFreq comes with a set of profiles. There are profiles like &#8216;conservative&#8217; or &#8216;ondemand&#8217; which saves power for you by underclocking your CPU, while there is other profile, like &#8216;performance&#8217; that gives the full power of your CPU. <\/p>\n\n\n\n<p>By default, cpufreq uses &#8216;conservative&#8217; or &#8216;ondemand&#8217; profile, which is why you usually see the clock is under the maximum power you have.<\/p>\n\n\n\n<p>To see the available governors or profile you have on your  system, you may use the following:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cpupower frequency-info --governors<\/pre>\n\n\n\n<p>To see the cpufreq settings, you may see them from:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/sys\/devices\/system\/cpu\/[cpuid]\/cpufreq\/.<\/pre>\n\n\n\n<p>Replace cpuid with the CPU number.<\/p>\n\n\n\n<p>Now, to change the underclocking of your CPU to the regular CPU clock, you may use the following command to set the governors to performance:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cpupower frequency-set --governor performance<\/pre>\n\n\n\n<p>This shall put your CPU back to 3700Mhz.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question My CPU is reporting underclocked eg. 2200Mhz while the actual CPU frequency is much higher (eg 3700Mhz for Ryzen 5600x) Resolution This issue appears because by default OpenVZ 7 \/ CentOS 7 uses a conservative approach to save your power. This approach is implemented using a tool called &#8216;CPUFREQ&#8217;. In OpenVZ 7, you can &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/how-to-fix-underclocking-ryzen-5600x-processors-in-openvz-7-centos-7-openvz-8.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to fix &#8216;underclocking&#8217; Ryzen (5600x) Processors in OpenVZ 7 \/ CentOS 7 \/ OpenVZ 8&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[639,640],"tags":[641,220,645,48,643,631,644,642],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/849"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=849"}],"version-history":[{"count":1,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/849\/revisions"}],"predecessor-version":[{"id":850,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/849\/revisions\/850"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}