Hello,
This is not so that "zero data are coming in". Even with very
light trading or no trading at all, real time data sources
send updates NON-STOP (because otherway, when one connected in
the middle of the night you will not know what the last
price was until start of trading - so last bid / ask and last
size notifications are sent periodically even if no trading occurs,
also with no trading, other updates are sent such as updates
to other RTQ fields and updates about ask/bid -
with no trading ask/bid can still change).
And as data are really coming in, so your charts refresh as
often as you defined it in
Tools->Preferences->Intraday "Chart retresh interval".
You may increase this value if you want less often refreshes
and less CPU use.
Each chart refresh takes about the same time and it does not
depend if there is a heavy trading or not because
of fixed interval at which charts are refreshed.
And yes if your indicators take 1 second to calculate it means
that they need optimization.
Even on tick database our timings should be half of that or
less. On minute database timings should be below 0.01 sec.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
Sent: Friday, March 31, 2006 8:31
AM
Subject: [amibroker] Amibroker CPU
Utilization
I was checking my Tick data installation late at
night when there is basically zero data coming in (using NQ emini with eSignal
data feed.
Running 3Ghz machine with Hyperthreading, Windows
2000 with AB version 4.79
I noticed that CPU utilization ran an
average of 30% for AB, occasionally dropping to zero for 5 to 15
seconds and going all the the the max (50%) frequently.
When I shut off data stream, CPU utilization
drops to zero. When I add the times shown on the indicators, the total is
about 1 second. ( I know I should steamline the indicators, but want to make
sure I don't have anything strange going on )
I have 3 windows using tick time frames (89, 144
and 233) and 1 window set to 1 min.
Switching databases to 1 min data, the CPU load
is about 10% average with half the time at zero and then about 15 to 18%.
running 1 window with 4 indicators using a total of 300 ms.
Does this seem excessive considering there is
essentially no data coming in.
Appreciate all feedback
Ara