LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Relatively high cpu usage

Solved!
Go to solution

The original poster ultimately discovered he had a CPU burning while loop.  A while loop that would run as fast as it could doing nothing.

 

Imagine  you were waiting at a bus stop, but instead of standing still, you ran around in a circle as fast as you could.  Which is going to get your hear rate up?

 

If you have while loop, it should be doing something productive.  If it is not, it should have some wait in there that throttles the speed so it doesn't waste CPU cycles.  Even a wait function with a zero wired to it is a huge improvement to no wait function at all.

0 Kudos
Message 11 of 13
(664 Views)

@nisibia wrote:

Hello, Can you please clarify a bit more? Because I am having the same problem. Once I run the simulation, the CPU's cooler starts to cool down the CPU. I am using Win10 (64 bit) with I7-9th generation. Multisim (version 13 , 32bit).


You posted in the LabVIEW forum about a multisim question. I am sure there is a better place for that.

 

Some suggestions:

  • Start your own thread in the right forum instead of posting to the end of an unrelated thread that has not seen activity for 10 years!
  • If you have high CPU use with a simulation, it could be that the simulation is very complicated and needs to do a lot of calculations. Alternatively it could be that you are doing something wrong.  We cannot tell unless you actually show us what you are doing.
  • When trying to solve a complicated simulation, high CPU use is actually what you want. For example if you do an atmospheric simulation of a hurricane path, the calculation is worthless if it takes 10x longer than the time for the hurricane to arrive. 😄
0 Kudos
Message 12 of 13
(658 Views)

Sorry for my mistake... I just realized I posted to the wrong forum. 🙂

0 Kudos
Message 13 of 13
(645 Views)