Optimization Running Slow

To add comments, please log in or register
JKW
168
JKW  

Hello,

I have two computer systems running an Optimization for an Expert Advisor. Both are optimizing the same EA, just different currency pairs.
One system is fast than the other. For example, System A is running the optimizations faster than System B. Yet, system B is a more powerful machine.
Below is the configuration.

System A: 8gb Memory, AMD A8-6500 2 Core Processor -- Onboard Graphics Card Radeon HD 8570D

System B:  16gb memory, AMD FX-8320 8 Core Processor -- Radeon R9 200 graphics card -  Gaming Desktop.

I started off an optimization on System A & B.  System A, which is less powerful has already done 2529 tests, while System B is stuck only at 574. The slower resourced machine is 5 times faster.

Both MT4 platforms are configured the same. The one on the slower machine only has two charts opened up each with an EA, and the faster machine actually has 7 chart windows opened up.

Any suggestions on why the Faster Gaming Desktop PC is slower optimizing that the smaller desktop PC?

JW

Anthony Garot
3259
Anthony Garot  

Run a benchmark test on both machines.

Google something like: free computer benchmark test

William Roeder
20207
William Roeder  
JKW: has already done 2529 tests, while System B is stuck only at 574.
If you are doing genetic optimization, remember the ordering of the tests is random. You could have a combination(s) that hang or are intensive.
  • EAs : Don't do per tick that you can do per bar, or on open.
    If you are waiting for a level, don't reevaluate, wait until price reaches it (or a new bar starts and you recalculate.)
    If you are waiting for an order to open or close, only look when OrdersTotal has changed.
  • Indicators: Code it properly so it only recomputes bar zero (after the initial run.)
              How to do your lookbacks correctly.
To add comments, please log in or register