cannot run 16 instances of MT4 terminal.exe :(

 

windows 10 or windows 11, two or three terminals are ok, but then more i add more lagging i get,

page faults, handles, etc


what to do?

1 terminal is using only 1% of CPU

why can't I run many mt4 instances?



r9 5950x

128 gb ram


windows 11

6 TB NVMe SSD, german hetzner 10GBit uplink

i am running 13 MT4s and cpu usage is max 10% and only 8 GB is used


all mt4s are with /portable command line

everything is working, but lag is horrific for no apparent reason, no too many handles, no page faults


:( win 11 is completely unresponsive


no IO to disk



maybe MT5 is better?

can I run ~30 MT5s?

 

looks ok in task manager

but super heavy lag and hag

 
since you have powerfull workstation, try to run MT4s inside virtual machines with hardware virtualization activated.

Good luck.
 

Did you set each MT4 instance to its own dedicated CPU core affinity? That's what I did when I ran several MT4s at once, as their layouts were quite CPU intensive and MT4 is single threaded. They could often momentarily saturate a 12700K P-core :P

Also MT5 is much better in terms of performance. I bet it would be easier to run multiple MT5s than MT4s, they would probably play much nicer with multiple CPU cores. But usually people use MT4 specifically because they have something for it which wasn't updated for MT5
 
Max0r847 #:

Did you set each MT4 instance to its own dedicated CPU core affinity?

Can you elaborate as to how the CPU affinity is set for MT4?