• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SuperDom CPU issue

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

    SuperDom CPU issue

    I have had 2 stop orders in as many days that took so long to exit that I lost two ticks on each exit. I noticed in the beta release notes there is a problem with excessive cpu usage on version .7 for the dom.

    When I went to download that beta, it is no longer there. Why was the beta link pulled, and what is being done to fix this superdom issue cpu usage?

    #2
    imported post

    We continually imrprove NinjaTrader to be as efficient as possible and therebye lowering CPU usage. If you are using Patsystems, IB or MBT CPU usage on average is below 5%.

    We removed the beta due to some installation issues. A new beta will be available over the weekend.

    Stop orders are not triggered by the SuperDOM or NT. They reside with your broker or at the exchange and are triggered there. If you have experience slippage, it is due market conditions or external factors outside of NT.


    Ray
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      This is from the release notes of the beta

      Improved: Lowered CPU usage on dynamic SuperDOM

      All due respects, but the market conditions were not unusual, only the amount of time taken to close the trade. I have a hyper-threaded P4 with 1 GB of ram, so I dont think the problem is with the computer. I have also noticed up to a 1-2 second delay when just placing a limit order to enter a trade.


      Comment


        #4
        imported post

        No problem was not disrespected.

        Stop orders are at the exchange and are triggered by the market. NT only displays your orders. Any performance issues that may exist for any reason on your PC will not affect the price your stop order is filled at.

        If I am not understanding your concern please let me know.

        Ray
        RayNinjaTrader Customer Service

        Comment


          #5
          imported post

          It was a sim stop so it was resident on my machine.I should have said that in previous post. I totally understand its' risks, as I have used it for over a year. Up until this version, I have never lost more than 1 tick, and I have not noticed this behavior, where the execution of the stop goes in what looks like computer slow motion. I am making sure no other program that is TSR is running, and just two data collection programs are sharing the computer, NeoTicker and MarketDelta.

          Comment


            #6
            imported post

            I see, thank for clarifying. We will release a new beta version by Tuesday, please upgrade to that version and report back. We have made a signnificant amount of changes, several in the area of performance and would prefer to see if you experience any issues with the new release.

            Ray
            RayNinjaTrader Customer Service

            Comment


              #7
              imported post

              Getting back to CPU usage, I am sitting here now with 4 charts, 2 doms, and the control center open, and the Windows Task Manager window open. NinjaTrader, by the minute is eating up Memory Usage like its going out of style. When NT first opens, its about 105MB in size, already double my Firefox browser with 90 extensions and several tabs open. After 10mins, NT is another 50MB in size.

              The CPU usage clicks from as low as 1 to as high as 26%, and the higher the Mem Usage gets, the greater the CPU usage jumps to. And the CPU time gets slower and slower.

              I got another "Failed to execute DB job error" tonight, even after doing a DB repair, and when I checked the Task Manager, NT froze at 226MB. I think the DB errors occur because NT is getting too big and unmanageable...

              Check out the screen shot of Task Manager to see what its doing.

              I realise that NT is downloading price data in real time, but surely NT has to write some data to disk so it doesn't overload the Memory while its open?

              And if you were about to ask, my computer is quite capable - a 2.6GHz Pentium 4 Sony Vaio laptop, with 1GB Ram, a 64MB Radeon graphics card and plenty of HDD space.

              Any thoughts???

              Cheers,

              Antraman
              0
              Attached Files

              Comment


                #8
                imported post

                It would be great if you could help isolate the culprit. Peel off charts one by one and see which chart is causing the problem. Then we can look there.
                RayNinjaTrader Customer Service

                Comment


                  #9
                  imported post

                  OK. I closed my 4 charts, then the 2 DOMS, 1 by 1 gradually. It appeared that none of those actions affected the Mem usage at all. It still kept growing. So right now my Control Centre is open. The Mem usage now, is 334MB.

                  I then reopened a 1min chart, and as it loaded the price data, it jumped from 330MB down to 108MB, then when the data download completed, it jumped to 200, so there was a considerable change. This was loading in 10 days previous data. Opening DOMS again didn't seem to affect it.

                  I then closed the charts and DOMS, and reopened a minute chart, this time loading 40 days previous data. The mem usage shot back up to 313MB, and is continuing to grow.

                  Closing them off doesn't seem to lessen the memory usage, but reopening them with a less historical data does. However, I was running minute charts with about 20 days data when the memory had grown to 330MB, but when I closed all and reopened with 40 days data, it did not immediately increase anymore than with the 20.

                  It seems that just collected data real time is what causes it to grow the most.
                  0

                  Comment


                    #10
                    imported post

                    What indicators do you have on your charts? Any custom indicators?
                    RayNinjaTrader Customer Service

                    Comment


                      #11
                      imported post

                      1. 90min line with bollinger, SMA and Vol

                      2. 15min line with bollinger, SMA and VolColoured a few lines and a few fibs

                      3. 5min bars with SAR, bollinger, SMA, MACD, stochastic, ADX, Aroon, and VolColoured, a few lines and a few fibs,

                      4. 1min bars with SAR, bollinger, SMA x3, MACD, stochastic, Williams, and Split Vol.


                      Trading on the Euro


                      000

                      Comment


                        #12
                        imported post

                        Happened again tonight. As the night wore on, computer slowed down to a crawl at times, then started getting DB job errors. Task Manager showed the Memory usage @ 521MB, and CPU usage up to 75%. (See screenshot)

                        I am sure this is not what is supposed to happen.

                        I tried removing various indicators from charts, particularly user ones, didn't affect the readings at all.

                        Eventually had to close down, and when I reopened, Memory Usage was 79MB. All the charts and DOM's came back, with the same historical data. Just like nothing had happened. Once I connected to IB, then the memory usage started ticking over again.

                        Only problem now is the trade I had on when it froze missed the stop loss and I am 12pts in loss. Not good.

                        Any ideas?

                        cheers,

                        Antraman


                        0
                        Attached Files

                        Comment


                          #13
                          imported post

                          Only idea is to remove indicators and add them one by one and try and figure out what specifically eats memory. I will do this based on your suggestion but it will be a few weeks since I am on vacation.


                          Ray
                          RayNinjaTrader Customer Service

                          Comment


                            #14
                            imported post

                            I may have a reason/solution to this problem. Since I upgraded to the latest release the problem has thankfully not been recurring, however it happened last night after about 4 hours of trading.

                            I think it is related to using a computer that has an integrated video graphics card. This means that the motherboard memory is shared with the graphics processor.

                            My laptop has a second monitor out jack, and I am running a 23'' screen at 1600x1200 resolution. With lots of programs open, the screen flickers and breaks up occassionally, when there is some HDD or processor activity.

                            NT5 I think is quite processor hungry, and therefore requires full use of the computers resources available to it to run happily, and having the integrated graphics card demanding some of the resources to power the large screen takes something away from NT, causing to create Failed to execute DB errors...

                            Minimising (not closing) all NT open windows to the taskbar every couple of hours has the effect of reducing the MemUsage and CPU usage down to below 10% and 10MB, almost like a refresh, then maximising all the windows again starts the slow but steady increase of memory usage by NT.

                            It would be interesting to see if others who have had this Execute DB error problem
                            (spenbm01, tonchi et al) also run a computer with an graphics processor integrated with the motherboard.

                            As a result of this, I have decided I will build myself a dedicated trading computer (partly for fun, partly for the necessity) that willl have a high power graphics card (such as my newly acquired Matrox Quad Head) running in its own slot, plus a dual processor with heaps of RAM (like 16GB) Check out the Tyan Tiger or Thunder motherboards for this. Nice...

                            cheers,

                            Antraman


                            0

                            Comment


                              #15
                              imported post

                              Do you use the crosshair on your charts?
                              RayNinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by RB104, Today, 06:06 PM
                              1 response
                              10 views
                              0 likes
                              Last Post NinjaTrader_ShawnB  
                              Started by jtrading82, 05-25-2018, 09:59 AM
                              9 responses
                              978 views
                              0 likes
                              Last Post NinjaTrader_ShawnB  
                              Started by syxforex, Today, 12:11 AM
                              2 responses
                              15 views
                              0 likes
                              Last Post syxforex  
                              Started by aslane, Today, 02:31 PM
                              1 response
                              10 views
                              0 likes
                              Last Post NinjaTrader_Kate  
                              Started by stoner, 10-16-2019, 01:38 PM
                              5 responses
                              53 views
                              0 likes
                              Last Post sledge
                              by sledge
                               
                              Working...
                              X