Friday, September 19, 2014

Thermal Zones

Today we're going to be taking a look into thermal zones, which are essentially different physical regions of the hardware platform that are partitioned. This act of partitioning is done so that when a sensor detects that a thermal zone is overheating, it will either use passive or active cooling to cool the devices in the specific thermal zone. I'm still learning about them in-depth as they're relatively confusing.

 ACPI thermal zone ACPI\ThermalZone\TZS0 has been enumerated.  
 _PSV = 371K  
 _TC1 = 0  
 _TC2 = 50  
 _TSP = 0ms  
 _AC0 = 0K  
 _AC1 = 0K  
 _AC2 = 0K  
 _AC3 = 0K  
 _AC4 = 0K  
 _AC5 = 0K  
 _AC6 = 0K  
 _AC7 = 0K  
 _AC8 = 0K  
 _AC9 = 0K  
 _CRT = 373K  
 _HOT = 0K  
 _PSL - see event data.  

Having a look at the above event data, this is the thermal zone data for the TZS0 sensor. Without having other more detailed event data logs aside from this, I can only assume this is the sensor for the CPU. The reason for this is the _PSL child object is used to list the processors in the thermal zone. If we saw _TZD instead of _PSL, this would list the non-processor devices in the thermal zone. For the moment however, we'll just assume the entire system was overheating as this was a really hot laptop. Let's go down the line:

PSV

_PSV Indicates the temperature at which the operating system started passive cooling control. In our case here, this was 371K (K = Kelvin). 371 Kelvin is 97.85 Celsius. The system we're dealing with in this post is an Acer Aspire 5740G, which according to tech specs houses an i5 430m for its processor. If we consult the manual:

We can see the max temperature is 105C regarding the CPU core, and 100C for the integrated graphics + IMC. With this said, the CPU started throttling (passive countermeasure to overheating) at 97.85C. How did the CPU know when to start throttling? PROCHOT#!

PROCHOT# is Intel's thermal throttle activity bit:


Note it states - The TCC will remain active until the system deasserts PROCHOT#. In fancy software engineer talk, this simply means that so long as the temperatures continue to rise (or doesn't drop), it will continue to lower power consumption from the CPU until it's in a safe spot. The downside to this is in extreme situations of overheating (like this one here), we trip because we hung around at an unsafe operational temperature for too long (or got higher) and shut down to prevent permanent damage.

TC1/2

_TC1/2 - These are both known as the Thermal Constants, which are essentially objects used to evaluate the constants _TC1/2 for use in the passive cooling formula.

 Performance [%]= _TC1 * ( Tn -Tn-1 ) + _TC2 * (Tn. - Tt)  

The return value is an integer containing Thermal Constant #'s 1 or 2. In our case, our return value was 50 for _TC2.

TSP

_TSP - Evaluates to a thermal sampling period (in tenths of seconds) used by Operating System-directed configuration and Power Management (OSPM) to implement the passive cooling equation. This value, along with _TC1 and _TC2, will enable OSPM to provide the proper hysteresis required by the system to accomplish an effective passive cooling.

In our case, this was 0ms.

AC(x)

_AC(x) - This optional object, if present under a thermal zone, returns the temperature trip point at which Operating System-directed configuration and Power Management (OSPM) must start or stop active cooling, where (x) is a value between 0 and 9 that designates multiple active cooling levels of the thermal zone.

In our case, we can see it does go 0-9, and all is listed as 0 Kelvin.

CRT

_CRT - Indicates the temperature at which the operating system will shut down as it simply cannot throttle (passive) or use fans (active) to succeed in cooling these temperatures in time before permanent damage. In this case, we can see it's 373k (373 Kelvin) when this occurred, which is 99.85 Celsius. Unsure as to why this is 99.85 and not 100 in our case, but I digress. Possibly it rounded up?

HOT

_HOT - Indicates the return value (temperature) at which Operating System-directed configuration and Power Management (OSPM) may choose to transition the system into the S4 sleeping state.

--------------------

In any case, all we know is that this laptop was having some serious overheating problems. It was occurring mostly overnight when the system was being awoken from sleep to perform a defrag. The defrag was enough to push it to throttle/shutdown temperatures, which was also throwing bug checks as Windows wasn't happy it couldn't defrag.

Thanks for reading, and hopefully more info on thermal zones in the near future.

References

ACPI-defined devices
Advanced Configuration and Power Interface Specification
Intel® Atom™ Processor 330 Series Datasheet

41 comments:

  1. Thanks for the information.
    Best regards, very useful.

    ReplyDelete
  2. Hey, this is amazing content. thank you for sharing.
    ReverseEngineering

    ReplyDelete
    Replies
    1. Nice read! Always a pleasure reading! Thank you for sharing!
      Anyway, anyone heard of the project Whistler Grand in D05 in Singapore? I heard it is a pretty good project with huge potential upside . Anyone else interested? Check this out! 🇸🇬

      Whistler Grand

      Delete
  3. Nice read! Always a pleasure reading! Thank you for sharing!
    Anyway, anyone heard of the project Whistler Grand in D05 in Singapore? I heard it is a pretty good project with huge potential upside . Anyone else interested? Check this out! 🇸🇬

    Whistler Grand

    ReplyDelete
  4. Nice read! Always a pleasure reading! Thank you for sharing!
    Anyway, anyone heard of the project Whistler Grand in D05 in Singapore? I heard it is a pretty good project with huge potential upside . Anyone else interested? Check this out! 🇸🇬

    Whistler Grand

    ReplyDelete
  5. Liver Transplant is usually a treatment option for those whose conditions can’t be controlled with other treatments. It is also an option for those with liver cancer. There is no specific time or age for a liver failure as such as it may happen quickly or over a long period. When liver failure occurs quickly in a short span, it is known as acute liver failure. Acute Liver Failure arises due to complications from certain medications. Liver transplant is more often used to treat chronic liver failure however, it can treat acute liver failure as well.
    liver transplant in india
    living donor liver transplant india

    ReplyDelete
  6. Vituscare commits to providing a World Class Dialysis Management Program that focuses on improving the quality of life of individuals and their families. We offer quality services with state of art technology to achieve holistic care and well being of our guests.
    Dialysis

    ReplyDelete
  7. We are with you when you take the journey of becoming a mother to deliver your new-born. We provide you with care, comfort, and expertise necessary for enjoying the pleasure of parenting. Every birth is unique and every baby is a special gift. We are honoured to be part of this exciting time in your life best maternity hospital in Bangalore.
    best hospital for normal delivery in bangalore
    fertility center in bangalore

    ReplyDelete
  8. Dr Kaushal Yadav is an extensively trained cancer surgeon in Gurgaon, India with exceptional skills. An alumini of MS (Surgery) from PGIMS, Rohtak, Haryana, India. Dr Yadav did super specialization in Surgical Oncology from Tata Memorial Hospital, Mumbai, India which is one of the best hospitals for cancer in Asia.
    Best Cancer doctor in gurgaon
    best care for cancer paitents
    best oncology surgery docotor in gurgaon

    ReplyDelete
  9. Thank you for sharing the knowledge of Canon Pixma printers. We Help you to Install the setup canon.cpm/ijsetup. It requires to switch on of your printer to proceed online activate. So if it is Wireless then you can set up by the online updates.

    ReplyDelete
  10. Hey, this is amazing content. thank you for sharing. cybersuggest

    ReplyDelete
  11. Its like you learn my thoughts! You appear to understand so much about this, like you wrote the book in it or something. I believe that you could do with some % to pressure the message house a little bit, but instead of that, this is magnificent blog. A fantastic read. I will certainly be back. Feel free to visit my website; 야설

    ReplyDelete
  12. Hi, after reading this remarkable piece of writing i am as well happy to share my experience here with friends. 파워볼사이트

    ReplyDelete
  13. Thanks for information and keep updating us with valuable content and if possible provide us with. 바카라사이트

    ReplyDelete
  14. Yes I am totally agreed with this article and i just want say that this article is very nice and very informative article. I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks
    안전놀이터

    ReplyDelete
  15. Help increase the money in your wallet for unlimited. With little investment, you can get rich. betflix

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete
  17. Nice article. This is quite informative. 먹튀검증

    ReplyDelete
  18. For those instances when a thermal zone contains more than one space, the software shall either model the receptacle and process loads separate for each space and sum energy consumption and heat gain for each time step of the analysis or it must incorporate some procedure to sum inputs or calculate weighted averages such that the receptacle and process loads used at the thermal zone level are equal to the combination of receptacle and process loads for each of the spaces contained in the thermal zone.

    Ref : https://sites.google.com/site/bestessaywritingservicereview/

    ReplyDelete
  19. บริการเกมสล็อตออนไลน์ปี 2022 เกมให้เลือกเล่นมากกว่า 1,000 เกม ฝาก50รับ150 สล็อตออนไลน์ ซุปเปอร์สล็อต ซุปเปอร์สล็อต78

    ReplyDelete
  20. If anyone wants a leather jacket in good quality, You can also check our leather jackets collection on tobleo.com.

    ReplyDelete
  21. I really enjoy reading your articles! Your writing style is engaging and your insights are thought-provoking. Thank you for sharing your knowledge and expertise with the world.

    Do my homework is a request that students often make when they are unable to complete their academic assignments on their own. Homework is an essential component of education, as it allows students to practice and reinforce concepts learned in the classroom. However, it can also be a source of stress and anxiety, particularly when students struggle with the material or have limited time to complete their assignments.

    When a student asks someone to Do My Homework, they may seek assistance from a tutor, academic writer, or online resource. While seeking help is a common practice, it is important for students to maintain academic integrity and ensure that the work they submit is their own. Plagiarism can result in serious consequences, including academic discipline and a tarnished reputation.

    Ultimately, the goal of homework is to enhance learning and prepare students for success in their academic and professional careers. By taking responsibility for their own learning and seeking help when necessary, students can effectively manage their workload and achieve their goals.

    ReplyDelete

  22. Looking forward to reading more. Great article post.

    ReplyDelete
  23. I like the helpful info you provide in your articles.

    ReplyDelete
  24. สล็อต pg ฝาก ถอน ไม่มี ขั้น ต่ํา สมัครสมาชิกวันนี้รับเครดิตฟรี ฝากถอนง่ายๆ รวดเร็วด้วยระบบออโต้เพียงไม่ถึง 1 นาทีก็เข้าไปสนุกได้เลยกับเว็บ PG-SLOT.GAME สล็อตจากค่าย PG SLOT

    ReplyDelete
  25. PG77 หรือหมายเลขหน้าจอที่ใช้ในการเรียกดูหน้าต่าง ๆ บนคอมพิวเตอร์หรืออุปกรณ์อิเล็กทรอนิกส์ต่าง ๆ ใน PG SLOTเช่น หน้าจอเว็บไซต์ หน้าจอซอฟต์แวร์

    ReplyDelete
  26. y8  เป็นผู้เผยแพร่เกมและก็ผู้พัฒนาเกม แพลตฟอร์ม Y8 เป็นโซเชียลเน็ตเวิร์กที่มีผู้เล่น 30 ล้านคนและก็กำลังเติบโต พีจี สล็อต ออนไลน์กับพวกเราได้ทุกที่ทุกๆเมื่อนิยมได้เงินจริง

    ReplyDelete
  27. PG SLOT AUTO ทางเข้า สมัคร สล็อต ฝากถอนออโต้ ไม่มีขั้นต่ำ ฟรีเครดิต PG SLOT ทดลองเล่นฟรี รวดเร็ว ปลอดภัย รองรับ ทรูมันนี่ ทรูวอลเล็ท ลิขสิทธิ์แท้ ระบบ AUTO มีดีที่มีระบบ

    ReplyDelete
  28. 369superslot เป็นเกมสล็อตที่พัฒนาโดย PG SOFT ซึ่งเป็นบริษัทผู้ให้บริการเกมคาสิโนออนไลน์ชั้นนำของเอเชีย สล็อต PG SLOT มีความสนุกสนาน

    ReplyDelete
  29. "Great blog post! I appreciate the way you've presented the topic in a positive and realistic manner. Your insights provide a refreshing perspective and make it easy to relate to the subject. Keep up the good work, looking forward to reading more of your thought-provoking content! District Of New Jersey Local Rules Protective Order

    ReplyDelete
  30. The article was very nice. I really appreciate your work. It was intresting to read.keep posting more blogs.Reckless Driving New Jersey

    ReplyDelete

  31. Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!
    Hotline Miami Varsity Jacket

    ReplyDelete
  32. Steal the spotlight just like the Akatsuki members with this Naruto Akatsuki Puffer Jacket the perfect blend of style and mystery.

    ReplyDelete
  33. บริษัท slot pg จะเล่นเกมไหน ก็สนุกสนานสุดสนุก และรับเงินรางวัล PGSLOT ในเกมมาก สล็อตเว็บไซต์ตรง เปิดให้บริการ พร้อมเกมสล็อต ที่จะทำให้ท่าน รับเงินรางวัลมั่นใจ เกมใหม่พลาด

    ReplyDelete