Linux核心過熱

來源:互聯網
上載者:User

昨天裝了centOs的系統 晚上回去是遠程copy了幾個檔案

幾天早上來看到報這樣的資訊 

Code
 1 Message from syslogd@oddscollector7 at Thu Jan 10 05:42:08 2008 
 2oddscollector7 kernel: CPU0: Temperature above threshold
 3
 4Message from syslogd@oddscollector7 at Thu Jan 10 05:42:08 2008 
 5oddscollector7 kernel: CPU1: Temperature above threshold
 6
 7Message from syslogd@oddscollector7 at Thu Jan 10 05:42:08 2008 
 8oddscollector7 kernel: CPU1: Running in modulated clock mode
 9
10Message from syslogd@oddscollector7 at Thu Jan 10 05:42:08 2008 
11oddscollector7 kernel: CPU0: Running in modulated clock mode

 據說是2.6 核心的溫度閥值過低造成

屏蔽掉這個提示的辦法:修改/etc/syslog.conf,注釋掉 *.emerg 這一行,然後:
/etc/init.d/syslogd restart
P4處理器的thermal monitoring列印的資訊.(你的是P4吧?), 這個資訊
說明你的CPU核的溫度已經超出範圍. (你從哪裡看到你的溫度是正常的?)
注:AMD的CPU也一樣(我的機器是AMD雙核4000/+)P4處理器內部的thermal monitoring設定了技術來檢測是否P4 core溫度是否
超過一個閥值(trip temperature, 廠家定義), 這個溫度感應器檢測到的溫度
若超過的trip temperature(也即是列印資訊中的那個threashold閥值), 就產生
一個中斷.

linux kernel定義了這個中斷控制代碼, 即列印下面的這些資訊.

若不想看到這個資訊, 可以重編譯核心禁用CONFIG_X86_MCE_P4THERMAL選項,
即make menuconfig中的
[Processor type and features]-> [check for P4 thermal throttling interrupt.]
這個選項去除.

若不想編譯核心, 就在啟動時增加命令列選項nomce, 但這樣做就禁用了
所有P4的Machine Check能力(包括CPU熱監視能力)cat /proc/cpuinfo 然後在flags那一項可以看到是否支援MCE(大部分都支援)
. 用root登陸。
2. 編輯啟動設定檔:/boot/grub/menu.lst
3. 添加“nomce”啟動選項

例如:
title Red Hat Enterprise Linux AS (2.6.9-xx.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-xx.ELsmp ro root=/dev/VolGroup00/LogVol00 rhgb quiet nomce

最後, 不管你怎麼不願意看到這些資訊, 都無法否定你的CPU已經過熱, 你的
CPU時鐘的觸發(上升下降研)頻率已經被降低, 你的系統效能應該已經降低了.
最治本的方法是再修理你的CPU啊, 風扇啊, 主板啊.
如果BIOS中有相關溫度警示的選項可以關掉.

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.