• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 11:48am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:48am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Strategy tester just stops when running this code and idk why 7 replies

strategy builder/tester for new scalping strategy 1 reply

Strategy tester speed 3 replies

2009.03.11 15:41:15Tester memory handler: tester stopped because not enough memory 19 replies

iADX not working in Strategy Tester 5 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
Tags: Strategy Tester not running at full speed.
Cancel

Strategy Tester not running at full speed.

  • Post #1
  • Quote
  • First Post: Mar 15, 2010 10:48am Mar 15, 2010 10:48am
  •  Azmel
  • | Joined Feb 2008 | Status: Member | 17 Posts
I have a quad-core Q6600 machine which I use for Strategy Tester. I used to run four instances of Strategy Testers and all four will run at full speed (i.e. the CPU load will be at 100%).

Recently, I can no longer run four STs anymore without the CPU breaking off full speed. I can only run at most three instances of STs now. When I run three, the CPU load will be at 75%, but as soon as I power up the fourth, the CPU load will drop down to 10% only and the STs will take ages to finish.

Do you think the cut-off is because CPU safety feature? Is there any settings in BIOS that I tweak to prevent the CPU from breaking off?
  • Post #2
  • Quote
  • Mar 15, 2010 11:05am Mar 15, 2010 11:05am
  •  Ronald Raygun
  • Joined Jul 2007 | Status: 32 y/o Investor/Trader/Programmer | 5,016 Posts
What's the RAM usage?
 
 
  • Post #3
  • Quote
  • Mar 15, 2010 11:11am Mar 15, 2010 11:11am
  •  Azmel
  • | Joined Feb 2008 | Status: Member | 17 Posts
My machine have 4GB RAM which I think is a plenty. Will the ST uses a lot of RAM if the history data goes back many years? Usually I only run the ST on a sample size of two to four years only.
 
 
  • Post #4
  • Quote
  • Mar 15, 2010 11:14am Mar 15, 2010 11:14am
  •  Ronald Raygun
  • Joined Jul 2007 | Status: 32 y/o Investor/Trader/Programmer | 5,016 Posts
Depends on the density of the data you're using. Rerun your tests and see how much ram is being used. What I think is happening is you are hitting your RAM limit, and the computer is switching to file swapping (using your HD as 'extended ram')
 
 
  • Post #5
  • Quote
  • Mar 15, 2010 11:25am Mar 15, 2010 11:25am
  •  Azmel
  • | Joined Feb 2008 | Status: Member | 17 Posts
Thanks for the tip, Ronald. I will check this out.

Do you know how to make the ST uses multiple cores? If I run only 1 ST, it will only use one core which is kinda waste. Intel is producing 6 cores and 8 cores soon - it'll be a shame to have these on idle.
 
 
  • Post #6
  • Quote
  • Mar 15, 2010 11:30am Mar 15, 2010 11:30am
  •  Ronald Raygun
  • Joined Jul 2007 | Status: 32 y/o Investor/Trader/Programmer | 5,016 Posts
Proxmox.

Should allow you to combine cores virtually.
 
 
  • Post #7
  • Quote
  • Mar 15, 2010 1:52pm Mar 15, 2010 1:52pm
  •  7bit
  • Joined Mar 2009 | Status: Member | 1,231 Posts
How should this proxmox magically parallelize single threaded code? Does it contain a time machine? If A needs to be finished before B can be started in a single threaded program then no automated voodoo, no matter how sophisticated, can break the laws of causality and the nature of space and time as we know them and make A and B start at the same time and still let B depend on A's outcome.
 
 
  • Post #8
  • Quote
  • Mar 15, 2010 2:55pm Mar 15, 2010 2:55pm
  •  Ronald Raygun
  • Joined Jul 2007 | Status: 32 y/o Investor/Trader/Programmer | 5,016 Posts
As I understand proxmox, it takes a set of resources (CPUs, Ram, HD space) and creates virtual instances similar to VMware.
 
 
  • Post #9
  • Quote
  • Last Post: Mar 16, 2010 2:09pm Mar 16, 2010 2:09pm
  •  7bit
  • Joined Mar 2009 | Status: Member | 1,231 Posts
Quoting Ronald Raygun
Disliked
As I understand proxmox, it takes a set of resources (CPUs, Ram, HD space) and creates virtual instances similar to VMware.
Ignored
But this can not parallelize the code. It can distribute a LOT of processes and threads optimally across the available CPUs, but one process that has only one thread can only run on one CPU. You simply cannot make 8 Cores run the same single threadd program at 8 times the speed.

The program itself must be written in a way that it can split up the workload into equally sized chunks that can be processed completely independent from each other at the same time before it starts. This is not a simple task! It needs a completely different approach to the problem solution, many programmers have never learned this and some problems simply cannot be splitted.

Modern CPUs can to some degree execute pieces of code that are independent in parallel without special measures and if there are only two possible outcomes at some point they can do such "dirty" tricks like branch prediction and just guess the outcome and start executing some later code and throw it away if the guess was wrong (and also you can have your compiler produce code that tends to execute the else branch much more often to support the predictive power), but this can not work if the possible outcomes of an earlier task are too many.

A real-world example: If you have 8 cars instead of one you cant transport a person from A to B any faster than with only one. You can transport 100 people from A to B eight times faster with eight cars but not one single person. No matter how sophisticated the algorithm is that choses which car to use.
 
 
  • Platform Tech
  • /
  • Strategy Tester not running at full speed.
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023