{"id":2909,"date":"2019-06-13T15:54:14","date_gmt":"2019-06-13T07:54:14","guid":{"rendered":"http:\/\/www.banbanli.net\/blog\/?p=2909"},"modified":"2019-06-13T16:00:26","modified_gmt":"2019-06-13T08:00:26","slug":"change-cpu-frequency","status":"publish","type":"post","link":"http:\/\/www.banbanli.net\/blog\/?p=2909","title":{"rendered":"Change CPU frequency in CentOS\/Linux"},"content":{"rendered":"<p><code>cat \/proc\/cpuinfo<\/code><br \/>\nprocessor : 7<br \/>\nvendor_id : GenuineIntel<br \/>\ncpu family : 6<!--more--><br \/>\nmodel : 58<br \/>\nmodel name : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz<br \/>\nstepping : 9<br \/>\nmicrocode : 0x21<br \/>\ncpu MHz : 1599.975<br \/>\ncache size : 8192 KB<br \/>\nphysical id : 0<br \/>\nsiblings : 8<br \/>\ncore id : 3<br \/>\ncpu cores : 4<br \/>\napicid : 7<br \/>\ninitial apicid : 7<br \/>\nfpu : yes<br \/>\nfpu_exception : yes<br \/>\ncpuid level : 13<br \/>\nwp : yes<br \/>\nflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm epb ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts md_clear spec_ctrl intel_stibp flush_l1d<br \/>\nbogomips : 6819.91<br \/>\nclflush size : 64<br \/>\ncache_alignment : 64<br \/>\naddress sizes : 36 bits physical, 48 bits virtual<br \/>\npower management:<\/p>\n<p>Check CPU support governor mode<br \/>\n<code>cat \/sys\/devices\/system\/cpu\/cpu0\/cpufreq\/scaling_available_governors<\/code><\/p>\n<p>performance powersave<\/p>\n<p><code>echo \"performance\" &gt; \/sys\/devices\/system\/cpu\/cpu0\/cpufreq\/scaling_governor<\/code><\/p>\n<p><code class=\"bash functions\"><\/code><\/p>\n<p><code>cat<\/code>\u00a0<code class=\"bash plain\">\/sys\/devices\/system\/cpu\/cpu0\/cpufreq\/scaling_cur_freq<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>cat \/proc\/cpuinfo processor : 7 vendor_id : GenuineIntel cpu family : 6<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2909","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2909"}],"version-history":[{"count":5,"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2909\/revisions"}],"predecessor-version":[{"id":2914,"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2909\/revisions\/2914"}],"wp:attachment":[{"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2909"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.banbanli.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}