PDA

View Full Version : Replay performance during fast-forward


vjsworld
09-21-2008, 02:10 PM
During my testing using replay, my system really starts to slow down after 20 or so fills. It plays back fast during everything except right after fills.... it pauses for 30-60 seconds (sometimes much longer when I've had > 100 fills for the day).

I've read and done all of the performance tips. I have a brand new 64bit, dual processor machine, with 4 gigs of ram. I watch my memory and processor monitor, and I am only using @ 1.75gb of ram, and never more than @ 60% of my processor. Most of the time during these pauses my processor is idling (IE: less than 10%).

What is NT doing to cause these very long pauses after fills if it is not processing (or putting a strain on my system)? What can I do to stop this?

NinjaTrader_Ray
09-21-2008, 02:32 PM
Windows has a memory limitations for application which I believe is right around where you see your RAM levels at. There is no way around this windows limitation. We are working on optimizing memory usage for our next major release. I suspect you are just running into this limitation and the windows likely starting swapping to disk for virtual memory.

vjsworld
09-21-2008, 02:45 PM
WOW,
Working on a Sunday! BRAVO~

Awesome quick response. THANKS~!

Van

vjsworld
09-25-2008, 10:08 AM
Man!,
My system runs soooo slow. Read my specs below. I have a super computer, with gobs of RAM and dual 64bit processors. It is taking > 6-10minutes after each fill to moving again.

My processors are idling, and my RAM is not even close to being tapped.

What can I do?

NinjaTrader_Josh
09-25-2008, 10:12 AM
Please see some of these performance tips that may have a more global implication than just in Market Replay. http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?PerformanceTips1

Also, a big factor in performance when running your strategy is simply how efficient your NinjaScript Strategy code is.

vjsworld
09-25-2008, 10:20 AM
Yes,
I am a computer scientist by trade. I know all about code efficiency.

I have read and did all of these performance tips already.

If NT was bogging my system down, I would see it via my processor monitor, and RAM monitor. Neither of which ever really get above idling.... so the system's capacity isn't being tested. What is NT waiting for after each fill?

Is there a file, or log somewhere that I can send you to see if you notice something?

NinjaTrader_Josh
09-25-2008, 10:25 AM
NT will log the execution in its database when it makes trades. As Ray mentioned earlier, there will be improvements in the next major release.

vjsworld
09-25-2008, 12:16 PM
went to my other office and put the exact same test going on my WinXP box and it FLIES~ Also, this computer isn't half the box as my other. (only 1gb ram, and single P5 processor).

NO delays after fills.

Can test a whole day in less than 10 minutes.

Wonder what is up with my 64bit, dual processor Vista machine? I've deactivated the Norton Antivirus, and Firewall, and made sure to set exceptions on the Windows firewall. Still no good.

Any suggestions with these new clues?

NinjaTrader_Josh
09-25-2008, 12:25 PM
We do not currently support 64bit. It may or may not work.

Tight Face
09-25-2008, 06:58 PM
went to my other office and put the exact same test going on my WinXP box and it FLIES~ Also, this computer isn't half the box as my other. (only 1gb ram, and single P5 processor).

NO delays after fills.

Can test a whole day in less than 10 minutes.

Wonder what is up with my 64bit, dual processor Vista machine? I've deactivated the Norton Antivirus, and Firewall, and made sure to set exceptions on the Windows firewall. Still no good.

Any suggestions with these new clues?

Vista perhaps?

NinjaTrader_Josh
09-26-2008, 08:03 AM
Vista is supported, just not 64 bit.

Anagoge
09-29-2008, 04:43 PM
In case anyone is wondering, 64-bit operating systems may not be officially supported, but in my testing, the parts of NT 6.5 I use work fine under Vista 64. .NET shields you from a lot of the particulars of the underlying operating system and hardware.