Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why only 50% of load while using Strategy Optimizer

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

    Why only 50% of load while using Strategy Optimizer

    My machine has a AMD Athlon 64 X2 Dual Core Processor 4400+ and 3GB of RAM.
    When I run a strategy optimizasion I get the message, please wait... and see that the remaining time for the optimizasion is 2 hours for example but the Windows Task Manager shows me that I never use more than 50% of CPU and only 400MB of RAM.!
    So, if my system still has plenty of RAM why does not Ninjatrader loed the CPU 100% and do the job in half the time (1 hour)??
    What is restringing Ninjatrader to do the job faster if there is still plenty of memory and CPU and no other programs open?? Eaven if there were other programs working ninja could use easily 70 or 80% of CPU (the machine is fast) but seems its capped to 50%, why??
    Last edited by whitegun; 11-04-2007, 03:27 AM.

    #2
    Since your CPU is dual-core, it can process two threads at a time. If it only processes one thread, then only 50% of your CPU will be in use.

    See this reference for more info on how this works: Dual Core - Software Impact

    So, unfortunately the StrategyAnalyzer runs as a single thread, so it can only use 50% of the CPU.

    Comment


      #3
      Hello KBJ, thanks for the replay.

      I am not totaly shure if it is totaly right what you are saying (even teoreticly it is!) because the task meneger shows the load for each of the CPS and each of them has a load of 50%, not 1 100% and the other one 0% and the total is 50%.
      If you are right, is there any way arround it?
      I mean, I have some strategies wich I would like to optimize but like this it will take an eternity. I tought of buying a more powerful PC but now a days you get more power not from MHZ but from more cores.
      This would mean that the strategy optimizer is useles for a lot of strategies because eaven if I run Ninja on a powerful cuadcore CPU or on a server sistem with 8+ cores it would still be the same slow!
      I can not belive that it is so restrictet!?

      Comment


        #4
        KBJ is right. Same situation on my dual core here. Unfortunately there is not way around right now. We have it on our list for V7 (end of next year) though

        Comment


          #5
          End of next year only

          I realy love ninja but this is a very very very big negative point.

          Shure there is no wey arround it (maybe some 3 partie program wich can split the treat in 2 and use bouth cores)?

          I realy hate need to loke for an other program only because of this (while I love ninja in any other aspect and already get used to it)!!

          Comment


            #6
            Thanks for your comments.

            Comment


              #7
              Please see my post (here: http://www.ninjatrader-support.com/v...78&postcount=5) for some ideas on how to get your optimizations done much more quickly.

              Comment


                #8
                Hello everyone,

                Does the use of a Vista 64 bits operating system would not solve the problem and improve the speed in case of using a dual or a quad-core processors? As far as I understand, Vista 64 bits seems to be designed to make use of the full power of all processors. The bottleneck might be Ninja, not able to run on multiprocessors...

                Does anyone have a clue if this is right?

                Comment


                  #9
                  NT does not support 64 bit windows system. NT does support 64 bit processors though.

                  Comment


                    #10
                    Ragingbull

                    Vista 64 or any other OS cannot universally make any program use all CPU's. It's no better than XP or Win2K or Linux or whatever in this regard. This has been a classic dilemma since the earliest multiprocessor mainframes were created (yes .. I was there)

                    Yes, it may (or may not) be better at working with multi-processors, but the task at hand must be broken into multiple parts to be 'dispatched' to another CPU. Often this doesn't make sense.
                    And often.. the cycle cost to manage all these parts end up making the exercise not worth while.

                    Massively parallel systems with 100's or 1000's of cpu's were 'supposed' to be the next great thing a few years ago. They excel in some specialized areas ,, but you don't hear much about them as general purpose systems anymore.

                    In the case of a backtest .. it has to sequentially run thru every bar of data one-after-the-other-in-sequence. You can't start work on the next bar until all the work is done for the current bar.

                    Multiple CPU's don't help here.

                    The certainly do help with mutli-tasking many programs at once.

                    And you could see how Strategy Optimisation could be split into many threads .. one for each iteration.

                    Comment


                      #11
                      Originally posted by NinjaTrader_Dierk View Post
                      NT does not support 64 bit windows system. NT does support 64 bit processors though.

                      Does this mean that NT doesn't take advantage of 64 bit windows? NT does work, I'm running NT on vista 64 with no issues.

                      -Erik

                      Comment


                        #12
                        We recommend not running NT on Windows 64 bit since users experienced issues.

                        Comment


                          #13
                          Thank to all of you for your answers.

                          But, if I understand it well then, we better be looking for the most performant mono or dual core processor. Which is ....MHz?

                          I guess that this is the best that we can hope and increasing RAM above 2GiB will not be of any help to improve the performance.

                          Is this correct?

                          Comment


                            #14
                            Processor speed matters

                            Comment


                              #15
                              I've found that with enough charts, SuperDOMs, etc. open (especially with non-standard NinjaScript indicators and strategies), memory may also become an issue (especially when running non-NinjaTrader applications which use a lot of memory on the same system).

                              I have Vista with only 2GB, so I can only guess what might happen with more memory than this.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by judysamnt7, 03-13-2023, 09:11 AM
                              4 responses
                              59 views
                              0 likes
                              Last Post DynamicTest  
                              Started by ScottWalsh, Today, 06:52 PM
                              4 responses
                              36 views
                              0 likes
                              Last Post ScottWalsh  
                              Started by olisav57, Today, 07:39 PM
                              0 responses
                              7 views
                              0 likes
                              Last Post olisav57  
                              Started by trilliantrader, Today, 03:01 PM
                              2 responses
                              21 views
                              0 likes
                              Last Post helpwanted  
                              Started by cre8able, Today, 07:24 PM
                              0 responses
                              10 views
                              0 likes
                              Last Post cre8able  
                              Working...
                              X