In the settings menu for each terraria instance, make sure multithreaded lighting is set to the maximum it can be.
In Task Manager(Press Ctrl+Shift+Esc to open) -> Details, you can set the priority for each Terraria instance to High.
Also, in Task Manager -> Performance -> CPU -> Right click...