Why sometimes MultiCharts only uses one single core for optimization?  [SOLVED]

Questions about MultiCharts and user contributed studies.
shargo
Posts: 9
Joined: 26 Nov 2017
Has thanked: 1 time
Been thanked: 1 time

Why sometimes MultiCharts only uses one single core for optimization?

Postby shargo » 03 Mar 2018

Why sometimes MultiCharts only uses one single core for optimization?

Here is my config:

CPU: i7-8700k
RAM: 16G
OS: win 10
MC version: 11.0

My computer has 6 cores. In most of the time, it runs with 6 cores for optimization. but sometimes it runs with one single core.
Can I turn on multi cores with any function, or does it have any setting to turn multi cores parallelization on?

Thank you for your answer.

User avatar
TJ
Posts: 7016
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 984 times
Been thanked: 2008 times

Re: Why sometimes MultiCharts only uses one single core for optimization?

Postby TJ » 03 Mar 2018

See post #13
[FAQ] Backtesting vs Optimization CPU Usage -- Single Core vs Multi-Core vs Hyperthread
viewtopic.php?t=10811

shargo
Posts: 9
Joined: 26 Nov 2017
Has thanked: 1 time
Been thanked: 1 time

Re: Why sometimes MultiCharts only uses one single core for optimization?

Postby shargo » 03 Mar 2018

Thanks a lot!
download/file.php?id=7588
Does this registry setting still work in this version?
These users thanked the author shargo for the post:
bomberone1

shargo
Posts: 9
Joined: 26 Nov 2017
Has thanked: 1 time
Been thanked: 1 time

Re: Why sometimes MultiCharts only uses one single core for optimization?

Postby shargo » 03 Mar 2018

I cannot find this regstry in Windows 10.

HKEY_CURRENT_USER\Software\TS Support\Power Language\StudyRunner

User avatar
TJ
Posts: 7016
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 984 times
Been thanked: 2008 times

Re: Why sometimes MultiCharts only uses one single core for optimization?

Postby TJ » 03 Mar 2018

shargo wrote:I cannot find this regstry in Windows 10.

HKEY_CURRENT_USER\Software\TS Support\Power Language\StudyRunner



Try to search this first, then look for the rest in the search results.

HKEY_CURRENT_USER\Software\TS Support

shargo
Posts: 9
Joined: 26 Nov 2017
Has thanked: 1 time
Been thanked: 1 time

Re: Why sometimes MultiCharts only uses one single core for optimization?

Postby shargo » 06 Mar 2018

For my case, i7-8700k has 6 cores. What will be better for NumberOfThreadsOnOptimization?
Should I set it to be 6, which is equal to the real core? or be 12, the logical core.
I set it to be 6 , but my computer seems to run slower than ever...
When I run optimization with registry key value 6, the cpu usage is up to 50%.
However, before I tune the registry key value, sometimes the CPU usage can be up to 90%-.
Or should I delete the registry setting?

shargo
Posts: 9
Joined: 26 Nov 2017
Has thanked: 1 time
Been thanked: 1 time

Re: Why sometimes MultiCharts only uses one single core for optimization?  [SOLVED]

Postby shargo » 06 Mar 2018

I don't know why. After I delete the registry key value, my optimization run faster than when I run it with the NumberOfThreadsOnOptimization = 6.


Return to “MultiCharts”