Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Teensy Loader faulty CPU utilization

  1. #1
    Junior Member
    Join Date
    Mar 2018
    Posts
    19

    Teensy Loader faulty CPU utilization

    This thread is kind of a bug report. I shortly searched for a similar thread, but found none.

    At some time I noticed that my PC slowed down while writing code for Teensy 3.2/3.6 which even resulted in Visual Studio crashing.

    So I looked in my Task Manager and my CPU utilization was at stunning 100%. Pretty much all of this was caused by several tasks of "teensy_reboot", each consuming arround 14%.

    This issue occures sporadically and manually terminating the tasks works quite fine so it is not really important for me that this gets fixed.

    The attached screenshot only shows two tasks, but trust me, eventually it rises up to 100%.

    My PC Specs:
    CPU: Xeon E3 1231v3 @ H2O (Effectively an i7 4770)
    Other Specs but probably not relevant:
    RAM: 16 GiB DDR3 1600
    GPU: GTX 1080 @ H2O
    Mainboard/Chipset: Asus H97 Plus
    Storage: Samsung 860 Evo 500Gb

    Click image for larger version. 

Name:	Teensy CPU Usage.PNG 
Views:	20 
Size:	79.9 KB 
ID:	15631

  2. #2
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,329
    AFAIK, there should only one single instance of Teensy_reboot be running. The Teensy loader should always "grab" the existing instance and use it instead of launching a new one. I've never seen your phenomenon happen, neither with the Arduino IDE, nor with Eclipse. Thus, there *might* be an issue with your VS configuration...

  3. #3
    Member
    Join Date
    Mar 2017
    Location
    Oakland, CA, USA
    Posts
    84
    I frequently have to kill teensy_reboot because, according to Activity Monitor (Mac), it’s often at a constant 90+% CPU usage. Also my fans go strong until I kill it.

    I’m using the latest PlatformIO on VSCode. Perchance it’s easy to call the program with some bad arguments or process creation code or something? I’ll poke around PlatformIO too. I know they’ve recently improved how the Teensy loader gets used. It’s not perfect yet, but it’s improved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •