Marino Macis #: Thanks Fernando,I think we have solved the problem, within set affinity there were four groups each of which contains 64 cores, only the first group was active, after activating them all, I finally saw the cpu at 100%!Great Fernando and thank you very much !!
You are welcome!
Please remember however, that the above is a manual process and that on the next restart the affinity may restore to default values.
To automate this, you will need to setup a PowerShell script or use some other batch method, or a 3rd party application like WinAFC, to control or update the affinities.
It might also be useful to experiment when the Tester Agent Manager is running, setting its affinity to all groups to see if it can then correctly add more agents.
EDIT: Or to start the Manager from the command-line with its affinity preset to all groups.
Please remember however, that the above is a manual process and that on the next restart the affinity may restore to default values.
To automate this, you will need to setup a PowerShell script or use some other batch method, or a 3rd party application like WinAFC, to control or update the affinities.
Fernando, you are right the affinity checks are canceled, a more in-depth analysis shows that it is possible to attribute all 128 physical cores to the agents, while of course you have the attribution of 6 physical and 64 logical cores, so it is not resolved anyway the problem of being able to see all possible 256 Agents.
It might also be useful to experiment when the Tester Agent Manager is running, setting its affinity to all groups to see if it can then correctly add more agents.
EDIT: Or to start the Manager from the command-line with its affinity preset to all groups.
Marino Macis #: Fernando, you are right the affinity checks are canceled, a more in-depth analysis shows that it is possible to attribute all 128 physical cores to the agents, while of course you have the attribution of 6 physical and 64 logical cores, so it is not resolved anyway the problem of being able to see all possible 256 Agents.
Use the suggestions I have already mentioned in posts #21 and #23.
Start the Manager from the command-line with its affinity preset to ALL processors, cores and threads by using the command-line instruction (please do some research on the web about this).
Use a PowerShell script to monitor and adjust the affinity accordingly .
Another option is to use WinAFC to have the manager and the agents start-up with the correct affinity.
And a final method to guarantee that the maximum number of agents is to combine these with Dominik's method in post #14.
EDIT: One more option to add to the various parts, is to directly edit the Registry and create entries to start the maximum number of agents automatically.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
You are welcome!
Please remember however, that the above is a manual process and that on the next restart the affinity may restore to default values.
To automate this, you will need to setup a PowerShell script or use some other batch method, or a 3rd party application like WinAFC, to control or update the affinities.
It might also be useful to experiment when the Tester Agent Manager is running, setting its affinity to all groups to see if it can then correctly add more agents.
EDIT: Or to start the Manager from the command-line with its affinity preset to all groups.
You are welcome!
Please remember however, that the above is a manual process and that on the next restart the affinity may restore to default values.
To automate this, you will need to setup a PowerShell script or use some other batch method, or a 3rd party application like WinAFC, to control or update the affinities.
Fernando, you are right the affinity checks are canceled, a more in-depth analysis shows that it is possible to attribute all 128 physical cores to the agents, while of course you have the attribution of 6 physical and 64 logical cores, so it is not resolved anyway the problem of being able to see all possible 256 Agents.
It might also be useful to experiment when the Tester Agent Manager is running, setting its affinity to all groups to see if it can then correctly add more agents.
EDIT: Or to start the Manager from the command-line with its affinity preset to all groups.
great solution!
Use the suggestions I have already mentioned in posts #21 and #23.
Start the Manager from the command-line with its affinity preset to ALL processors, cores and threads by using the command-line instruction (please do some research on the web about this).
Use a PowerShell script to monitor and adjust the affinity accordingly .
Another option is to use WinAFC to have the manager and the agents start-up with the correct affinity.
And a final method to guarantee that the maximum number of agents is to combine these with Dominik's method in post #14.
EDIT: One more option to add to the various parts, is to directly edit the Registry and create entries to start the maximum number of agents automatically.
Christian, the virtual machine solution is perfect, I used Microsoft's Hyper-V and finally you can see all the cores available, thanks.
Christian, the virtual machine solution is perfect, I used Microsoft's Hyper-V and finally you can see all the cores available, thanks.
Hi.. you mean with 64x2 physical core you got 256 total agents? So hyper threading is now working with the latest MT5 build?
I just have to follow your steps carefully?