how does the optimizer work? - page 2

 
7bit:
during normal operation MT4 will start a new separate thread for every call of the start() function so running multiple EAs on multiple pairs should utilize all CPU cores equally.


I've never seen any MT4 exceed 13% CPU ( which would be one logical core fully utilized, 12.5% rounded to 13% ) on the TaskManager -- Intel i7-920.

Will play with it a little more, and create an EA that spends a lot of cycles shining its shoes...

 
I also don't have any EA here that would permanently max out the CPU during normal operation, but during my debugging i noticed that there are never two start() calls with the same thread ID and also having an infinite loop in one EA does not freeze the terminal or other EAs. This means they must run in separate threads and this means they will use different CPUs.
Reason: