Download MetaTrader 5
To add comments, please log in or register
Millions of traders download codes from MQL5 library. Share your app with them!
Pilot65
670
Pilot65 2012.02.04 02:47 

Hi, I see a potential for getting higher optimizing speed...Running MT4 optimizer I've never seen more than 14% CPU usage.

Inside the box is XP running on a i7-950 @ 3G, so this is a pretty powerful PC, 3G RAM. I see almost no HDD activity so RAM and pagefile is probably OK.

Have tried to use a single core, or all 8 in paralell, also adjusted affinity... still on 13-14%

For other programs I may see like 90% CPUusage, so I doubt there are any I/O bottlenecks.

It might be possible to get a 6-fold increase in MT4 CPU usage ( to 85%), and a correspondingly faster optimization... Any ideas ?

Phil
124
Phil 2012.02.04 03:20  

The MetaTrader 4 Strategy Tester only runs in a single core. I have complained about this a long time ago yet Metaquotes still have not cared.

I now avoid MetaTrader for backtesting & optimization and use JForex instead in order to make full utilization of my i7-870 CPU with 8 virtual cores.

c0ntr0x
81
c0ntr0x 2015.01.03 15:49  

ty for these post im also rly pissed of that, running my pc 5 days for 1 year backtest optimation ^^^



just usage one cpu with 99% of 5 cpus ... fucking 20 % cpu usage pls fix that shit

Carl Schreiber
5927
Carl Schreiber 2015.01.03 20:19  
c0ntr0x:

ty for these post im also rly pissed of that, running my pc 5 days for 1 year backtest optimation ^^^



just usage one cpu with 99% of 5 cpus ... fucking 20 % cpu usage pls fix that shit

My guess - it might be wrong - your EA is badly coded?

What about:

OnTick(){
   ...
   if (!IsOptimization()) { .../* skipp the needless (visual?) stuff */ }
   ..
}

?

Alain Verleyen
Moderator
28517
Alain Verleyen 2015.01.03 21:35  
c0ntr0x:

ty for these post im also rly pissed of that, running my pc 5 days for 1 year backtest optimation ^^^



just usage one cpu with 99% of 5 cpus ... fucking 20 % cpu usage pls fix that shit

Please watch your language on this forum.
/
To add comments, please log in or register