Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Holmes
New to forums
New to forums
Posts: 14
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed May 30, 2012 8:05 pm

Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Holmes »

Code: Select all

language="English";
adapter=-1;
3D_Performance=93750;
Resolution_Bpp=32;
Windowed=0;
MinBandwidth=131072;
MaxBandwidth=2147483647;
MaxMsgSend=128;
MaxSizeGuaranteed=512;
MaxSizeNonguaranteed=256;
MinErrorToSend=0.001;
MinErrorToSendNear=0.0099999998;
MaxCustomFileSize=0;
This is what I currently have. We host two 30 slot ARMA2: CO servers that are both full almost 100% of the time. All players experience heavy desync and we have yet to figure out a fix. Any suggestions?
User avatar
Edge100x
Founder
Founder
Posts: 13112
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Edge100x »

Is this a managed or unmanaged VDS?
Holmes
New to forums
New to forums
Posts: 14
Joined: Wed May 30, 2012 8:05 pm

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Holmes »

Unmanaged
User avatar
Edge100x
Founder
Founder
Posts: 13112
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Edge100x »

It appears that we use this one right now by default:

Code: Select all

MinBandwidth=15000000;
MaxBandwidth=100000000;
MaxMsgSend=1024;
MaxSizeGuaranteed=1024;
MaxSizeNonguaranteed=64;
MinErrorToSend=0.0024999999;
MaxCustomFileSize=0;
Windowed=0;
language="English";
adapter=-1;
3D_Performance=1000000;
Resolution_Bpp=32;
Holmes
New to forums
New to forums
Posts: 14
Joined: Wed May 30, 2012 8:05 pm

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Holmes »

This should hopefully eliminate the majority of the desync? Ill put it into place ASAP and do some testing with it.
User avatar
Edge100x
Founder
Founder
Posts: 13112
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Edge100x »

It's tough to say, since it could also be a setting on your command line or in a different configuration file. If this doesn't help, we can explore those a bit.
Holmes
New to forums
New to forums
Posts: 14
Joined: Wed May 30, 2012 8:05 pm

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Holmes »

Major desyncing issues are still occuring with that basic.cfg setup that you provided. Below is my current start up line. I use a batch file to start up my server (Almost certain this does not affect performance). The contents of the batch file are below

"C:\r1\arma 2 operation arrowhead\ARMA2OASERVER.exe" "-mod=C:\arma\arma 2;Expansion;ca;@ace;@acex;@acex_ru;@acex_usnavy;@acre;@cba;@cba_a2;@cba_oa;@jayarma2lib_new;@brg_africa;@chn_crocodile;@csj_snake;@ibr_lcivilians;@ibr_plants;@mbg_buildings2;@lingor;@dingor;@anticheat" -cfg=b.cfg -config=p2.cfg -port=151 -bepath=C:\BEServer2
Holmes
New to forums
New to forums
Posts: 14
Joined: Wed May 30, 2012 8:05 pm

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Holmes »

Anyone have suggestions?
User avatar
Edge100x
Founder
Founder
Posts: 13112
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Edge100x »

There are a some command-line options that you can try, in terms of increasing/decreasing its threading behavior and similar, but I'm not very familiar with them myself. Others who run CO or DayZ may have some more fleshed-out information.
Holmes
New to forums
New to forums
Posts: 14
Joined: Wed May 30, 2012 8:05 pm

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Holmes »

As I was looking around and doing some research (I assumed it was the case) it has nothing to do with network connectivity but hardware itself. Im running an 8 core vds so my only other option is to upgrade to a full machine which I gather would have no issues running my two servers. If there is a way to optimize the 8 core vds for a good bit until I have the finances, someone please share :)
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by IcEWoLF »

I don't think 8 HT cores are good enough for this.
You will have better luck with 8 physical cores with Arma2.
Image
Image
User avatar
Edge100x
Founder
Founder
Posts: 13112
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Edge100x »

IcEWoLF, ArmA2 actually runs very well on VDSes, and in most cases the HT cores here have similar performance to physical cores (due to how much the machines are underloaded). But, dedicated hardware would be a little faster, potentially.

Holmes, can you confirm that you're seeing CPU usage problems by looking at the process in the task manager?

More cores might actually not help in your case if it is leading to ping-ponging. Are the cores showing that the process is being moved around quite a bit?

Have you tried with fewer threads?
Holmes
New to forums
New to forums
Posts: 14
Joined: Wed May 30, 2012 8:05 pm

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Holmes »

CPU Usage doesn't seem to be the problem. Usage never goes above 35%.
User avatar
Edge100x
Founder
Founder
Posts: 13112
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Edge100x »

35% is very high overall, certainly.

35% could mean slightly less than 3 full cores are in use at 100% (hitting 100% will cause clear performance problems), or it could mean more cores are being used to at less than 100% each and some more complicated threading/locking issues are at play. On the latter, have you tested the server with just one or two cores?
Holmes
New to forums
New to forums
Posts: 14
Joined: Wed May 30, 2012 8:05 pm

Re: Optimal Basic.cfg for ARMA2: CO on an 8-Core VDS

Post by Holmes »

I have no yet no. Ill try setting it to two cores per server and see how it performs
Post Reply