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!
See more
See less

Partner 728x90

Collapse

AI Generate using only 4 cores on a 12 core Ryzen CPU

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Radano
    replied
    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/

    Leave a comment:


  • NinjaTrader_ChrisL
    replied
    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.


    Leave a comment:


  • Oracletrades
    replied
    Thanks, happy to provide my logs if that helps. just PM me.

    Leave a comment:


  • NinjaTrader_ChrisL
    replied
    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.

    Leave a comment:


  • Oracletrades
    replied
    Thanks for the reply. On optimization, NT does seem to use all threads, my point was about the AI Generate tool.

    Click image for larger version

Name:	Capture.PNG
Views:	333
Size:	960.7 KB
ID:	1114893
    Attached Files

    Leave a comment:


  • NinjaTrader_ChrisL
    replied
    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.

    Leave a comment:


  • Oracletrades
    replied
    ...actually I meant 4 threads out of 24 threads...

    Leave a comment:


  • 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.

Latest Posts

Collapse

Topics Statistics Last Post
Started by TraderG23, 12-08-2023, 07:56 AM
9 responses
382 views
1 like
Last Post Gavini
by Gavini
 
Started by oviejo, Today, 12:28 AM
0 responses
1 view
0 likes
Last Post oviejo
by oviejo
 
Started by pechtri, 06-22-2023, 02:31 AM
10 responses
125 views
0 likes
Last Post Leeroy_Jenkins  
Started by judysamnt7, 03-13-2023, 09:11 AM
4 responses
59 views
0 likes
Last Post DynamicTest  
Started by ScottWalsh, Yesterday, 06:52 PM
4 responses
36 views
0 likes
Last Post ScottWalsh  
Working...
X