Using 128 Cores/Threads for optimization

Created at 17 Mar 2023, 16:32
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
heinrich.munz's avatar

heinrich.munz

Joined 21.11.2020

Using 128 Cores/Threads for optimization
17 Mar 2023, 16:32


I have got a new computer with 64 cores/128 Threads (AMD Ryzen Threadripper PRO 5995wx, 64C/128T, 2.70-4.50GHz) with Windows 11. I hoped that cTrader V4.64 could make use of all 128 Threads at once and so make the optimization runs much faster. However, to my disappointment, I experienced that the optimization process is done in ca. the same time as on my previous 32 thread machine in spite that the cTrader dispiays 64 (not 128) passes immediately after pressing the start button.

It seems that cTrader is limited to use max 32 threads at once?!

(How) can this limit be changed?

 


@heinrich.munz
Replies

heinrich.munz
18 Mar 2023, 21:15 ( Updated at: 21 Dec 2023, 09:23 )

Details on a 16 Cores/32 Thread Computer

I made some tests on a 16 Cores/32 Thread Computer. It seems that ctrader Optimization can only make use of the 16 cores. The treads seem to be useless ?!

1st test: Using 50% of the CPU resources (the the speedometer on 50%) 

==> Duration ca. 2 Min, 30 Secs

The CPU resource measurement (8 Gadgets) shows correctly ca. 50%:

 

2nd test: 

Using 100% of the CPU resources (the speedometer on 100%)  

==> RESULT: Duration is the same as if using 50% ca. 2 Min, 30 Secs

==> It doesn't matter if selecting 50% or 100% of CPU resources

 Strange: The CPU resource measurement shows correctly ca. 100%:

 

3rd Test:

Using 2 cTrader instances, each with 50% Speedometer setting

==> Result: Nearly doubled duration

==> Another prove taht cTrader does not make use of the CPU threads but uses only the cores!

 

 


@heinrich.munz