Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

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

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

    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.

    #2
    ...actually I meant 4 threads out of 24 threads...

    Comment


      #3
      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


        #4
        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:	44
Size:	960.7 KB
ID:	1114893
        Attached Files

        Comment


          #5
          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

          Comment


            #6
            Thanks, happy to provide my logs if that helps. just PM me.

            Comment


              #7
              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

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by jerminedop, Today, 12:18 AM
              0 responses
              5 views
              0 likes
              Last Post jerminedop  
              Started by cnzaxtoil, Yesterday, 11:38 PM
              0 responses
              4 views
              0 likes
              Last Post cnzaxtoil  
              Started by cnzaxtoil, Yesterday, 11:37 PM
              0 responses
              3 views
              0 likes
              Last Post cnzaxtoil  
              Started by sukhob, Yesterday, 04:27 PM
              1 response
              14 views
              0 likes
              Last Post zacharydw00  
              Started by Bmnaiorwsd, Yesterday, 07:52 PM
              0 responses
              4 views
              0 likes
              Last Post Bmnaiorwsd  
              Working...
              X