Skip to main content

Calculating on Multiple Cores

Ongoing

Comments

5 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi Theresa,

    Do you mind sharing log files of these runs? Please note that it's not always guaranteed to get a performance increase when using more cores. Often there are other limiting factors like single-core performance or memory throughput.

    Cheers,
    Matthias

    0
  • Theresa Reinhardt
    Gurobi-versary
    Conversationalist
    Curious

    Hi Matthias.

    Well, the problem is that I can not directly interact with gurobi as there is an other framework in between. So I can not see the progress right now.

    It is actually using a lot of RAM.

    0
  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Well, then I don't think we can help you very much, Theresa. It seems you are solving a pretty hard model and sometimes this does take a lot of time.

    I suggest creating a smaller version of that model and check for some parameter tuning opportunities.

    You should definitely try to inspect the log file of that 9-hour run to find some clues about performance bottlenecks.

    Cheers,
    Matthias

    0
  • Theresa Reinhardt
    Gurobi-versary
    Conversationalist
    Curious

    Hi.

    Okay. I also have another model that takes about 5 hours on a 4-core-workstation. On a cluster (24-core-machine) it is still running after 20 hours using 40 GB RAM on average. Gurobi "is designed to effectively exploit multiple cores". Why are more cores less efficient?

    0

Post is closed for comments.