NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 06-14-2010, 07:55 AM   #1
hegh2000
Senior Member
 
Join Date: Nov 2008
Location: Paris
Posts: 201
Thanks: 0
Thanked 10 times in 3 posts
Default CPU Usage

hi,

I tried today NT 7 b 17 in real time.

Under NT 6.5, my workspace consumes 10% CPU time (Max).
Under NT 7, the same workspace consumes 52% CPU time.

proc : XII 3 Gh

Memory usage is identical in both versions (150 Mo).

8 chart
0 indicator with calculate close bar false
1 market

I think there 's a real problem.
Last edited by hegh2000; 06-14-2010 at 08:02 AM.
hegh2000 is offline  
Old 06-14-2010, 08:05 AM   #2
NinjaTrader_Kyle
NinjaTrader Customer Service
 
NinjaTrader_Kyle's Avatar
 
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,324
Thanks: 146
Thanked 252 times in 248 posts
Default

Hello hegh2000,

Thank you for your post.

Please send a note to Support [AT] NinjaTrader [DOT] com with 'ATTN: Kyle' in the subject line.

In the message, please include the following:

1.) A link to this forum thread.

2.) Your NinjaTrader 6.5 workspace. (My Documents > NinjaTrader 6.5 > Workspaces)

3.) Your NinjaTrader 7 workspace (My Documents > NinjaTrader 7 > Workspaces)

4.) Your most current NinjaTrader 7 trace file.
You will find the trace file in the My Documents > NinjaTrader 7 > Trace folder.
Today's trace file will be named 'trace.20100614.txt'.

5.) Any custom NinjaScript files which are being used in either of the workspaces.
NinjaTrader_Kyle is offline  
Old 07-01-2010, 11:17 AM   #3
hegh2000
Senior Member
 
Join Date: Nov 2008
Location: Paris
Posts: 201
Thanks: 0
Thanked 10 times in 3 posts
Default

hello

I managed to optimize my work space. This is not an optimal solution but it works.

Reminder:

the same work space between NT 6.5 and 7 b 17 or 18
8 Charts
0 real time indicator

I tried it on two different PCs and the result is identical

6.5:
RAM: 157 MB
Graphics memory usage: 24 MB
CPU usage: 12% MAX

7:
RAM: 147 MB
Graphics memory usage: 21 MB
CPU usage: 52% MAX

amendment (only for NT 7 b 17 or 18, under 6.5, I have not even bp):

Display Update Interval

I increased the value to 5 see 60 seconds on the UTs long

CPU Usage = 12% MAX

This is perhaps not the optimal solution is that NT-7, is really a pb, I do not know.
I hope you have simply provides elements

cordially

adrien
hegh2000 is offline  
Old 07-01-2010, 01:26 PM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Adrien,

Can you please provide us with the new 6.5 workspace you are using as well as the 7 workspace you are using. Thanks.
NinjaTrader_Josh is offline  
Old 07-01-2010, 02:46 PM   #5
hegh2000
Senior Member
 
Join Date: Nov 2008
Location: Paris
Posts: 201
Thanks: 0
Thanked 10 times in 3 posts
Default

Hi Josh

my area of work is not exceptional.
But those who consume more CPU time are two charts for 30 minutes where I use an indicator that I developed myself, iMarketProfile1_7 (you are in the section File Sharing) that contains a lot of output. The same indicator iMarketProfile1_65 (for NT 6.5), with Display Update Interval 0.5 sec will consume anything.
hegh2000 is offline  
Old 07-01-2010, 02:50 PM   #6
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

hegh2000,

I see. Unfortunately we would not be able to comment on performance of 3rd party custom indicators. If you are seeing differences in behavior it would be best to bring this up to the original author of the script to see if they can resolve it in their custom code.
NinjaTrader_Josh is offline  
Old 07-01-2010, 03:00 PM   #7
hegh2000
Senior Member
 
Join Date: Nov 2008
Location: Paris
Posts: 201
Thanks: 0
Thanked 10 times in 3 posts
Default

Josh, thank you for your reply

but the author is me, the version is identical to 1_7 and 1_65.

The only difference is the adaptation of the DrawText routine that does absolutely nothing in the performance of the indicator.

Thank you very much.
hegh2000 is offline  
Old 07-01-2010, 03:09 PM   #8
hegh2000
Senior Member
 
Join Date: Nov 2008
Location: Paris
Posts: 201
Thanks: 0
Thanked 10 times in 3 posts
Default

I tried with 6 charts without this indicator, but with default values, 0.5 sec for Display Update Interval, the result is striking, the consumption of CPU is the dual 6.5.
hegh2000 is offline  
Old 07-01-2010, 03:17 PM   #9
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

I threw your indicator onto a chart and used Window's Resource Monitor to monitor NinjaTrader's CPU use. It loaded up onto the chart and average CPU use is 2%. I am not seeing anything adverse in NT7 with CPU usage.
NinjaTrader_Josh is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lag CPU Usage Mike_32 Miscellaneous Support 2 07-02-2009 02:56 AM
CPU Usage Alfred Miscellaneous Support 10 03-10-2009 04:52 AM
cpu usage ckait Miscellaneous Support 18 11-12-2008 02:19 AM
CPU usage magicboiz Connecting 1 10-15-2008 07:35 AM
CPU usage to go >90% ishron Miscellaneous Support 1 06-11-2008 10:35 AM


All times are GMT -6. The time now is 11:36 PM.