Dukascopy
 
 
Wiki JStore Search Login

Historical Tester jforex 3.2.19: significant speed reduction.
 Post subject: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 30 Oct, 2017, 09:40 

User rating: 0
Joined: Sun 29 Oct, 2017, 16:39
Posts: 13
Location: UkraineUkraine
Looking for some information about built-in historical tester in jforex 3.2.19 demo

When I launch a test of strategy with custom period two years or more, I observe an effect of significant speed reduction of the historical tester after 30% of work completed.
The same effect I can notice on different modern powerful hardware configuration with different strategies.
Also the phenomena is present in jforex 3 for mac os and jforex for windows 10 system.
The first 20% of work was completed in 70 minutes. It took 16 hours to complete other 20% percent.
The test is still running.

Moreover, I have reports of this uncomfortable speed reduction from members of my team.
Could it be related to heap size ?

How many traders have encountered similar problem?
Could you suggest a solution of the problem?

Thanks!

Hardware configuration

CPU 3.8 GHz Intel Core i5
RAM 24 GB 2400 MHz DDR4
Video Radeon Pro 580 8192 MB
Storage 2.12 TB
Fusion Drive

MacOs 10.12.6


https://imgur.com/IK8M2tI


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 30 Oct, 2017, 15:04 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1049
Location: Geneva, Switzerland
We will look into this


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 30 Oct, 2017, 15:35 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1049
Location: Geneva, Switzerland
We suspect this is due to out of memory problem.

Please try to increase the Max heap size.
If you have installed JF, open "Advanced settings/Memory" to increase it.
If you launch it by webstart, edit the .jnlp file and change -Xmx in this line:
<java version="1.8+" java-vm-args="-Xmx512m -Xms32m"/>

Save and run it.


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 30 Oct, 2017, 21:28 

User rating: 0
Joined: Sun 29 Oct, 2017, 16:39
Posts: 13
Location: UkraineUkraine
Platform Support wrote:
We suspect this is due to out of memory problem.

Please try to increase the Max heap size.
If you have installed JF, open "Advanced settings/Memory" to increase it.
If you launch it by webstart, edit the .jnlp file and change -Xmx in this line:
<java version="1.8+" java-vm-args="-Xmx512m -Xms32m"/>

Save and run it.


I will try the proposition. Hopefully, it helps to improve the performance of the Historical Tester. Thanks!


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Sat 04 Nov, 2017, 20:28 

User rating: 0
Joined: Sun 29 Oct, 2017, 16:39
Posts: 13
Location: UkraineUkraine
Platform Support wrote:
We suspect this is due to out of memory problem.

Please try to increase the Max heap size.
If you have installed JF, open "Advanced settings/Memory" to increase it.
If you launch it by webstart, edit the .jnlp file and change -Xmx in this line:
<java version="1.8+" java-vm-args="-Xmx512m -Xms32m"/>

Save and run it.




I have tried system max heap size and custom max heap size
The screen is https://i.imgur.com/CjV87GQ.png

There was no improvement in speed at all.
The historical tester did 15% work completed in two hours. Later, it was moving extremely slowly at 33% after 24 hours of work (two nightshifts)
The screen is https://i.imgur.com/lZr5Pl2.png

My team members also haven't observed any improvement.
I am ready to provide any log file if it can be useful in effective solution of the problem.

Do you have any information from your side about this anomalous speed reduction?


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Sun 05 Nov, 2017, 21:50 

User rating: 0
Joined: Sun 29 Oct, 2017, 16:39
Posts: 13
Location: UkraineUkraine
I can share the timeline of speed reduction.
Please, provide us with instructions.
How can we improve the speed of the Historical Tester?

Test Start @21:02:59 04.11.2018
Image

Test after approximately 1Hours .50min. 14%.completed
Image


Test after 9Hours 27% completed
Image

Test after 20Hours and 30min 35% completed
ETA estimated time of arrival one day and 15 hours

Image


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 06 Nov, 2017, 11:39 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1049
Location: Geneva, Switzerland
We are looking into this. Can you confirm this problem on any strategy? If not, could you provide at least part of the code to repeat the issue?


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 06 Nov, 2017, 11:55 

User rating: 0
Joined: Sun 29 Oct, 2017, 16:39
Posts: 13
Location: UkraineUkraine
Platform Support wrote:
We are looking into this. Can you confirm this problem on any strategy? If not, could you provide at least part of the code to repeat the issue?


Yes, we observe that reduction of speed of the Historical Tester with different strategies.
I am ready to provide the code.
Do you need vfs or jfx source?
Where can I submit the code?


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 06 Nov, 2017, 13:47 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1049
Location: Geneva, Switzerland
.java code please.

Please send it to [email protected]
Subject: JForex Historical Tester


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 06 Nov, 2017, 14:11 

User rating: 0
Joined: Sun 29 Oct, 2017, 16:39
Posts: 13
Location: UkraineUkraine
Platform Support wrote:
.java code please.

Please send it to [email protected]
Subject: JForex Historical Tester



I have just sent the code and the value of parameters. Looking forward to the solution of this issue.


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 27 Nov, 2017, 12:22 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1049
Location: Geneva, Switzerland
We have improved several things, which will solve the problem hopefully. Will be deployed soon.


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Mon 27 Nov, 2017, 15:28 
User avatar

User rating: 2
Joined: Tue 11 Jul, 2017, 09:30
Posts: 24
Location: HungaryHungary
Platform Support wrote:
We have improved several things, which will solve the problem hopefully. Will be deployed soon.


I have problems with the tester API, which may be related to this behaviour. I posted it here: https://www.dukascopy.com/swiss/english ... 16&t=55622

Will this improvements solve my problem as well??? :P


 
 Post subject: Re: Historical Tester jforex 3.2.19: significant speed reduction. Post rating: 0   New post Posted: Tue 02 Jan, 2018, 17:23 

User rating: 0
Joined: Sun 29 Oct, 2017, 16:39
Posts: 13
Location: UkraineUkraine
Platform Support wrote:
We have improved several things, which will solve the problem hopefully. Will be deployed soon.


My team members have observed significant improvement of the Historical Tester's speed in 3.2.22

Strongly appreciate your support!

THANK YOU!


 

Jump to:  

cron
  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com