Set the number of parallel workers (optimization)
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello,
I'm using the UseParallel option in fminunc on a system with 64 cores (128 logical cores). What is the best way to set the number of parallel workers in the parallel pool? Is it best to set it to the number of physical (64) or logical (128) cores?
댓글 수: 0
답변 (1개)
Raymond Norris
2023년 6월 15일
64, though you can try more. You might find a 10-20% improvement as you add more workers (most likely not 2x as you get to 128)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!