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 Jul 1, 2020, 10:14 AM EDT
Ruud Borger COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 weeks ago Jul 1, 2020, 10:14 AM EDT

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.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.