Just use launcher if your doing it all from same PC.
1. Load Arma as normal ( with your required mods )
ALT+TAB out to desktop.
Open "Task Manager" and select "Details". Find "arma3.exe" and right click. Select "Set Priority" and change to "High". Next same right click "arma3.exe" and change "Set Affinity" , change it to the number of cores you wish to use. This all depends on how many cores you have for your CPU and if you use Hyperthreading.
Hyperthreading doubles the core list so CPU core 1 would be 1&2, Core 2 would be 2&3 etc
2. Select Parameters, Advanced Tab, Host from arma 3 launcher. You need to select....
Server.... Just tick
Server port.... default 2302 or what ever you use.
CFG... This is your Arma3server_basic.cfg ( direct it to folder with this in )
Config... This is your Arma3Server.cfg ( direct it to folder with this in )
Dedicated Server... 127.0.0.1
Load Mission to Memory
Once that is done click Play.
ALT+TAB out to desktop.
A little arma 3 command window should appear.
Back to the task manager and you should have 2 arma3.exe files in the details list.
If your not sure which one is the server arma3.exe, hover over set priority and if it's "High", then thats the Client (The default we just done ).
Select "Set Priority" and change to "Above Normal"
Next same right click "arma3.exe" and change "Set Affinity" , change it to the number of cores you wish to use.
3. Now we need to untick all the options in Parameters/Advanced tab/Host in arma 3 launcher.
If you plan to use Headless Client.. Select Launch Headless Client in Host list.
Now open Client above Host and we need to tick...
Server Address... 127.0.0.1
Server Port... 2302 or whatever you use
Server Password... This is the first password you use not your admin password.
Click play.
ALT+TAB out to desktop.
Another arma 3 command window will appear behind the first so move it to see both.
Do same with task manger ( you should have 3 arma3.exe ) and and just set affinity this time to what ever cpu cores you have left. I only use 1 core per headless client. Remeber just right click and mouse over set priority to see if it's set to High or above normal. If it is, then that's the first 2 the client and the server.
I do
Client=Priority "High"
Server=Priority "Above Normal"
Headless Priority "Client=Normal"
You must make sure you have added a Headless client in your mission and make it playable. I use the name "HC" for first Headless Client added in Eden.
Also a add....
//HEADLESS CLIENT
localClient[]={127.0.0.1};
headlessClients[]={"127.0.0.1", ...};
to your arma3server.cfg.
Also change Alive required module from Server to Headless client
Now click arma 3 in taskbar to get back to arma main screen and click multiplayer and servers.
You should now see your server in the list and be able to play from your server and have a headless client if added to mission and server.cfg file.