Backtesting speed MT5 CPU 10 vs 12 cores

 

Hi,

does anyone know which CPU would be faster for strategy tester:

Intel Xeon E5-2690v2, 10x 3,0 GHz (Turbo 3,6 GHz), 20 Threads or

Intel Xeon E5-4657Lv2, 12x 2,4 GHz (Turbo 2,9 GHz), 24 Threads

Thanks

 
t33:

Hi,

does anyone know which CPU would be faster for strategy tester:

Intel Xeon E5-2690v2, 10x 3,0 GHz (Turbo 3,6 GHz), 20 Threads or

Intel Xeon E5-4657Lv2, 12x 2,4 GHz (Turbo 2,9 GHz), 24 Threads

Thanks

Most probably the one with more cores for optimization, but it may depends on other parameters if the processing of one pass require powerful CPU.

For simple backtests, the first one.

 

Yes, I meant for optimization, genetic algo. Thank you for your answer. Interesting, so the more cores the better as total GHz is the same.

If anyone has done tests with different CPUs, I'd appreciate it if you could share your experience

 
t33 #: Yes, I meant for optimization, genetic algo. Thank you for your answer. Interesting, so the more cores the better as total GHz is the same. If anyone has done tests with different CPUs, I'd appreciate it if you could share your experience

To be honest, it is kind of difficult to answer because there are other factors to consider. The main bottle neck is actually the disk access speed because of the amount of data that has to be processed.

Personally, I'm leaning more towards the 10 cores, because the data access to the disk is going to cause the threads to pause and wait, and each thread is going to grab a certain amount of RAM. So I'm guessing that the 12 threads are going to be more of a disadvantage than an advantage.

Only properly testing both is going to give a proper answer.

 
t33:

Hi,

does anyone know which CPU would be faster for strategy tester:

Intel Xeon E5-2690v2, 10x 3,0 GHz (Turbo 3,6 GHz), 20 Threads or

Intel Xeon E5-4657Lv2, 12x 2,4 GHz (Turbo 2,9 GHz), 24 Threads

Thanks

What did you do? I am about to test on a Xeon E5-4640 V2 with 10 cores. 

 
Fernando Carreiro #:

To be honest, it is kind of difficult to answer because there are other factors to consider. The main bottle neck is actually the disk access speed because of the amount of data that has to be processed.

Personally, I'm leaning more towards the 10 cores, because the data access to the disk is going to cause the threads to pause and wait, and each thread is going to grab a certain amount of RAM. So I'm guessing that the 12 threads are going to be more of a disadvantage than an advantage.

Only properly testing both is going to give a proper answer.

I tried to use a 4 cpu Xeon E5-4640 with 10 cores from a dell R820 that I had that was available for some time. The performance was not good. in 10mins it did not perform a single pass. CPU was at 4%-6%, Ram was at 83-86%. What can I do to unleash this beast?

I attached the log file for this, the results are bad. 


KH 0 03:12:04.116 Core 060 EURUSD: ticks synchronized already [43 bytes]

NN 0 03:37:30.088 Core 057 pass 112 returned result 4709.72 in 0:25:27.831

"

From this, I can see that it took 25mins before the 1st pass was completed. If I perform this on my AMD Ryzen 9 5950x with 16 cores, it will perform all the 198 passes in 6-7mins. 

What am i doing wrong?

Files:
MQL5_Pic_1.jpg  263 kb
MQL5_Pic_2.jpg  248 kb
MQL5_Pic_3.1.jpg  268 kb
20231124.log  75 kb
 
Chijioke Chukwunonso Iloabachie #:

I tried to use a 4 cpu Xeon E5-4640 with 10 cores from a dell R820 that I had that was available for some time. The performance was not good. in 10mins it did not perform a single pass. CPU was at 4%-6%, Ram was at 83-86%. What can I do to unleash this beast?

I attached the log file for this, the results are bad. 


KH 0 03:12:04.116 Core 060 EURUSD: ticks synchronized already [43 bytes]

NN 0 03:37:30.088 Core 057 pass 112 returned result 4709.72 in 0:25:27.831

"

From this, I can see that it took 25mins before the 1st pass was completed. If I perform this on my AMD Ryzen 9 5950x with 16 cores, it will perform all the 198 passes in 6-7mins. 

What am i doing wrong?

I needed a windows update. The  Xeon E5-4640 with 10 cores is performing quite well. I realized that I need about 4.5GB ram for each thread core for it to work properly. So for the 40cores, i need a lot of RAM.