Hello,

No, adding more RAM would not help much.
Instead lower number of bars
http://www.amibroker.com/guide/x_performance.html


Best regards,
Tomasz Janeczko
amibroker.com

On 2010-04-05 08:55, rselmanl wrote:
>
>
>
>
> Am a AB newbie and hope someone can provide advice.
>
> Running AB V5.3 and have an older Intel 3.4GHz dual core with 2GB DDR2 RAM.  
> Have lot's of charts and still want to add more.  Been getting warning 
> messages of too many chart AFL's, and some crashes.  Cut it back a bit and 
> have a reading of ~87% as opposed to +300%.  All this without new minute data 
> arriving.
>
> Current symbol data: 500096 bars (19.1MB)
> Virtual Memory Available: 1645.3 MB
> Page File Size: 2651 MB
> Total Chart Refresh Time: .140 seconds
>
> My system can run 8GB of DDR2 RAM and have XP Pro.  Will adding more DDR2 RAM 
> allow more chart AFL's?  I'm not ready yet to go with a new processor board 
> and RAM etc.
>
> My complements to the original poster of this thread.  Good material.
> Thanks in advance!
>
> -Ron
>
> --- In [email protected], "reefbreak_sd"<reefbreak...@...>  wrote:
>    
>> You don't say, but it appears that this is running on real time data.  
>> Anyway, here are some things that I've used to speed up my real time scans.  
>> I run a scan every 1 minute over 150 symbols - it takes about 3 seconds to 
>> complete.  To get there I used Task Manager ->  Performance ->  Resource 
>> Monitor to check for bottle necks.
>>
>> Here is what I did to speed things up.
>> 1. my database is small - 2500 bars of 5 minutes each for about 150 symbols. 
>> (Only the "Hard Right Edge" is important for me.)  I have another larger db 
>> that I use for historical testing. What happens is when each new bar 
>> arrives, the oldest bar gets deleted and the run times remain constant.
>> 2. Make sure that all unnecessary programs are not running.  The biggest 
>> offender for me was a real time virus checker "Windows Defender".  Run Task 
>> Manager - Processes when your scan is running to see if other programs are 
>> competing for CPU time.  For me Broker.exe uses about 20% of CPU #2 and 
>> IQConnect.exe uses about 5-10% of CPU #1
>> 3. Make sure you have plenty of memory.  Zero page file usage.
>> 4. Eliminate the window pane effect around the edge of each window you have 
>> open - I forget how to turn that off.
>> 5. Make sure that your cpus are not running in "power save" mode.
>> 6. Look through your *.afl and eliminate all unnecessary code.  I had 
>> several lines that I used for debugging laying around.
>>
>> --- In [email protected], "sidhartha70"<sidhartha70@>  wrote:
>>      
>>> I'm confused.
>>> I have a scan that I call every 5 mins (or hope to). This scan is used to 
>>> set up a series of static arrays that I use elsewhere in my code.
>>>
>>> The scan code is 30 lines long. A 'check' of the code says it takes 0.035 
>>> secs to run.
>>>
>>> I'm running the code over a defined filter which is a watch list of 
>>> symbols. It runs across 24 symbols.
>>>
>>> My DB has 100,000 bars in it.
>>>
>>> Even with everything backfilled, I have seen this scan take 14 mins to run. 
>>> That can't be right can it...??
>>>
>>>        
>>      
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>
>    

Reply via email to