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.

CPU usage

Please login with a confirmed email address before reporting spam

Hello,

I am modeling a problem with 4equations coupled with each other leading to 50000 degrees of freedom. My system has CPU i7 with 8 cores and 12 MB of RAM. The problem is that when I check the performance of CPUs from windows task manager I see that there is 90% of load on one core and about 20~30% of load on the others. I was wondering how I could put load on all of the cores to get faster modelling. The affinity is on all the cores and the priority is on high.

Thanks,

Meysam

7 Replies Last Post 2012年1月11日 GMT-5 10:57
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年11月6日 GMT-5 14:17
Hi

I suppose you mean 12GB of ram ;)

For the loading distribution I do not believe you can change much; in V4, COMSOL will take as many CPUs as awailable.

But, not all tasks might be parallelised, and not all CPU can access the RAM simultaneously, depending on the RAM size, cash size, the RAM bandwidth and your hardware, so some, or all, CPUs might be in "wait state" ;)

I usually only run half the cores awailable (with the -np12 command switch, I have 24 cores) because I have noticed I gain little for my solving speed to use more, but then at least the PC is still responsive for me to see what is hapenning. Except if it starts to swap, then the PC freezes, so stay within awailable RAM if you want to see the results once ;)

--
Good luck
Ivar
Hi I suppose you mean 12GB of ram ;) For the loading distribution I do not believe you can change much; in V4, COMSOL will take as many CPUs as awailable. But, not all tasks might be parallelised, and not all CPU can access the RAM simultaneously, depending on the RAM size, cash size, the RAM bandwidth and your hardware, so some, or all, CPUs might be in "wait state" ;) I usually only run half the cores awailable (with the -np12 command switch, I have 24 cores) because I have noticed I gain little for my solving speed to use more, but then at least the PC is still responsive for me to see what is hapenning. Except if it starts to swap, then the PC freezes, so stay within awailable RAM if you want to see the results once ;) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年11月6日 GMT-5 14:40
Thanks Ivar :); it seems there is no way to make the simulation faster with the current computer of mine. I have a question though. My drive C is almost full. doesnènt it affect the speed of simulationÉ

Thanks

Meysam
Thanks Ivar :); it seems there is no way to make the simulation faster with the current computer of mine. I have a question though. My drive C is almost full. doesnènt it affect the speed of simulationÉ Thanks Meysam

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年11月6日 GMT-5 15:48
Hi

clear that a full disk can slow down everything from the OS to comsol, and even freeze a simulation. There are a few tools in Windows OS to clean up, but be careful with what you delete, always have a backup ;)

--
Good luck
Ivar
Hi clear that a full disk can slow down everything from the OS to comsol, and even freeze a simulation. There are a few tools in Windows OS to clean up, but be careful with what you delete, always have a backup ;) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年11月6日 GMT-5 17:27
Thanks again Ivar :) I tried disc cleanup and deleted 15 GBs.

Meysam
Thanks again Ivar :) I tried disc cleanup and deleted 15 GBs. Meysam

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2012年1月9日 GMT-5 11:34
Hello everyone,

Does anyone know if I can have COMSOL 3.4 and 4.2 on my computer at the same time?

Regards,

Meysam
Hello everyone, Does anyone know if I can have COMSOL 3.4 and 4.2 on my computer at the same time? Regards, Meysam

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2012年1月9日 GMT-5 15:57
Hi

I would expect so, as COMSOL stores its files in its own separate directory, you need 2 valid licence files, one for each. And 4.2 cannot read 3.4 directly, you need to open it in 3.5a first and then save it once, then you can open the 3.5a file in 4.2. So ideally you need 3 versions ;)

Ask your COMSOL rep for definitive answer, they are there normally to help you for such cases too, no ?

--
Good luck
Ivar
Hi I would expect so, as COMSOL stores its files in its own separate directory, you need 2 valid licence files, one for each. And 4.2 cannot read 3.4 directly, you need to open it in 3.5a first and then save it once, then you can open the 3.5a file in 4.2. So ideally you need 3 versions ;) Ask your COMSOL rep for definitive answer, they are there normally to help you for such cases too, no ? -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2012年1月11日 GMT-5 10:57
Hi Ivar,

Your comments are helpful as always... Thanks :)
Hi Ivar, Your comments are helpful as always... Thanks :)

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.