Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Optimizer and threads
Collapse
X
-
So if another strategy exists on my machine that uses bool or enum then it disables multithreading for all other scripts?
I cant verify if i do now but its possible. I never use enum. But i might have a bool parameter somewhere, although i have been replacing them with variables anywhere i can.
Comment
-
I too have stumbled on this behaviour. I recently upgraded to an AMD Phenom II X6 1100T on my desktop (among other upgrades) specifically to significantly improve optimisation times over my old Intel Core 2 Duo laptop, by introducing new cores at a greater speed.
I find only one thread running at a time in while performing genetic optimisations (I am using a gadget on Windows 7 that informs me constantly of my core usage. It seems NT is just using random core for one thread at a time.) no bools or enums either. Exhaustive optimisations multithread perfectly, with one thread per core and all cores in near 100% use.
Now, my strategy hooks into DLLs (64 bit and threadsafe) etc, which I know is completely outside what you can support, although I'm confident this is not the root of the issue (especially as it multithreads fine with an exhaustive optimisation). My modifications confirm that I only ever have one instance of the strategy running at any one time with genetic optimisations, as I have it specifically reporting this in the log.
In terms of what you CAN support, this behaviour is reflected while optimising SampleMACrossover.
Any clues? I hope the genetic optimiser isn't using proprietary 'hyperthreading' (i.e. only working for some Intel CPUs)? Stab in the dark there...
Comment
-
JustCallMeDan, thanks for the report and post - I'm still chasing this issue you also experienced - could you please contact me via Help > Mail to Support and also include your config.xml file from the MyDocuments > NinjaTrader 7 folder in addition to the trace / log files?
Are you on latest NT7 R2 as you see this outcome?
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
39 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment