1 Even if I have one workspace active with just a single chart open NT quickly hogs 25% of the CPU (single core on the quad core machine). (See NTCPUSingleChart.png)
2 If I have a large workspace with many charts, even then the CPU usage stays at 25%. (see NTCPUDualWS). I also have an empty WS open at the same time.
3 If I switch to the empty workspace while keeping the WS with a large number of charts active in the background, the CPU usage literally drops to zero. (NTNoUsageDualWS)
I have made sure that the indicators are all set to CalculateOnBarClose = true. All the charts are 1 min charts. I have shut down data-storage on disk by NT (no replay no save historical data etc.). The resource manager shows literally no disk traffic from NT.
-----------------------------------------------------------
Some Notes:
(a) What is peculiar is that NT takes 25% of the CPU irrespective of whether it has one chart or 12 charts. Also the CPU usage collapses if no chart window is open in the active workspace even if a large workspace is open in the background.
(b) Notice how there are 24 threads open in the case with the single chart with NT. It seems there is some thread which is hogging the CPU and that situation occurs when a chart is Open and being plotted in a live workspace.
(c) Even if you increase the number of charts, the machine does not die, indicating that the thread is in some form of a wait state but still consumes a lot of cycles. As the real work increases with more tasks, the individual threads take less time but the CPU usage is still 25%.
The problem here arises when you want to make a change (i.e. open a chart). Then the dialog boxes die and do not work. Perhaps the threads for these have a lower priority and hence never get activated by the scheduler. I have to kill NT via the task manager and restart.
This was with Beta13.

Comment