{"id":2091,"date":"2015-07-12T17:10:41","date_gmt":"2015-07-12T09:10:41","guid":{"rendered":"http:\/\/jir.no-ip.org\/wordpress\/?p=2091"},"modified":"2015-07-12T17:11:10","modified_gmt":"2015-07-12T09:11:10","slug":"%e7%af%80%e8%83%bd-%e9%99%8d%e6%ba%ab-%e6%8a%8a%e7%81%8clinux-os%e7%9a%84-cpu%e9%99%8d%e9%a0%bb","status":"publish","type":"post","link":"https:\/\/jir.idv.tw\/wordpress\/?p=2091","title":{"rendered":"\u7bc0\u80fd \u964d\u6eab \u628a\u704cLINUX OS\u7684 CPU\u964d\u983b"},"content":{"rendered":"<p>\u4e00\u6a23\u662f\u71b1\u6b7b\u4eba\u4e0d\u511f\u547d\u7684\u5929\u6c23<br \/>\n\u5982\u4f55\u628aCPU\u964d\u6eab \u53ea\u80fd\u624b\u52d5\u964d\u901f \u8b93\u4ed6\u6e1b\u5c11\u529f\u7387\u7684\u6d88\u8017<br \/>\n<code><br \/>\n[root]# cpupower -c 0,1 frequency-info<br \/>\nanalyzing CPU 0:<br \/>\n  driver: acpi-cpufreq<br \/>\n  CPUs which run at the same hardware frequency: 0 1<br \/>\n  CPUs which need to have their frequency coordinated by software: 0<br \/>\n  maximum transition latency: 10.0 us.<br \/>\n  hardware limits: 1000 MHz - 1.67 GHz<br \/>\n  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br \/>\n  available cpufreq governors: ondemand, userspace, performance<br \/>\n  current policy: frequency should be within 1.30 GHz and 1.67 GHz.<br \/>\n                  The governor \"userspace\" may decide which speed to use<br \/>\n                  within this range.<br \/>\n  current CPU frequency is 1.33 GHz (asserted by call to hardware).<br \/>\n  boost state support:<br \/>\n    Supported: yes<br \/>\n    Active: yes<br \/>\nanalyzing CPU 1:<br \/>\n  driver: acpi-cpufreq<br \/>\n  CPUs which run at the same hardware frequency: 0 1<br \/>\n  CPUs which need to have their frequency coordinated by software: 1<br \/>\n  maximum transition latency: 10.0 us.<br \/>\n  hardware limits: 1000 MHz - 1.67 GHz<br \/>\n  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br \/>\n  available cpufreq governors: ondemand, userspace, performance<br \/>\n  current policy: frequency should be within 1.30 GHz and 1.67 GHz.<br \/>\n                  The governor \"userspace\" may decide which speed to use<br \/>\n                  within this range.<br \/>\n  current CPU frequency is 1.33 GHz (asserted by call to hardware).<br \/>\n  boost state support:<br \/>\n    Supported: yes<br \/>\n    Active: yes<br \/>\n<\/code><\/p>\n<p>\u7531\u4e0a\u53ef\u4ee5\u5f97\u77e5 \u6211\u76841.6G\u7684CPU\u8a2d\u5b9a\u8dd11.33G\u7684\u72c0\u614b<br \/>\n\u6700\u5c11\u6700\u5c11\u9084\u53ef\u4ee5\u964d\u52301.0G\u7a69\u5b9a\u904b\u505a\u770b\u770b<br \/>\n<code><br \/>\n[root]# cpupower -c 0,1 frequency-set -d 1.0G -u 1.67G<br \/>\nSetting cpu: 0<br \/>\nSetting cpu: 1<br \/>\n<\/code><\/p>\n<p>\u8a2d\u5b9a\u4ee5\u5f8c \u5c31\u6703\u770b\u5230CPU\u88ab\u964d\u983b\u52301.0G\u7684\u901f\u5ea6\u4e86<br \/>\n<code><br \/>\n[root]# cpupower -c 0,1 frequency-info<br \/>\nanalyzing CPU 0:<br \/>\n  driver: acpi-cpufreq<br \/>\n  CPUs which run at the same hardware frequency: 0 1<br \/>\n  CPUs which need to have their frequency coordinated by software: 0<br \/>\n  maximum transition latency: 10.0 us.<br \/>\n  hardware limits: 1000 MHz - 1.67 GHz<br \/>\n  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br \/>\n  available cpufreq governors: ondemand, userspace, performance<br \/>\n  current policy: frequency should be within 1000 MHz and 1.67 GHz.<br \/>\n                  The governor \"userspace\" may decide which speed to use<br \/>\n                  within this range.<br \/>\n  current CPU frequency is 1000 MHz (asserted by call to hardware).<br \/>\n  boost state support:<br \/>\n    Supported: yes<br \/>\n    Active: yes<br \/>\nanalyzing CPU 1:<br \/>\n  driver: acpi-cpufreq<br \/>\n  CPUs which run at the same hardware frequency: 0 1<br \/>\n  CPUs which need to have their frequency coordinated by software: 1<br \/>\n  maximum transition latency: 10.0 us.<br \/>\n  hardware limits: 1000 MHz - 1.67 GHz<br \/>\n  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br \/>\n  available cpufreq governors: ondemand, userspace, performance<br \/>\n  current policy: frequency should be within 1000 MHz and 1.67 GHz.<br \/>\n                  The governor \"userspace\" may decide which speed to use<br \/>\n                  within this range.<br \/>\n  current CPU frequency is 1000 MHz (asserted by call to hardware).<br \/>\n  boost state support:<br \/>\n    Supported: yes<br \/>\n    Active: yes<br \/>\n<\/code><\/p>\n<p>\u81f3\u65bc\u6eab\u5ea6\u6709\u6c92\u6709\u964d\u4e0b\u4f86 \u770b\u8d77\u4f86\u4e0d\u660e\u986f@@<br \/>\n\u5148\u89c0\u5bdf\u770b\u770b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u6a23\u662f\u71b1\u6b7b\u4eba\u4e0d\u511f\u547d\u7684\u5929\u6c23 \u5982\u4f55\u628aCPU\u964d\u6eab \u53ea\u80fd\u624b\u52d5\u964d\u901f \u8b93\u4ed6\u6e1b\u5c11\u529f\u7387\u7684\u6d88\u8017 [root]# cpupower -c 0,1 frequency-info analyzing CPU 0: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 10.0 us. hardware limits: 1000 MHz &#8211; 1.67 GHz available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz available cpufreq governors: ondemand, userspace, performance current policy: frequency should be within 1.30 GHz and 1.67 GHz. The gove&#8230; <a href=\"https:\/\/jir.idv.tw\/wordpress\/?p=2091\" class=\"readmore\">Read more (\u5b8c\u6574\u6587\u7ae0\u5167\u5bb9)<span class=\"screen-reader-text\">\u7bc0\u80fd \u964d\u6eab \u628a\u704cLINUX OS\u7684 CPU\u964d\u983b<\/span><span class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2091","post","type-post","status-publish","format-standard","hentry","category-4","content-layout-excerpt-thumb"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2091"}],"version-history":[{"count":2,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2091\/revisions"}],"predecessor-version":[{"id":2093,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2091\/revisions\/2093"}],"wp:attachment":[{"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jir.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}