NT7 sluggish, hardware upgrade to improve performance? - futures io
futures io



NT7 sluggish, hardware upgrade to improve performance?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 6 posts (3 thanks)
    2. looks_two w00dmann with 4 posts (3 thanks)
    3. looks_3 Zondor with 3 posts (5 thanks)
    4. looks_4 DavidHP with 3 posts (3 thanks)
      Best Posters
    1. looks_one NinjaTrader with 3 thanks per post
    2. looks_two Fat Tails with 2.5 thanks per post
    3. looks_3 Zondor with 1.7 thanks per post
    4. looks_4 Big Mike with 0.5 thanks per post
    1. trending_up 6,473 views
    2. thumb_up 28 thanks given
    3. group 11 followers
    1. forum 30 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

NT7 sluggish, hardware upgrade to improve performance?

(login for full post details)
  #1 (permalink)
 w00dmann 
Vancouver, BC
 
Experience: Beginner
Platform: Ninjatrader
Trading: emini's
 
Posts: 33 since Nov 2011
Thanks: 15 given, 18 received

Hi all,

I am currently using NT 7 and I want to improve performance / speed / responsiveness. I have a number of charts open at one time (viewing different timeframes at once) and a number of indicators interpreting data. I find NT's performance to be "ok", but sometimes sluggish. This is particularly true at the time when I first open NT and it's loading up all those multiple charts; and also when I start a market replay session. It's also sluggish when I have multiple workspaces open at the same time, and the problem is compounded by the number of days' worth of data I load. I know the more charts I have open and so forth, the more it taxes my computer's resources. I want to upgrade my system to improve this. Here is my current system:

-i7 920 quad core @ 2.66 Ghz
-9 GB RAM
-SSD hard drive
-Radeon 4670 video card

My question is: if I upgrade my hardware, will it result in a performance improvement in NT? If so, what should I upgrade? Based on my research, I see mixed responses on this question with some people claiming virtually NO improvement can be had by using hardware faster than what I've got - but I find that hard to believe?!?

Thanks for your help.

Started this thread Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(82 thanks from 10 posts)
looks_twoSalao's Journalby Salao
(25 thanks from 6 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(25 thanks from 9 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(12 thanks from 7 posts)
looks_5Maybe a little bit different journalby Malykubo
(7 thanks from 5 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
The Crude Dude Oil Trading System
73 thanks
futures io site changelog and issues/problem reporting
73 thanks
Would You Sell Your System?
71 thanks
FIO Journal Challenge - April 2021 w/Jigsaw Trading
32 thanks
Big Mike in Ecuador
28 thanks
 
(login for full post details)
  #2 (permalink)
 rleplae 
Gits (Hooglede) Belgium
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,991 since Sep 2013
Thanks: 2,437 given, 5,801 received


w00dmann View Post
Hi all,

I am currently using NT 7 and I want to improve performance / speed / responsiveness. I have a number of charts open at one time (viewing different timeframes at once) and a number of indicators interpreting data. I find NT's performance to be "ok", but sometimes sluggish. This is particularly true at the time when I first open NT and it's loading up all those multiple charts; and also when I start a market replay session. It's also sluggish when I have multiple workspaces open at the same time, and the problem is compounded by the number of days' worth of data I load. I know the more charts I have open and so forth, the more it taxes my computer's resources. I want to upgrade my system to improve this. Here is my current system:

-i7 920 quad core @ 2.66 Ghz
-9 GB RAM
-SSD hard drive
-Radeon 4670 video card

My question is: if I upgrade my hardware, will it result in a performance improvement in NT? If so, what should I upgrade? Based on my research, I see mixed responses on this question with some people claiming virtually NO improvement can be had by using hardware faster than what I've got - but I find that hard to believe?!?

Thanks for your help.

I have a i7-4960X,
32GB Corsair 2000Mhz
250SSD Samsung 840 PRo

the average load on my machine is rarely over 10%
the memory usage typical 2.5GB
i have 19 window charts open - on 4 instruments

i also run BaBAR
i run the 64bit version of ninjatrader

i don't experience sluggish response

i have 100MB internet connection
quotes from iqFeed and trading with mirus (continuum)

1. do you run the 64 bit version ?
2. you can try to use performance monitor to see
what resource is most used ? disk ? cpu ?
3. what is your internet bandwidth ?
4. any other excessive machine interuptions due to hardware in polling mode ?
5. anything running in task manager ? (like microsoft indexing service or an anti-virus doing a full scan

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #3 (permalink)
 cory 
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,042 since Jun 2009
Thanks: 854 given, 7,910 received


cut down number of days of history data loaded.

Reply With Quote
 
(login for full post details)
  #4 (permalink)
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,347 since Jul 2009
Thanks: 1,245 given, 2,721 received


Quoting 
I am currently using NT 7 and I want to improve performance / speed / responsiveness

No point upgrading hardware since performance issues are most likely due to sloppily and ignorantly coded indicators that are extravagantly squandering resources.


Quoting 
cut down number of days of history data loaded.

Reducing days or bars back history on charts will reduce backfill time but will generally have NO EFFECT on real time performance.

"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #5 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 49,970 since Jun 2009
Thanks: 32,434 given, 98,174 received

According to all the info we have on NT8 from the futures.io (formerly BMT) webinar Ray has done, your biggest performance increase will not come from new hardware and NT7, but from NT8 itself and the new engine.

In other words, you cannot simply throw more hardware at NT7 beyond what you have listed as your spec, and expect big results. But hopefully NT8 will make better use of resources, and utilize the hardware better.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #6 (permalink)
 w00dmann 
Vancouver, BC
 
Experience: Beginner
Platform: Ninjatrader
Trading: emini's
 
Posts: 33 since Nov 2011
Thanks: 15 given, 18 received

Thanks guys, appreciate your feedback. It's disappointing to think that improving my computing power 100% won't result in any significant increase in performance. I've never come across an application that didn't benefit from more horsepower - Ninjatrader is indeed "odd" in this respect. I'll have to look at other performance tweaks.


Quoting 
No point upgrading hardware since performance issues are most likely due to sloppily and ignorantly coded indicators that are extravagantly squandering resources.

That made me laugh! Thanks for the chuckle.

Started this thread Reply With Quote
 
(login for full post details)
  #7 (permalink)
 LightWeight 
Kirkland, WA/United States
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus/Vision/Rithmic
Trading: Futures
 
LightWeight's Avatar
 
Posts: 138 since Jul 2012
Thanks: 138 given, 42 received


w00dmann View Post
Hi all,

I am currently using NT 7 and I want to improve performance / speed / responsiveness. I have a number of charts open at one time (viewing different timeframes at once) and a number of indicators interpreting data. I find NT's performance to be "ok", but sometimes sluggish. This is particularly true at the time when I first open NT and it's loading up all those multiple charts; and also when I start a market replay session. It's also sluggish when I have multiple workspaces open at the same time, and the problem is compounded by the number of days' worth of data I load. I know the more charts I have open and so forth, the more it taxes my computer's resources. I want to upgrade my system to improve this. Here is my current system:

-i7 920 quad core @ 2.66 Ghz
-9 GB RAM
-SSD hard drive
-Radeon 4670 video card

My question is: if I upgrade my hardware, will it result in a performance improvement in NT? If so, what should I upgrade? Based on my research, I see mixed responses on this question with some people claiming virtually NO improvement can be had by using hardware faster than what I've got - but I find that hard to believe?!?

Thanks for your help.

Have you tried hitting ctrl + shift + esc to view the resource monitor and see if either your CPU or RAM is maxed out? I do quite a bit of backtesting and actually found that I had to upgrade from 16 GB of Corsair Vengeance RAM to 32 GB, and even then I still have my ram get maxed out from time to time and Ninja will crash. I'd suggest looking at that while running and seeing if either is creating a bottleneck for you, if not then it's probably not a hardware issue.

Think big, think positive, never show any sign of weakness. Always go for the throat. Buy low, sell high. Fear? That's the other guy's problem. In this building, it's either kill or be killed. You make no friends in the pits and you take no prisoners. One minute you're up half a million in soybeans and the next, boom, your kids don't go to college and they've repossessed your Bentley. Are you with me?
Reply With Quote
 
(login for full post details)
  #8 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 49,970 since Jun 2009
Thanks: 32,434 given, 98,174 received


LightWeight View Post
Have you tried hitting ctrl + shift + esc to view the resource monitor and see if either your CPU or RAM is maxed out? I do quite a bit of backtesting and actually found that I had to upgrade from 16 GB of Corsair Vengeance RAM to 32 GB, and even then I still have my ram get maxed out from time to time and Ninja will crash. I'd suggest looking at that while running and seeing if either is creating a bottleneck for you, if not then it's probably not a hardware issue.

How many years of tick data are you backtesting?

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #9 (permalink)
 LightWeight 
Kirkland, WA/United States
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus/Vision/Rithmic
Trading: Futures
 
LightWeight's Avatar
 
Posts: 138 since Jul 2012
Thanks: 138 given, 42 received


Big Mike View Post
How many years of tick data are you backtesting?

Mike

I'm not sure if it's tick data....it's looking at 1 minute data/charts for the entire history of the instrument in Ninjatrader, so for the ES that may go back to January of 06 I believe. But when it crashes it actually seems to be due to the number of indicators/conditions in the strategy, more so than the time frame....the combination of large time frame and complex strategy conditions just kills it sometimes.

Think big, think positive, never show any sign of weakness. Always go for the throat. Buy low, sell high. Fear? That's the other guy's problem. In this building, it's either kill or be killed. You make no friends in the pits and you take no prisoners. One minute you're up half a million in soybeans and the next, boom, your kids don't go to college and they've repossessed your Bentley. Are you with me?
Reply With Quote
 
(login for full post details)
  #10 (permalink)
 bradkop 
Minnetonka, MN, US
 
Experience: Advanced
Platform: Ninjatrader
Broker: NinjaBrokerage, Amp, Advanatage
Trading: Futures, CL
 
bradkop's Avatar
 
Posts: 22 since Oct 2010
Thanks: 134 given, 15 received



w00dmann View Post
Hi all,

I am currently using NT 7 and I want to improve performance / speed / responsiveness. I have a number of charts open at one time (viewing different timeframes at once) and a number of indicators interpreting data. I find NT's performance to be "ok", but sometimes sluggish. This is particularly true at the time when I first open NT and it's loading up all those multiple charts; and also when I start a market replay session. It's also sluggish when I have multiple workspaces open at the same time, and the problem is compounded by the number of days' worth of data I load. I know the more charts I have open and so forth, the more it taxes my computer's resources. I want to upgrade my system to improve this. Here is my current system:

-i7 920 quad core @ 2.66 Ghz
-9 GB RAM
-SSD hard drive
-Radeon 4670 video card

My question is: if I upgrade my hardware, will it result in a performance improvement in NT? If so, what should I upgrade? Based on my research, I see mixed responses on this question with some people claiming virtually NO improvement can be had by using hardware faster than what I've got - but I find that hard to believe?!?

Thanks for your help.

You could build another PC and split some of your workload off. Use a mouse and keyboard share utility so it acts as 1. I have 4- i7 32Gb PCs with 8 monitors and workloads split between all.

Reply With Quote
The following user says Thank You to bradkop for this post:
 
(login for full post details)
  #11 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 49,970 since Jun 2009
Thanks: 32,434 given, 98,174 received


bradkop View Post
You could build another PC and split some of your workload off. Use a mouse and keyboard share utility so it acts as 1. I have 4- i7 32Gb PCs with 8 monitors and workloads split between all.

Another option is to use a big VMWare ESX server, with 32 or 64 cores and 128GB of memory or more. Then from a single desktop machine you can use the Seamless Unity tool to run the virtual apps on your Windows desktop, where they appear as native/local apps and can be easily controlled and managed, cut/paste/copy to/from etc, from a single workstation.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to Big Mike for this post:
 
(login for full post details)
  #12 (permalink)
 volemont 
Zurich, Switzerland
 
Trading: Futures
 
Posts: 55 since Dec 2013
Thanks: 104 given, 75 received


Big Mike View Post
Then from a single desktop machine you can use the Seamless Unity tool to run the virtual apps on your Windows desktop, where they appear as native/local apps and can be easily controlled and managed, cut/paste/copy to/from etc, from a single workstation.

Mike

Hi Mike,

I spent 5 mins googling and couldn't find the seamless unity tool, do you have a link? It's also not listed in the VMWare ESX tools download section.

Thanks

Reply With Quote
 
(login for full post details)
  #13 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 49,970 since Jun 2009
Thanks: 32,434 given, 98,174 received


skrallan View Post
Hi Mike,

I spent 5 mins googling and couldn't find the seamless unity tool, do you have a link? It's also not listed in the VMWare ESX tools download section.

Thanks

It's called Unity and is built in, not separate.

Sent from my LG Optimus G Pro

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #14 (permalink)
 volemont 
Zurich, Switzerland
 
Trading: Futures
 
Posts: 55 since Dec 2013
Thanks: 104 given, 75 received


Big Mike View Post
It's called Unity and is built in, not separate.

Sent from my LG Optimus G Pro

I can't find the feature in the VMWare vSphere Client, is it part of VMWare vCenter or VMWare Workstation?

Reply With Quote
 
(login for full post details)
  #15 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 49,970 since Jun 2009
Thanks: 32,434 given, 98,174 received


skrallan View Post
I can't find the feature in the VMWare vSphere Client, is it part of VMWare vCenter or VMWare Workstation?

Too many years ago for me to remember. To make sure I wasn't losing my mind, I did a google for "vmware unity" and there were many matches.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #16 (permalink)
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,347 since Jul 2009
Thanks: 1,245 given, 2,721 received

If you find yourself driving hundreds of miles to end up right back where you started from, is the solution to get a faster car, or to consider following a different path?

For starters, you don't want your anti virus program or the windows search indexing service to be doing anything in the Ninjatrader directories. This might help a little:


The code you are using should be reviewed by someone who has an understanding of efficiency issues. Unfortunately most Ninjatrader coders have no such understanding whatsoever. This can make a huge difference, with clueless coding increasing resource usage by two or three ORDERS OF MAGNITUDE with zero benefit.

Common problems to which most coders are completely apathetic, and that are not even so much as mentioned anywhere in the Ninjatrader documentation include:
  • Creating on every tick new instances of objects that should only be created once, at the beginning of the program. A VERY EXPENSIVE mistake. ("inline" calls to external classes - an absolute abomination. ) See posts by @Richard in this thread:
  • Calculating on every new bar and intrabar tick (COBC false) the values of constants that never change during operation of the program.
  • Using in your calculations constants with an excessive amount of precision (usually sixteen decimal places) relative to the number of actual significant digits required (usually less than five decimal places).
  • Processing redundant intrabar ticks that have no effect on the output. (COBC false)
  • On COBC false, performing on every tick calculations and calls to external classes that only need to be done once per bar.
  • Using DataSeries objects in cases where only a few prior values need to be accessed, where an array or a small number of variables would require a tiny fraction of the resources of a DataSeries. Especially if the DataSeries is looking back to 2006!

These issues affect the operation of strategies and indicators. Especially when a badly coded strategy uses inline function calls to access badly coded indicators.

"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following 4 users say Thank You to Zondor for this post:
 
(login for full post details)
  #17 (permalink)
 DavidHP 
Legendary Market Wizard
New Orleans, La (Mardi Gras City)
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,372 since Aug 2009
Thanks: 9,949 given, 2,391 received

Start NT64bit from Command Line with Priority High and multi-core.

 
Code
C:\Windows\System32\cmd.exe /C start "NinjaTrader 7" /HIGH /AFFINITY 0x7 "C:\Program Files (x86)\NinjaTrader 7\bin64\NinjaTrader.exe"
NT Forum Link

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
The following user says Thank You to DavidHP for this post:
 
(login for full post details)
  #18 (permalink)
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,347 since Jul 2009
Thanks: 1,245 given, 2,721 received


Quoting 
If you find yourself driving hundreds of miles to end up right back where you started from, is the solution to get a faster car, or to consider following a different path?


Quoting 
Start NT64bit from Command Line with Priority High and multi-core.


This is the "faster car" approach that has the potential to bring the entire computer, not just Ninjatrader, to a state of paralysis. You might find yourself in a total lockup situation where the only way to shut off the computer is the power switch.

Reminds me of how "doctors" regard disease: as caused by a dietary deficiency of prescription drugs.

"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Zondor for this post:
 
(login for full post details)
  #19 (permalink)
 DavidHP 
Legendary Market Wizard
New Orleans, La (Mardi Gras City)
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,372 since Aug 2009
Thanks: 9,949 given, 2,391 received


Zondor View Post
This is the "faster car" approach that has the potential to bring the entire computer, not just Ninjatrader, to a state of paralysis. You might find yourself in a total lockup situation where the only way to shut off the computer is the power switch.

You are correct it could cause issues.
However, I've been running with these setting for a while and never run into a problem.
Of course, when running this way, the only application I am using is Ninjatrader.

The result of the command line approach can be seen on the Performance tab of the Task Manager.
Without it NT seems to use one core. With the command line it seems to use 3 equally and one is mostly idle.

It is not a 'supported' method but few things are.
Hopefully the long awaited NT8 will address these issues and many others.

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
The following user says Thank You to DavidHP for this post:
 
(login for full post details)
  #20 (permalink)
 w00dmann 
Vancouver, BC
 
Experience: Beginner
Platform: Ninjatrader
Trading: emini's
 
Posts: 33 since Nov 2011
Thanks: 15 given, 18 received

Thanks for your suggestions guys! Much appreciated. Good to know I'm not the only person struggling with NT limitations.

DavidHP, I'd like to know a bit more about your command line suggestion. If I'm understanding correctly, entering this command to fire up NT will allow it to use multiple cores and thereby "share the load" and perform snappier, whereas if one launches NT normally (eg. by double clicking the icon) then it will only use 1 core - is that correct?

Also, if I launch NT using your command line suggestion, what happens if I do start running other applications at the same time? For example, I generally have a browser window or two open when I'm running NT. Would this cause stability or "other" problems?

Thanks again!

Started this thread Reply With Quote
 
(login for full post details)
  #21 (permalink)
 DavidHP 
Legendary Market Wizard
New Orleans, La (Mardi Gras City)
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,372 since Aug 2009
Thanks: 9,949 given, 2,391 received

Create a shortcut with the command line. (I assume you are running 64 bit).

Open the Windows Task Manager and go to the Processes tab.
Start NT like you normally do.
In the Image Name section of the screen find Ninjatrader.exe.
Right click on it and look at the Set Priority Section.
It should show Normal
Shut NT down.
Then go to the Performance Tab in the Task Manager.
Restart Ninjatrader and notice the CPU levels in the 4 windows and the CPU Usage windows.

Now do the same thing while running from the short cut you created.

You should see the Process Priority set to High instead of normal.
You should see a difference in the CPU usage and history.

IF YOU DON'T... then this may not help your system.

As far as running other processes I have not seen any issues but as Zondor indicated, this gives NT a higher priority and may cause instability issues with some machines. Test this while you are not trading for a few days to see if it creates issues for you. I am running Solid State Drives, I7 Processor with 8gb ram and have not seen any bad affects so far.

I think the real issue is with NT and this helps but is not the best solution.
Hopefully, NT8 will better handle CPU/Memory issues.

Also, as suggested, AV programs slow NT down and Windows Search Indexing Service should be disabled when running NT.


w00dmann View Post
Also, if I launch NT using your command line suggestion, what happens if I do start running other applications at the same time? For example, I generally have a browser window or two open when I'm running NT. Would this cause stability or "other" problems?


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
The following user says Thank You to DavidHP for this post:
 
(login for full post details)
  #22 (permalink)
 bobwest 
Site Moderator
Sarasota FL
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
 
bobwest's Avatar
 
Posts: 6,436 since Jan 2013
Thanks: 48,846 given, 21,548 received


w00dmann View Post
Hi all,

I am currently using NT 7 and I want to improve performance / speed / responsiveness. I have a number of charts open at one time (viewing different timeframes at once) and a number of indicators interpreting data. I find NT's performance to be "ok", but sometimes sluggish. This is particularly true at the time when I first open NT and it's loading up all those multiple charts; and also when I start a market replay session. It's also sluggish when I have multiple workspaces open at the same time, and the problem is compounded by the number of days' worth of data I load. I know the more charts I have open and so forth, the more it taxes my computer's resources. I want to upgrade my system to improve this. Here is my current system:

-i7 920 quad core @ 2.66 Ghz
-9 GB RAM
-SSD hard drive
-Radeon 4670 video card

My question is: if I upgrade my hardware, will it result in a performance improvement in NT? If so, what should I upgrade? Based on my research, I see mixed responses on this question with some people claiming virtually NO improvement can be had by using hardware faster than what I've got - but I find that hard to believe?!?

Thanks for your help.


Zondor View Post
If you find yourself driving hundreds of miles to end up right back where you started from, is the solution to get a faster car, or to consider following a different path?

For starters, you don't want your anti virus program or the windows search indexing service to be doing anything in the Ninjatrader directories. This might help a little:


The code you are using should be reviewed by someone who has an understanding of efficiency issues. Unfortunately most Ninjatrader coders have no such understanding whatsoever. This can make a huge difference, with clueless coding increasing resource usage by two or three ORDERS OF MAGNITUDE with zero benefit.

Common problems to which most coders are completely apathetic, and that are not even so much as mentioned anywhere in the Ninjatrader documentation include:
  • Creating on every tick new instances of objects that should only be created once, at the beginning of the program. A VERY EXPENSIVE mistake. ("inline" calls to external classes - an absolute abomination. ) See posts by @Richard in this thread:
  • Calculating on every new bar and intrabar tick (COBC false) the values of constants that never change during operation of the program.
  • Using in your calculations constants with an excessive amount of precision (usually sixteen decimal places) relative to the number of actual significant digits required (usually less than five decimal places).
  • Processing redundant intrabar ticks that have no effect on the output. (COBC false)
  • On COBC false, performing on every tick calculations and calls to external classes that only need to be done once per bar.
  • Using DataSeries objects in cases where only a few prior values need to be accessed, where an array or a small number of variables would require a tiny fraction of the resources of a DataSeries. Especially if the DataSeries is looking back to 2006!

These issues affect the operation of strategies and indicators. Especially when a badly coded strategy uses inline function calls to access badly coded indicators.

I am going to throw in with @Zondor on this, namely that your issues are probably not hardware-related, but I wanted to give a real-world example.

I am running what, by today's standards, is a fairly inferior system. It's a laptop I bought about 2 years ago for less than $500. (Experience had told me that it would be more than enough, and it has been.)

It does have a quad-core processor, but it has just 4 GB of RAM (3.5 available after Windows) and the speed is only 1.5 GHz. It does have a separate video card. The hard drive is nothing special, whatever they slapped in there; not SSD. The video is driving a separate monitor plus its own monitor. That's it.

When I start trading in the morning I do watch what I load in, but, before loading NT, I usually have MS Excel and Word, and Internet Explorer with 7 or 8 browser windows open, including streaming audio from an internet radio station. I then load in NT and another trading platform that I use for executions.

In NT, I have about 15 charts per workspace open usually, and usually 2 workspaces. There are a few indicators on the charts, but not a great many.

Generally, memory usage in Task Manager runs around 75%, sometimes closer to 80. CPU usage loafs along below 20% most of the time. I can sometimes get a slight slowdown if I get too enthusiastic in opening too many web sites that are memory hogs with a lot of snazzy graphics (and big ads that play videos), but if I stay below 80% memory usage things are fine. CPU is not a problem.

So, on my slow and underpowered little system, NT chugs along just fine, with more charts open, frankly, than I really need and more other programs open than I really need at once. I just keep all that stuff open because it's convenient and it doesn't adversely affect me.

Now, as to indicators.... @Zondor frequently beats the drum about inefficient coding in NT indicators, and I have found that he is often right. I mainly use out-of-the-box NT-supplied indicators, which are not always that well-done but my dinky system can manage them, plus indicators from people like @Fat Tails and @gomi (and sometimes @Zondor ), which of course are well-done, and a few that I have either written or tweaked to improve. Frankly, sometimes I just leave something as-is because I know the hardware can handle it (which may be a character defect, but I'm not going to change.... )

However, some indicators are so bad, in performance terms, that, if you have very many like them loaded, they will certainly gum up your performance. Also, if you have indicators you have purchased, you may have no way to know what they are doing.

This post has gone on far too long anyway, but I suggest starting to eliminate, on a test basis, either charts or indicators on charts to attempt to locate any that are slowing you down. Given that my little system can handle a whole lot of NT and non-NT stuff at once, I think that may be a better place to look than upgrading your hardware.

As to what to do about it if that does isolate the problem, well, if you're not a coder yourself that may be a good question, but at least you may be able to make some choices about what to keep and what to leave out, and what to seek a replacement for.

I hope this post helps frame the hardware issue better for you. I think it is very likely that your issues are not in your physical equipment. Try this before spending time and money on better hardware.

Good luck.

Bob.

Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to bobwest for this post:
 
(login for full post details)
  #23 (permalink)
 Fat Tails 
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,855 since Mar 2010
Thanks: 4,238 given, 26,743 received


w00dmann View Post
Thanks guys, appreciate your feedback. It's disappointing to think that improving my computing power 100% won't result in any significant increase in performance. I've never come across an application that didn't benefit from more horsepower - Ninjatrader is indeed "odd" in this respect. I'll have to look at other performance tweaks.

That made me laugh! Thanks for the chuckle.

@ w00dmann: Somebody makes a serious suggestion and all you do is laugh!

Your hardware configuration is largely suffiicient to run NinjaTrader and no upgrade is required.

I would say that with a probability of 99% you are running badly coded indicators or bar types - free stuff or custom made stuff that you downloaded somewhere. The problem can be aggravated by hidden workspaces that are running in the background.

If you really want to solve your problem, please let us know the details of your workspaces - that is screenshots showing all indicators and indicator settings. Otherwise there is no point to discuss the matter.

Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:
 
(login for full post details)
  #24 (permalink)
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
 
NinjaTrader's Avatar
 
Posts: 1,578 since May 2010
Thanks: 185 given, 2,457 received


Fat Tails View Post
@ w00dmann: Somebody makes a serious suggestion and all you do is laugh!

Your hardware configuration is largely suffiicient to run NinjaTrader and no upgrade is required.

I would say that with a probability of 99% you are running badly coded indicators or bar types - free stuff or custom made stuff that you downloaded somewhere. The problem can be aggravated by hidden workspaces that are running in the background.

If you really want to solve your problem, please let us know the details of your workspaces - that is screenshots showing all indicators and indicator settings. Otherwise there is no point to discuss the matter.

Thanks FatTails,

I just want to officially re-iterate this also. 99% of the performance issues we resolve on our help desk are related to badly coded indicators.

For NT8, we have improved this in several areas:

- System indicators have been optimized
- We have added a "On price change" option for indicator calculations which gives you a middle ground between calculating on each tick and on bar close
- Indicators (by default) will stop calculations if they are not visible such as chart minimized or on a background workspace.
- UI is multi-threaded taking advantage of every core on your PC --> Distributes the CPU processing load

Follow me on Twitter Reply With Quote
The following 5 users say Thank You to NinjaTrader for this post:
 
(login for full post details)
  #25 (permalink)
 w00dmann 
Vancouver, BC
 
Experience: Beginner
Platform: Ninjatrader
Trading: emini's
 
Posts: 33 since Nov 2011
Thanks: 15 given, 18 received


Quoting 
@ w00dmann: Somebody makes a serious suggestion and all you do is laugh!

@ Fat Tails: I'm not sure how that came across, but this is what I was chuckling at:


Quoting 
No point upgrading hardware since performance issues are most likely due to sloppily and ignorantly coded indicators that are extravagantly squandering resources.

I was chortling at the humour embedded in his comment, not the content of the comment itself. I'm sure he is correct and I appreciate the insight, as I had not considered poorly coded indicators as being a resource hog. But the latent frustration and the way the comment was worded seemed humorous to me, that's all. No offense intended.

Thanks very much for your feedback bobwest, zondor, davidhp and fat tails. This helps put my NT problem in perspective. Good to definitively know that upgrading my hardware won't do much of anything. I will take your suggestion DavidHP and see if it helps. Otherwise, will try paring back the indicators, and wait for NT 8.

Started this thread Reply With Quote
The following 3 users say Thank You to w00dmann for this post:
 
(login for full post details)
  #26 (permalink)
 Fat Tails 
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,855 since Mar 2010
Thanks: 4,238 given, 26,743 received


w00dmann View Post
@ Fat Tails: I'm not sure how that came across, but this is what I was chuckling at:



I was chortling at the humour embedded in his comment, not the content of the comment itself. I'm sure he is correct and I appreciate the insight, as I had not considered poorly coded indicators as being a resource hog. But the latent frustration and the way the comment was worded seemed humorous to me, that's all. No offense intended.

Thanks very much for your feedback bobwest, zondor, davidhp and fat tails. This helps put my NT problem in perspective. Good to definitively know that upgrading my hardware won't do much of anything. I will take your suggestion DavidHP and see if it helps. Otherwise, will try paring back the indicators, and wait for NT 8.

You could show us a screenshot of your workspace and it is possible that we identify the culprits which are responsible for the increased CPU load.

No need to wait for NT8. Your machine is good enough to run NT7.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
(login for full post details)
  #27 (permalink)
 learning0101 
Houston, Texas
 
Experience: Intermediate
Platform: NinjaTrader,TOS,Etrade,St
Broker: NT:( tos,etrade,CS
Trading: stocks,options,futures,forex
 
learning0101's Avatar
 
Posts: 268 since Aug 2011
Thanks: 3,538 given, 214 received


NinjaTrader View Post
I just want to officially re-iterate this also. 99% of the performance issues we resolve on our help desk are related to badly coded indicators.

HI @NinjaTrader, hey Ray appreciate your comment but I would like to know...If one has a badly coded indicator and it is not applied to a chart, can this affect the performance of NT7?
Thanks in advance

Reply With Quote
 
(login for full post details)
  #28 (permalink)
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
 
NinjaTrader's Avatar
 
Posts: 1,578 since May 2010
Thanks: 185 given, 2,457 received


learning0101 View Post
HI @NinjaTrader, hey Ray appreciate your comment but I would like to know...If one has a badly coded indicator and it is not applied to a chart, can this affect the performance of NT7?
Thanks in advance

Yes, it is possible but not probable, here is the simple explanation:

When an indicator dialog window is opened, all indicators execute code in order to load all of the various properties of an indicator. If this section of code holds "bad" code, it can temporarily affect performance.

Follow me on Twitter Reply With Quote
The following user says Thank You to NinjaTrader for this post:
 
(login for full post details)
  #29 (permalink)
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
 
madLyfe's Avatar
 
Posts: 1,644 since Feb 2011
Thanks: 9,220 given, 1,015 received


NinjaTrader View Post
- UI is multi-threaded taking advantage of every core on your PC --> Distributes the CPU processing load

does this require that an intel chip have hyper threading? maybe im confusing the act of using all cores evenly and threading.

dont believe anything you hear and only half of what you see

¯\_(ツ)_/¯

(╯°□°)╯︵ ┻━┻
Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #30 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 49,970 since Jun 2009
Thanks: 32,434 given, 98,174 received


madLyfe View Post
does this require that an intel chip have hyper threading? maybe im confusing the act of using all cores evenly and threading.

No.

HyperThreading basically emulates more cores. It's for when software is bad at multi-threading and the hardware is better. It's an old tech and generally high-end servers with optimized software are better left with HT disabled.

It isn't required. You can determine if your system is faster or slower with it on/off by doing a benchmark. The results will be nearly identical, probably not worth the time to run a benchmark and then live with the change.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
 
(login for full post details)
  #31 (permalink)
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
 
madLyfe's Avatar
 
Posts: 1,644 since Feb 2011
Thanks: 9,220 given, 1,015 received


Big Mike View Post
No.

HyperThreading basically emulates more cores. It's for when software is bad at multi-threading and the hardware is better. It's an old tech and generally high-end servers with optimized software are better left with HT disabled.

It isn't required. You can determine if your system is faster or slower with it on/off by doing a benchmark. The results will be nearly identical, probably not worth the time to run a benchmark and then live with the change.

Mike

ya i was just wondering because on my PC build last year(the one im on right now) i went for an i5-4670 obv w/o HT and not an i7 with because for what i do i wouldnt really notice a difference between the two.

dont believe anything you hear and only half of what you see

¯\_(ツ)_/¯

(╯°□°)╯︵ ┻━┻
Visit my futures io Trade Journal Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > NT7 sluggish, hardware upgrade to improve performance?


Last Updated on October 10, 2014


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1,800 in prizes!

April
 

Seven Trading Mistakes Solved With Smart Trading Tools w/Brannigan Barrett

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts