Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica: ParallelMap getting slower

  1. Oct 6, 2011 #1
    Hi,

    I use ParallelMap with Mathematica on Linux to solve 100 eigenvalue problems on 4 kernels. This operation ist repeated very often, and over the course of time the performance drops significantly. Using top, you can see that the CPU used by the master kernel increases, and the CPU used by the slave kernels decreases from 70 to appr. 20 percent. Has anyone else experienced this phenomenon?
     
  2. jcsd
  3. Oct 6, 2011 #2
    Whats the associated ram usage? Try use ClearSystemCache[] at the end of your loops.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook