顯示具有 APPLE 標籤的文章。 顯示所有文章
顯示具有 APPLE 標籤的文章。 顯示所有文章

2020年8月11日 星期二

Macbook pro傳說 右邊孔比較不會發燙

我自己試起來也有這個現象,大家也可以做個實驗看看。


國外實測結果確實如此,下面有位網友在stackexchange上發問

如何找到導致kernal_task高CPU使用率的原因?

high kernel_task CPU usage

這個可能持續數分鐘到有時候會有數小時,電腦在這樣的狀態下不能很有效率的運行。

重開機也沒有幫助,新的kernel_task procee也會再次產生,直到所有操作完成為止


最佳解答回答說

內文太長不看的話,直接看結論: 如果你的MacBook Pro運行時高溫或者顯示kernel相關任務高CPU使用率,嘗試將充電線及轉接頭從電腦左側移到右側


原文附上,暫時不翻譯

TLDR; If your MacBook Pro runs hot or shows a high % CPU for the kernel task, try charging on the right and not on the left.


High kernel_task CPU Usage is due to high chassis temperature caused by charging. In particular Left Thunderbolt port usage.

Solutions include:

  • Move charging from the left to the right side. If you have a second charger then plug it in on the right side. Avoid plugging everything on the right side (see last paragraph below).
  • Unplug something from the left side. Either power or another accessory until the battery is full.
  • Force fans to max before plugging in. iStatMenus has an easy Sensors -> Fans menu item to do so. This only helps in marginal conditions.
  • Move to a cooler room.

Proof:

Actual CPU temperature or application CPU usage is uncorrelated with kernel_task. A hot CPU is throttled by reducing its clock speed, not by scheduling fake no-op load.

The graphs below are from iStatMenus. The machine had been used on battery then plugged in.

State A a USB-C hub (a mouse and keyboard, plus power) and a USB-C HDMI 2.0 adapter, both on the left side. You can see the Thunderbolt Left Proximity temperature sensor rise quickly. About 3-4 minutes later the dreaded kernel_task high CPU usage starts.

State B cures the kernel_task problem by moving power from the left ports to the right. The left side temperature drops and the kernel_task goes away within about 15 seconds.

This is causal. Moving power back to the left side, restoring State A, quickly restores the temperatures and kernel_task again comes back after 3-4 minutes. Again moving power back to the right side, restoring State B, resolves the problem immediately.

State C shows that simply having stuff plugged in to TB ports raises their temperature significantly. Both the hub (mouse and keyboard ONLY) and HDMI adapter individually raise the temperature about 10 degrees, and 15 degrees together.

CPU usage and temperature graphs

(all other temperatures were both low and flat. Under 55 degrees.)

Note that high temperature on the right side appears to be ignored by the OS. Plugging everything into the two right ports instead of the left raised the Right temperatures to over 100 degrees, without the fans coming on. No kernel_task either, but the machine becomes unusable from something throttling.

Ergo, high CPU usage by kernel_task is caused by high Thunderbolt Left Proximity temperature, which is caused by charging and having normal peripherals plugged in at the same time.

2017 15" Macbook Pro, MacOS 10.14.5


To actually answer the question:

How can I find out what this process is doing?

The only way to actually ask the kernel what it's doing is to attach a kernel debugger. That means getting a debug kernel from Apple, rebooting, then using a second Mac to attach to the debugged machine. You can then examine stack traces and guess what they mean.

Otherwise guessing and testing is the only way. Of course that leads to false conclusions more often than not.


 https://apple.stackexchange.com/questions/363337/how-to-find-cause-of-high-kernel-task-cpu-usage

2020年8月9日 星期日

“could not open /dev/ vmmon,Please make sure that the kernel module `vmmon' is loaded.”

 原本計劃使用mac就不要搞雙系統

但攝影課的老師要我們帶筆電去上課,並且指定要安裝兩款影像處理軟體

只好來處理Windows安裝問題


其中遇到的問題紀錄一下,之後會寫一篇安裝教學

“could not open /dev/ vmmon,Please make sure that the kernel module `vmmon' is loaded.”

基本上後來發現是安全性問題
先打開終端機,輸入
    sudo spctl --master-disable
接著打開安全與隱私權的設定

2020年7月25日 星期六

Macbook Pro 購買

終於過了好長的時間藉由在學中的表弟協助買了人生中的第一台macbook筆電 
Macbook Pro 16(2019)

購買的時間點是Line的10%回饋+教育價+BTS(送airpods)
另外有送一年的Apple TV+
基本上Line回饋是要扣掉稅金後的回饋,大概等於9.5%

教育價筆電折數不一,基本上越高價的折數越高(當時的觀察)
最後算完各種回饋(不考慮Apple TV+)是78折

另外在60天內可以購買Apple Care+,並且教育價是8折優惠
購買途徑可以藉由兩家直營門市(101,A13)或者電話辦理(一到五早上九點到下午六點之間才能辦理這個服務)

補充下不是Apple Care+不用教育價的話,未拆封下可以在德誼門市加保


目前買新的Apple裝置都有免費贈送一年的Apple TV+

開箱



















規格

ADGuard