Skip to main content
Solved

Using Max Cores in Simulation


the software is taking the max cores available only in the first run and after that it takes nearly 30% of the max cores.

What should I do?

 

Thanks 

Best answer by Sandrine Auriol

This ticket has been solved by the support, but just as a side note here are a few helpful comments from my colleague @Ty Adair when encountering these kinds of issue.
“OpticStudio does attempt to use as many cores as possible up to its 64 core limit. However, optimization and raytracing can both be bottlenecked by a few factors: 

  • The number of assigned variables during the optimization
    • OpticStudio will only use as many cores as the number of variables assigned
  • The amount of RAM in your system
    • For each variable assigned, OpticStudio loads a copy of the entire system into memory before tracing/ evaluating.
      • Systems with imported CAD parts can commonly run out of RAM before utilizing all available cores.
    • To check the estimated memory required per copy of your system:

?name=image.png

  • Last, some Analyses/ Merit Function Operands can only be executed single-threaded
    • This could result in intermittent reduction in core usage during an optimization cycle.

 “

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+2

Hi @Khaled.Hassan ! Would you like to contact our support?
Can you give a bit more context (sequential/non-sequential, optimization / tolerancing, computer)? Can you share an example? Thank you!


Forum|alt.badge.img+2

This ticket has been solved by the support, but just as a side note here are a few helpful comments from my colleague @Ty Adair when encountering these kinds of issue.
“OpticStudio does attempt to use as many cores as possible up to its 64 core limit. However, optimization and raytracing can both be bottlenecked by a few factors: 

  • The number of assigned variables during the optimization
    • OpticStudio will only use as many cores as the number of variables assigned
  • The amount of RAM in your system
    • For each variable assigned, OpticStudio loads a copy of the entire system into memory before tracing/ evaluating.
      • Systems with imported CAD parts can commonly run out of RAM before utilizing all available cores.
    • To check the estimated memory required per copy of your system:

?name=image.png

  • Last, some Analyses/ Merit Function Operands can only be executed single-threaded
    • This could result in intermittent reduction in core usage during an optimization cycle.

 “


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings