title: Consistent use of CPU by Java Process
body: <p>I am running a Java program which does a heavy load work and needs lots of memory and CPU attention.</p>
  
  <p>I took the snapshot of task manager while that program was running and this is how it looks like</p>
  
  <p><a href="https://i.stack.imgur.com/t5yWf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t5yWf.png" alt="enter image description here"></a></p>
  
  <p>Clearly this program is making use of all 8 cores available on my machine but if you see the CPU usage graph, you can see dips in the CPU usage and these dips are consistent across all cores. </p>
  
  <p>My question is, Is there some way of avoiding these dips? Can i make sure that all my cores are being used consistently without any dip and come to rest only after my program has finished?</p>