- ago
I'm working on an extension that calls strategyrunner potentially many times. Using TPL (task parallel library), I'm trying to run multiple threads in parallel. It seems like regardless of how many threads I create, I can't seem to get the CPU utilization higher than around 30-40%.

Is there a limit to how many threads an extension can run in parallel?

Thank you,
Paul
0
152
Solved
2 Replies

Reply

Bookmark

Sort
Glitch8
 ( 10.62% )
- ago
#1
No, nothing in WL8’s code should impact multi threading in extensions.
1
Best Answer
- ago
#2
Related sources of information found by a search:

https://www.wealth-lab.com/Discussion/CPU-utilization-in-optimization-7477
https://www.wealth-lab.com/Discussion/Optimization-doesn-t-use-full-CPU-power-11401
https://www.wealth-lab.com/Discussion/Low-CPU-usage-in-backtest-10454
1

Reply

Bookmark

Sort