Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Inconsistent cpu usage (AMD Ryzen 3900x)

Please login with a confirmed email address before reporting spam

Hi,

I recently upgraded my pc (AMD Ryzen 3900x cpu) and I am noticing a significant decrease in performance compared to my old laptop (Intel 4700 cpu). When I inspect the processor performance its very inconsistent, with big jumps from 0 to around 95%. Other applications, such as MATLAB can run at a consistent 90%+ usage. I already looked into the MKL environment, but that did not resolve the spikey behavior of the cpu usage.

Please see the attached image for clarification of this spikey behavior. For a reference, on my old intel build laptop, the cpu usage is consistent throughout the whole simulation.



1 Reply Last Post 2020年7月1日 GMT-4 10:14
Ruud Borger COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2020年7月1日 GMT-4 10:14

I have discussed this over the phone with Jan. For other readers here: the current model is a parametric sweep where each sweep is a small model that is solved quickly. Therefore, a lot of time is spent on matters around solving the model, which are not always fully parallelizable. For larger models, the performance benefits of the AMD Ryzen 3900X should be bigger.

Note also that using a Batch Sweep might speed things up. Read up on that on our blog.

I have discussed this over the phone with Jan. For other readers here: the current model is a parametric sweep where each sweep is a small model that is solved quickly. Therefore, a lot of time is spent on matters around solving the model, which are not always fully parallelizable. For larger models, the performance benefits of the AMD Ryzen 3900X should be bigger. Note also that using a Batch Sweep might speed things up. Read up on that on our blog.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.