Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iris takes a lot cpu resources #88

Open
Wang4758 opened this issue May 16, 2023 · 0 comments
Open

iris takes a lot cpu resources #88

Wang4758 opened this issue May 16, 2023 · 0 comments

Comments

@Wang4758
Copy link

Wang4758 commented May 16, 2023

Hi there,

I'm struggling with a problem that when running inflate_region from the Python interface, it automatically takes more than 1000% CPU usage. This has caused all our program to slow down a lot. I suspect it originates from some internal computation in Eigen3 or MOSEK using multiple threads but couldn't find out how to disable it or constraint it to use only up to 100% CPU. I've tried to set the environment variables for multi threading such as MSK_IPAR_INTPNT_MULTI_THREAD, MSK_IPAR_NUM_THREADS, NUM_OMP_THREADS, MKL_NUM_THREADS and Eigen::setThreads() in the iris.cpp: inflate_region function but nothing helped. Any advice or hints would be highly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant