Multi core problem on genetic optimization

 

Hi,


I have a problem using the genetic optimization. 

Once a start a first test everything is fine: 

But when I start a new test after this one, random cores stay "ready" and do not work (sometimes 4 or more) and then, the test get stuck: 



I have to disable all core and enable it again or simply restart mt5 to make it works.

It is the first time I see that, do you have any idea where it can come from? I see nothing in logs..

Thanks,

Arthur

 

Forum on trading, automated trading systems and testing trading strategies

strategy tester extreme long duration

Alain Verleyen, 2021.11.02 22:07

How much physical cores do you have ? Metaquotes recommends to use ONLY physical cores, not hyper threading.

 
Alain Verleyen #:

I have 8 cores 16 threads, but i had no problem for multiple weeks of tests, that's why i don't understand why i have problems now.

 
Arthur Hatchiguian #:

I have 8 cores 16 threads, but i had no problem for multiple weeks of tests, that's why i don't understand why i have problems now.

Follow the recommendation and see if you still have problems.

Check your hard disk space usage.

 
That problem is real and happens with any expert.
My expert writes and reads a file with the best variables.
The expert reads it when loading.
Saves it to the OnTester event if the results are better.
The problem with optimizing in multiple threads is that the program executes several experts at the same time, which create a copy of the optimization file.
Some experts take longer than others, that depends on how busy the core of the system that is running it is.