![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?