NexusFi: Find Your Edge


Home Menu

 





NinjaTrader with 16+ cores


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 37 posts (33 thanks)
    2. looks_two JohnnyB with 17 posts (9 thanks)
    3. looks_3 NetTecture with 13 posts (2 thanks)
    4. looks_4 typer77 with 3 posts (0 thanks)
      Best Posters
    1. looks_one Big Mike with 0.9 thanks per post
    2. looks_two JohnnyB with 0.5 thanks per post
    3. looks_3 sam028 with 0.5 thanks per post
    4. looks_4 NetTecture with 0.2 thanks per post
    1. trending_up 43,896 views
    2. thumb_up 52 thanks given
    3. group 26 followers
    1. forum 102 posts
    2. attach_file 20 attachments




 
Search this Thread

NinjaTrader with 16+ cores

  #11 (permalink)
 NetTecture 
Szczecin
 
Experience: Intermediate
Platform: Ninja, writing own now
Posts: 211 since Mar 2010

Bt.w, mike care what you plan getting hwardware wise?

I jsut got a 3930 with soon 32gb ram (16 at the moment - the 8gb modules are hard to get here and I had that lying around9. 6 cores, 12 with threading. Mild overclocking to 4ghz. Freaking monster.

Otherwise I am waiting for the new AMD to come out later this year (piledriver - the current ones suck) So, just interested in where you plan going.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
21 thanks
My NQ Trading Journal
19 thanks
Tao te Trade: way of the WLD
16 thanks
HumbleTraders next chapter
9 thanks
  #12 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599


NetTecture View Post
Bt.w, mike care what you plan getting hwardware wise?

I jsut got a 3930 with soon 32gb ram (16 at the moment - the 8gb modules are hard to get here and I had that lying around9. 6 cores, 12 with threading. Mild overclocking to 4ghz. Freaking monster.

Otherwise I am waiting for the new AMD to come out later this year (piledriver - the current ones suck) So, just interested in where you plan going.

I have been toying with a few ideas. One, I want to replace my aging primary workstation which is a i7 920 running at 4ghz on air. Two is I was considering consolidating my three dedicated Xeon servers at Chicago with one monster box.

But I need to do some tests regarding how NT and MC behave with multi cores and slower IPC vs fewer cores and higher IPC. I've done tests on the futures.io (formerly BMT) server hardware and find that a faster clock rate and IPC is beneficial over more cores.

So truth is, I don't know what I will be building. But I want to build something... it's been too long since my last crazy build

The 3930 is an awesome box. I was even considering a couple 3930s for me to use in 1U's for futures.io (formerly BMT) equip, as the faster clock freq and IPC will be beneficial for the latency of fetching forum pages. I'd rather use the Xeon but at $1000 price premium I think I can get over it, provided I can find a good IPMI solution. But for workstation use, I really, really like the 3930.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #13 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599




hehe

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #14 (permalink)
 wavey 
Germany / Italy
 
Experience: Advanced
Platform: NT8, TS, TV
Trading: Index Futures, FX
Posts: 83 since Nov 2009
Thanks Given: 51
Thanks Received: 37

if you're running any multicore system backtesting in NT7, ensure you've cleaned up the strat properly for not using any enums / bools - learned this the hard way time ago that this would limit the optimizer to single core...

Reply With Quote
Thanked by:
  #15 (permalink)
 JohnnyB 
Chicago, IL
 
Experience: Advanced
Platform: prop
Trading: Options
Posts: 38 since Jan 2012
Thanks Given: 23
Thanks Received: 18

In the attached Task Manager and Resource Monitor screens, I'm running an optimization on my Perry Strategy. My Perry strategy has Perry's original 7 indicators (2 SMAs, 2 EMAs, ADX, DMI+, and DMI-) along with an additional 6 momentum calcs being done on these indicators. The optimization is for 1 day and has 18 inputs, 5 to 10 steps each optimization. This optimization takes over 1 hr to run.

My EVGA SR-2 has 12 cores and 24 Hyperthreads. As you can see the optimization is using maybe 20 of the 24 Hyperthreads. Each thread hits peaks of 80% and not 100%. So its not CPU bound.




Reply With Quote
Thanked by:
  #16 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599


JohnnyB View Post
In the attached Task Manager and Resource Monitor screens, I'm running an optimization on my Perry Strategy. My Perry strategy has Perry's original 7 indicators (2 SMAs, 2 EMAs, ADX, DMI+, and DMI-) along with an additional 6 momentum calcs being done on these indicators. The optimization is for 1 day and has 18 inputs, 5 to 10 steps each optimization. This optimization takes over 1 hr to run.

My EVGA SR-2 has 12 cores and 24 Hyperthreads. As you can see the optimization is using maybe 20 of the 24 Hyperthreads. Each thread hits peaks of 80% and not 100%. So its not CPU bound.

Thanks for that.

And for comparison sake, you might try just the built-in MA Cross Over strategy and post the same screenshots? To see if a simpler strategy has better CPU utilization.

I think that the reason it is not maximizing the CPU is due to all the dataseries and objects for that 7 indicator strategy. If you are really wanting to increase the performance, I think you could eliminate the SMA, EMA, ADX and DMI calls externally, and just build them in as internal functions to return Double's since you likely only need the current value, or perhaps the current value and the 1 prior value. It will be far less expensive than a DataSeries being called from a separate indicator.

Are you using genetic or brute force exhaustive optimization?

Thanks for the post.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #17 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599

@JohnnyB, one last thing - you might time a run with HT enabled and another run with HT disabled. It may perform better with HT disabled in this case.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #18 (permalink)
 JohnnyB 
Chicago, IL
 
Experience: Advanced
Platform: prop
Trading: Options
Posts: 38 since Jan 2012
Thanks Given: 23
Thanks Received: 18

I'll try the simple crossover strategy and post the same charts tomorrow. Thought I'd be able to do it tonight.

Good point on moving the indicator code internally. I need the last 5 to 10 values which I can handle in memory.

Reply With Quote
  #19 (permalink)
 NetTecture 
Szczecin
 
Experience: Intermediate
Platform: Ninja, writing own now
Posts: 211 since Mar 2010


Big Mike View Post
@ JohnnyB, one last thing - you might time a run with HT enabled and another run with HT disabled. It may perform better with HT disabled in this case.

Mike

No, it should not. Sorry, mike.

Your arguments make no sense - I wont argue whether it will perform slower, or that data series are slower than building internally.

BUT: All that would be execution time, it would NOT show up in lower CPU utilization. Example HyperThreading - it may have to wait on "thread 2" for resources, but it would still show up 100% cpu utilization properly.

All that makes NO sense for Ninja. Ninja should be able to spin off enough parallel runs to use up the CPU stable 95% upward. Whether or not a strategy run internally optimal will show up in "how many cpu cycles it uses per bar", but not in how high the CPU utilization is.

Doing data loads (still fighting my NxCore library) I get the CPU stable to nearly 95% - I run 11 parallel threads, on 12 cores. The reason is that... well... that keeps the UI more responsive But 11 cores are running full stable 100%.

Ninja could do the same.

Sorry, the task manager bar showed a chip not even half working, not mostly working.

Reply With Quote
  #20 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599



NetTecture View Post
Your arguments make no sense

Lol.



Well I will just continue to rely on my own testing to reach my own conclusions, and you should do the same.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:




Last Updated on October 1, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts