Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Optimizer and threads
Collapse
X
-
We could unfortunately not reproduce your observation here - the GA used all 4 real (non hyperthreading) cores available as we ran SampleMACrossOver in our testing. Do you have another strategy script installed that would perhaps trigger the bool / enum limitation we already spoke about?BertrandNinjaTrader Customer Service
Comment
-
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 think we can rule that idea out, I tested and the bool in another script did not influence the currently tested one - can you please send me your config.xml file to support at ninjatrader dot com and my Attn? You can find it under MyDocuments > NinjaTrader 7.
Thanks,BertrandNinjaTrader Customer Service
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?BertrandNinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
57 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
19 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment