Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
AI Generate using only 4 cores on a 12 core Ryzen CPU
Collapse
X
-
AI Generate using only 4 cores on a 12 core Ryzen CPU
Hi there, I was playing around with AI Generate today and on my algo testing machine with high performance components (Ryzen 9 3900X 24 threads, 32GB DDR4 4000 RAM, 2TB NVME), NT8 is only using four cores and not even fully. Any idea why? I am of course using latest NT8, lifetime license and 64 bit edition.1 PhotoTags: None
-
-
Hello Oracletrades, thanks for your question.
Please try running an optimization on the SampleMACrossover strategy, do you get all cores used there? All of the cores I have (4) are being used when I do an AI generate and optimization. So we might be looking at a case where AI generate uses only 4 cores whereas optimization will use all of them. If we get that kind of result, I will need to ask my supervisor on what to do.
I look forward to hearing from you.Chris L.NinjaTrader Customer Service
Comment
-
Comment
-
Hi Oracletrades, thanks for your reply.
I am getting 4 cores used on an AI generate backtest. I don't have a machine with more than 4 cores to test on so I am not sure if it's locked to 4 cores somehow or something else. I will let our development team know to look into this issue.
Kind regards.Chris L.NinjaTrader Customer Service
- Likes 1
Comment
-
-
Hello Oracletrades, thanks for your patience.
We tested with a Ryzen CPU and we are getting all cores used. In your screen shot it looks like the rest of the cores are used, but not all the way to 100%. If that is the case then it would be the operating system handling that part, since we confirmed the design can use every core of the machine. When a C# application is made with multithreading, it doesn't need to handle the core usage, it simply needs to spawn a new thread and the operating system will determine which core that thread is ran on.
Chris L.NinjaTrader Customer Service
Comment
-
Windows might be limiting the amount of cores NT uses. Please make sure to review this article https://www.alphr.com/enable-all-cores-windows/
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by arvidvanstaey, Today, 02:19 PM
|
4 responses
11 views
0 likes
|
Last Post Today, 04:08 PM | ||
Started by samish18, 04-17-2024, 08:57 AM
|
16 responses
61 views
0 likes
|
Last Post
by samish18
Today, 03:30 PM
|
||
Started by jordanq2, Today, 03:10 PM
|
2 responses
9 views
0 likes
|
Last Post
by jordanq2
Today, 03:23 PM
|
||
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
48 views
0 likes
|
Last Post Today, 02:36 PM |
Comment