Why S32 Design Studio is only using one CPU core?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why S32 Design Studio is only using one CPU core?

845 Views
alejandro_mende
Contributor I

Dear S32 DS developer team,

We have been working with S32 DS ARM 2018 R1 in our last project were we have one S32K144, one S32K146, and a ST MCU. We are running the software in Windows 7 Enterprise.

The problem we are having is that when we are using S32 DS to compile a project it takes a long time to compile. This is the case for both projects. We have noticed that it seems to be a Processor Expert issue since even when importing the project it can take over 15 minutes just to load the imported project with all the Processor Expert configuration. 

We have enabled parallel build option in the Build menu of the project. Also we have set to No the "Generate code before build automatically" in the Processor Expert options of the project. This last change helps to reduce compiling time to less than 50 times the time it takes when generating the Processor Expert code. 

We have also noticed that even when parallel build option is enabled, S32 DS never uses more than 25% of our computers CPU even though they are 4 cores. So it is basically always using one core which is making things run much slower than they should.

Could you please help us reduce building time and generating processor expert code time as well as importing a project?

Is there any way to make S32 DS work with the 4 cores so things are at least a bit better?

Thank you.

Regards,

Alejandro Mendez.

0 Kudos
2 Replies

611 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

We were facing similar issue (but with old S32DS versions) related to customer network settings. In this case - when PC was connected to network - build time was rapidly increased. Without network access - build time was normal. You can try build with disabled network. 

What about other processes on your PC machine - for example antivirus SW - aren't consuming too much resources? 

Jiri

0 Kudos

611 Views
alejandro_mende
Contributor I

Hi Jiri,

Than you for replying. We have tried disconnecting any type of network connection (We had read abour that in the forum) with no success. We do have some enterprise software but it is not using resources. In fact as I stated, CPU usage never goes 25% while using S32DS.

What we have seen is that it does only happen with a project that uses a LIN bus and we have a couple of LDF (Lin Description Files), in the other project that doesn't have that is not that slow but it stills only uses one CPU core.

Do you have any idea how these LDF files might be affecting Processor Expert to be so slow when loading and building the project?

Thank you.

Regards,

Alex

0 Kudos