[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] (unknown)


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: Re: [amibroker] Anyone using Amibroker with 6-8 realtime charts? - CPU staying at 100% all the time
  • From: "Tomasz Janeczko" <amibroker@xxxxxx>
  • Date: Wed, 7 Apr 2004 01:23:13 -0700

PureBytes Links

Trading Reference Links





Hello,
 
I can not agree with any of those observations. AB performs 
just fine in real time mode provided that
one does not use "killer" formulas like on-the-fly-line 
composites over hundreds of tickers.
 
SAR is not that bad. I can run 10 charts with two panes each 
Price and SAR simultaneously in real-time without problems.
I have standard setting of 3 second refresh interval (in 
Tools->Preferences->Intraday)
With this setup on my Athlon XP1700 it consumes on AVERAGE not 
more than 9% (NINE PERCENT only) of CPU time.
(see attached)<IMG alt="" hspace=0 
src="gif00090.gif" align=baseline 
border=0>
 
To get AVERAGE CPU usage measure in Windows Task manager 
switch View->Refresh interval to "SLOW"
 
You may be misguided completely by the Windows Task manager if 
you set View->Refresh interval to "FAST".
Then it gives you not average but temporary 
amounts.
 
When you switch to "FAST" mode the CPU usage shown will jump 
from ZERO to 100% because this is the way
all programs work: if then need CPU - they get the time slice 
from the system and execute at MAXIMUM SPEED (100%)
until given task (say refresh) is completed - then they 
switch to sleep state (0% CPU) and so on.
So you will get spikes and valeys but it averages to much 
smaller value than the spike is.
 
For example in the 10 chart example I was getting 60% spikes 
and much long 0% CPU usage areas.
 
 
If you unfortunatelly have written very slow formula the 
solution may be just to go to
Tools->Preferences->Intraday
and change 
"Intraday refresh interval" from default 3 seconds to 5 
or 10 seconds. 
 
Best regards,Tomasz 
Janeczkoamibroker.com
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Ara Kaloustian 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Wednesday, April 07, 2004 6:27 
  AM
  Subject: Re: [amibroker] Anyone using 
  Amibroker with 6-8 realtime charts? - CPU staying at 100% all the time
  
  Hi Jayson,
   
  AB takes a lot of CPU usage in RT. The most I'll 
  do is 4 with update every 5 seconds. ... so it has not been as good as it is 
  for EOD.
   
  I use it in conjuction with eSignal ... not sure 
  if I can realisticalyy migrate to AB alone... 
   
  4 items you might watch for to decrease CPU 
  load:
  - Do not use interpretation window - causes extra 
  processing.
  - Do not use Tooltips - causes extra 
  processing.
  - If you have loops that start at someplace other 
  than i=0, quick AFL will not help... AB will process all cells at every 
  bar
  - Update screen as little as possible. AB 
  processes all data every time you update screen
   
  Ara
  <BLOCKQUOTE dir=ltr 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    <A title=jcasavant@xxxxxxxxxxx 
    href="">Jayson 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">amibroker@xxxxxxxxxxxxxxx 
    Sent: Tuesday, April 06, 2004 3:33 
    PM
    Subject: RE: [amibroker] Anyone using 
    Amibroker with 6-8 realtime charts? - CPU staying at 100% all the time
    
    <FONT face=Arial color=#0000ff 
    size=2>What are you running? Sounds like maybe you need more horse 
    power  :)
    <FONT face=Arial color=#0000ff 
    size=2> 
    A 
    lot can have to do with the indicatorsa you are running. 10 charts is a lot 
    of RT data streaming through the CPU at one time...
    <FONT face=Arial color=#0000ff 
    size=2> 
    <FONT face=Arial color=#0000ff 
    size=2>Regards,
    <FONT face=Arial color=#0000ff 
    size=2> 
    <FONT face=Arial color=#0000ff 
    size=2>Jayson
    
      <FONT face=Tahoma 
      size=2>-----Original Message-----From: Padhu 
      [mailto:ccie8340@xxxxxxxxx]Sent: Tuesday, April 06, 2004 1:16 
      PMTo: <A 
      href="">amibroker-afl@xxxxxxxxxxxxxxxCc: 
      amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Anyone using 
      Amibroker with 6-8 realtime charts? - CPU staying at 100% all the 
      time
      Hello,
       
      Anyone out there using AB with esignal 
      realtime with 6 or more real time chart windows open?. I have about 10 
      Forex realtime charts and I see CPU staying at 100% all the time....With 
      help 
      from support I made some modifications to the 
      code also...But still stays very high....If anyone has seen this before 
      appreciate your comments.
       
      Thanks.
       
      Cheers,PadhuSend BUG 
      REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
      suggest@xxxxxxxxxxxxx-----------------------------------------Post 
      AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
      <A 
      href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
      group FAQ at: <A 
      href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
      Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 
      SUGGESTIONS to 
      suggest@xxxxxxxxxxxxx-----------------------------------------Post 
      AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
      <A 
      href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
      group FAQ at: <A 
      href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
      Send BUG REPORTS to 
  bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.






Attachment: Description: ""