ÔÚLinuxϵͳÏÂÓ¦ÓúÍÓÅ
̽Ë÷CoreFreqÔÚLinuxÇéÐÎÖеÄÓ¦ÓúÍÓÅÊÆ
×÷Ϊһ¿î¿ªÔ´µÄÐÔÄܼà¿Ø¹¤¾ß£¬CoreFreqÔÚLinuxÇéÐÎϱ¸ÊܽӴý¡£Ëü¿ÉÒÔ×ÊÖúÓû§ÊµÊ±¼à¿Ø´¦Öóͷ£Æ÷µÄÊÂÇéÇéÐΣ¬°üÀ¨ÆµÂÊ¡¢Î¶ȡ¢µçѹµÈ¶à¸ö·½ÃæµÄÐÅÏ¢¡£±¾ÎÄǨ¾ÍCoreFreqµÄ×°Öá¢ÉèÖÃÒÔ¼°´úÂëʾÀý¾ÙÐÐÏêϸ̽ÌÖ£¬Õ¹Ê¾ËüÔÚLinuxϵͳÖеÄÓ¦ÓúÍÓÅÊÆ¡£
1. ×°ÖÃCoreFreq
ÔÚLinuxϵͳÖУ¬×°ÖÃCoreFreqºÜÊǼòÆÓ¡£¿ÉÒÔͨ¹ýÔ´´úÂë±àÒë×°ÖûòʹÓðü¹ÜÀíÆ÷×°Öá£ÏÂÃæÊÇʹÓðü¹ÜÀíÆ÷ÔÚDebian/UbuntuϵͳÖÐ×°ÖÃCoreFreqµÄʾÀýÏÂÁ
sudo apt-get update sudo apt-get install corefreq
µÇ¼ºó¸´ÖÆ
×°ÖÃÍê³Éºó£¬¿ÉÒÔͨ¹ýÏÂÁîÐÐÔËÐÐCoreFreq¾ÙÐмà¿Ø¡£
2. ÉèÖÃCoreFreq
CoreFreq¿ÉÒÔͨ¹ýÉèÖÃÎļþ¾ÙÐиöÐÔ»¯ÉèÖá£Óû§¿ÉÒÔµ÷½â¼à¿ØÏƵÂÊÏÔʾ¡¢ÑÕÉ«¡¢Ë¢Ð¾àÀëµÈ²ÎÊý¡£ÉèÖÃÎļþͨ³£Î»ÓÚ/etc/corefreq/corefreq.conf£¬¿ÉÒÔƾ֤ÏêϸÐèÇó¾ÙÐÐÐ޸ġ£
3. ʹÓÃCoreFreq
CoreFreqµÄʹÓúÜÊÇÎÞа£¬¿ÉÒÔͨ¹ýÏÂÁîÐлòͼÐνçÃæÀ´ÊµÏÖ¼à¿Ø¡£ÏÂÃæÊÇһЩ³£ÓõÄÏÂÁîʾÀý£º
ÏÔʾËùÓÐCPU½¹µãµÄƵÂʺ͸ºÔØ£º
corefreq-cli -v
µÇ¼ºó¸´ÖÆ
ÒÔͼÐνçÃæÏÔʾCPU¸÷¸ö½¹µãµÄζÈÐÅÏ¢£º
corefreq-cli -g temp
µÇ¼ºó¸´ÖÆ
ÏÔʾCPU×ÜÌåµÄ¸ºÔØÐÅÏ¢£º
corefreq-cli -c
µÇ¼ºó¸´ÖÆ
4. ÓÅÊÆÆÊÎö
ÔÚLinuxÇéÐÎÖУ¬CoreFreqÓÐÒÔϼ¸¸öÏÔÖøÓÅÊÆ£º
ʵʱ¼à¿Ø£ºCoreFreq¿ÉÒÔÌṩʵʱµÄ´¦Öóͷ£Æ÷¼à¿ØÐÅÏ¢£¬×ÊÖúÓû§ÊµÊ±·¢Ã÷²¢½â¾öÐÔÄÜÆ¿¾±ÎÊÌâ¡£
ÇáÁ¿¼¶£ºCoreFreqÊÇÒ»¸öÇáÁ¿¼¶µÄ¹¤¾ß£¬¶Ôϵͳ×ÊÔ´ÏûºÄ½ÏÉÙ£¬¿ÉÒÔ³¤Ê±¼äÔËÐжø²»Ó°ÏìϵͳµÄÕý³£ÊÂÇé¡£
¶à¹¦Ð§ÐÔ£ºCoreFreqÌṩÁ˸»ºñµÄ¼à¿ØÏîºÍÏÔʾ·½·¨£¬Óû§¿ÉÒÔƾ֤ÐèÒª¾ÙÐиöÐÔ»¯ÉèÖã¬Öª×ã²î±ð³¡¾°µÄ¼à¿ØÐèÇó¡£
¿ªÔ´Ãâ·Ñ£ºCoreFreqÊÇÒ»¿î¿ªÔ´Ãâ·ÑµÄÈí¼þ£¬Óû§¿ÉÒÔ×ÔÓÉ»ñÈ¡Ô´´úÂë¡¢Ð޸ĺͶ¨ÖÆ£¬Ò²Òâζ×ÅÆäÇå¾²ÐÔ¸ü¸ß¡£
ͨ¹ý±¾ÎĵÄÏÈÈÝ£¬ÎÒÃÇ¿ÉÒÔ¿´µ½CoreFreqÔÚLinuxÇéÐÎÖеÄÆÕ±éÓ¦ÓúÍÓÅÊÆËùÔÚ¡£ËüΪÓû§ÌṩÁËÒ»¸öÇ¿Ê¢µÄÐÔÄܼà¿Ø¹¤¾ß£¬×ÊÖúÓû§¸üºÃµØÏàʶ´¦Öóͷ£Æ÷µÄÊÂÇéÇéÐΣ¬ÌáÉýϵͳµÄÐÔÄܺÍÎȹÌÐÔ¡£ÈôÊÇÄúÊÇÒ»ÃûLinuxϵͳÖÎÀíÔ±»ò¿ª·¢Ö°Ô±£¬ÎÞ·ÁʵÑéʹÓÃCoreFreq£¬ÌåÑéÆäÇ¿Ê¢¹¦Ð§´øÀ´µÄ±ã½ÝÓëЧÂÊ¡£
ÒÔÉϾÍÊÇÔÚLinuxϵͳÏÂÓ¦ÓúÍÓŵÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡