Skip to main content
Elwood Downey
Associate III
December 7, 2016
Question

CubeMX 4.18 pegs CPU in Clock Tab on macOS

  • December 7, 2016
  • 8 replies
  • 1351 views
Posted on December 07, 2016 at 16:41

I notice that whenever I am in the Clock Configuration tab of CubeMX 4.18 the CPU activity goes to 100%. This is on macOS 10.12.1 and Java 1.8.0_111. Changing to any other tab reduces CPU to just a few percent. Not a crushing issue but probably not the intended behavior so thought I would mention it.

If it helps, I've attached the project ioc file.

#cubemx #mac-os
This topic has been closed for replies.

8 replies

Nesrine M_O
Associate
December 7, 2016
Posted on December 07, 2016 at 16:46

Hi

Downey.Elwood

‌,

Thank you for your feedback. The issue has been reported internally.

-Nesrine-

Ifmy suggestanswers your question, please mark it as correct.

Andrei Chichak
Lead
December 7, 2016
Posted on December 08, 2016 at 00:03

I'll confirm this.

Also, Cube on macOS uses a huge amount of RAM. I just fired it up to test this issue, went onto the clock config screen, and Cube has 1.6GB of RAM locked down.

That's pretty piggy.

Andrei from The Great White North

(

http://embedded.fm/blog/embedded-wednesdays

 )
Sirma Siang
ST Employee
January 20, 2017
Posted on January 20, 2017 at 15:13

Hello Elwood and Andrei,

Thanks for your respective feedback.

I have tried to reproduce your symptoms without success yet.

I have tried on a macbook pro, Java 8 update 112 build 13, CubeMX4.18.

CPU usage stay, for 1 cpu over 8, around 30%. This does not change, on my machine, whatever the Cube tab I am using.

For sure using 100% cpu is not what we expect.

I will monitor this point if in the futur I will be able to reproduce it.

BTW could you take your activity monitor screen schoot ?

Thanks in advance.

Kind regards

Sirma

Andrei Chichak
Lead
January 20, 2017
Posted on January 20, 2017 at 17:38

Here is a normal example. Two images, Cube and Activity Monitor on my MacBook Pro. MacOS 2. Java 8 update Cube 4.0. Dual core i5 with hyperthreading, 8GB RAM.

Both shots had the system 'settle' for a few seconds so that we're not just showing the screen change activity burst.

I've noticed this for many months now. It is not specific to this particular project either. Actually I have checked this by creating a new project. It will immediately consume close to, or more than, one processor core just by going onto the Clock Configuration tab. (I just tested it again with a another new project, same result)

Yes, this happens on my Other MBP (4 core i7 with hyperthreading) as well as my iMac (4 core i7 w/o hyperthreading), both having 16GB of RAM. Various versions of MacOS

________________

Attachments :

Screen Shot 2017-01-20 at 09.21.17.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hyyz&d=%2Fa%2F0X0000000bEr%2F.DKjZKk69DjdWcR3X_lCgYoFVWF.GXCBXEnNMkMUgaQ&asPdf=false

Screen Shot 2017-01-20 at 09.21.53.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hyyu&d=%2Fa%2F0X0000000bEq%2Feu_ZTmsrcJd3Q5mKA6DpaLKMEA922z2CUe0LXUcQ9OU&asPdf=false
Sirma Siang
ST Employee
January 23, 2017
Posted on January 23, 2017 at 12:39

Hello Andrei,

Great thanks for your detailed explanation, and your screenshots.

by looking more in detail the activity monitor, the cpu% tab, I can see that when I select the clock tab under Cube, it goes up to 97%.

I am reporting this internally to the relevant peoples, and I will monitor it.

Great thanks again to have raise this to our attention.

Kind regards

Sirma

Andrei Chichak
Lead
January 26, 2017
Posted on January 26, 2017 at 21:46

You might want to get the relevant people to check all of the various screens and popups. I seem to remember some useless little popup message box doing the same thing. It's like they were in a tight loop waiting for input from the popup. I tried to recreate the problem this morning, but couldn't find it. Sorry.