opendatacam / opendatacam-mobile

OpenDataCam mobile app for android
https://play.google.com/store/apps/details?id=com.opendatacam
MIT License
12 stars 3 forks source link

Potential mitigations for CPU throttling (thermal heating) #6

Open tdurand opened 3 years ago

tdurand commented 3 years ago

Problem

Life is unfair ๐Ÿ˜ .

I was happily running OpenDataCam and playing with it in the street.. and after 2 min I noticed some FPS drops (from 20-17 FPS to 15 FPS).. and then from 15 to 12, and then from 12 to 9 FPS (this is 10 min time), it was like 25ยบC temperature in the afternoon

My first though was "shit" Node.js dependency is affecting long term run.. but then I did the test with the "native" benchmark app.. and got the same problem

The issue is caused by CPU thermal throttling . which is well known to game developer on mobile also.. The device overheats and then the CPU need to throttle to avoid damages..

I ran a benchmark over 15 min time: https://play.google.com/store/apps/details?id=skynet.cputhrottlingtest&hl=fr&gl=US this morning (temperature more like 16ยบC outside), and it holded up way better...

Screenshot_2020-12-12-08-22-02-685_skynet cputhrottlingtest

What can we do about it ?

6197AJ8U1uL _AC_SL1000_

tdurand commented 3 years ago

I bought a little fan for android: https://www.amazon.com/gp/product/B07V1RHRC7/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1, and seems to help, perfomance don't degrate below 80% in the 15 min run.

th-26954227197-460x957

So keeping the phone cool is definitely the solution here.

b-g commented 3 years ago

๐Ÿ˜‚! Unbelievable what kind of gadgets are around. Should I get one too?

tdurand commented 3 years ago

yes ๐Ÿ˜Ž.. I mean it's not the best but it really seems to help.. And yes, I just ordered one for you to put on your christmas tree ๐ŸŽ„๐Ÿ˜‚

b-g commented 3 years ago

Cheers! ๐ŸŽ„๐ŸŽข