Jump to content
terox

[Tutorial] Server bandwidth & Optimisation

Recommended Posts

login as admin and type #monitor 5, the server cps is stated ingame

Share this post


Link to post
Share on other sites

... wow... that would have made so many of my modifications of the settings a lot more logical then what feels better lol Thanks I'll give that a go and see what its running when I get off work.

Share this post


Link to post
Share on other sites

Hey guys I got a chacne to take a look at my server this morning and this was the report I got. This was the missions starting fresh and since its so early it was just me on but its a baseline.

50 CPS (average)

26 CPS (When loading in AI for the generated mission)

50 CPS (Once recovered from the initial spawn of AI)

Now I just gotta get the server full and test it. Below is my current basic.cfg.

MaxMsgSend = 512;

MaxSizeGuaranteed = 768;

MaxSizeNonguaranteed = 224;

MinBandwidth = 104857600;

MaxBandwidth = 104857600;

MinErrorToSend = 0.02;

MinErrorToSendNear = 0.02;

MaxCustomFileSize = 1310720;

adapter=-1;

3D_Performance=1;

Resolution_W=0;

Resolution_H=0;

Resolution_Bpp=32;

Windowed=0;

Share this post


Link to post
Share on other sites
Hey guys I got a chacne to take a look at my server this morning and this was the report I got. This was the missions starting fresh and since its so early it was just me on but its a baseline.

50 CPS (average)

26 CPS (When loading in AI for the generated mission)

50 CPS (Once recovered from the initial spawn of AI)

Now I just gotta get the server full and test it. Below is my current basic.cfg.

MaxMsgSend = 512;

MaxSizeGuaranteed = 768;

MaxSizeNonguaranteed = 224;

MinBandwidth = 104857600;

MaxBandwidth = 104857600;

MinErrorToSend = 0.02;

MinErrorToSendNear = 0.02;

MaxCustomFileSize = 1310720;

adapter=-1;

3D_Performance=1;

Resolution_W=0;

Resolution_H=0;

Resolution_Bpp=32;

Windowed=0;

Ok Thanks. But what is CPS ? Are FPS with other Name?

Share this post


Link to post
Share on other sites

FPS is based on the graphical frames per second rate you get on a client

CPS is cycles per second (There are no graphics been run on a server)

They equate to different things but both are a measurement on performance

Share this post


Link to post
Share on other sites
FPS is based on the graphical frames per second rate you get on a client

CPS is cycles per second (There are no graphics been run on a server)

They equate to different things but both are a measurement on performance

A ok thank, but the limit of server are 50 CPS. Right?

Share this post


Link to post
Share on other sites

With the guaranteed network messages that are coming in 1.26 I'm hoping to see some more documentation in regards to this whole process. Stay tuned...

Share this post


Link to post
Share on other sites

I was on my server last night with about 8 people during the action I was at a steady 25 CPS it seemed to run fine but I don't know if thats due to the new patch or if my config is not setup right.

Share this post


Link to post
Share on other sites
I was on my server last night with about 8 people during the action I was at a steady 25 CPS it seemed to run fine but I don't know if thats due to the new patch or if my config is not setup right.

With 8 People, 25 CPS is very very scant.

With 30-25 people, 25 CPS is a decent result.

.

Share this post


Link to post
Share on other sites

My dedicated server...

AMD 3.40GHz A8-3870

RAM: 8GB

Operating System: Windows

Link: 30Mbps download and upload

HD: 500GB

Now i'm running the server with 50 slots with Invade & Annex mission, when the server is full FPS varies between 9 ~ 15. Have any way to optimize?

Share this post


Link to post
Share on other sites

Although i m not the "specific" person you lookin' for a "solid" answer..server performance is a very complicate matter.

Roughly..a PvE server settings differs in some way from a PvP oriented server.

*on a PvP server values seen on server config as MinErrorToSend and MinErrorToSendNear makes a difference to actually "see what you supposed to" in the cost of performance ..but on a PvE setup you can use more "relaxed" values and gain some FPS.

Probably you must post your server configs settings so ppl can propose you better solutions.

Also..i believe Inv&Annex involves AI (??)

A Headless Client would probably help your server taking enough CPU strain from the AI calculations (i guess)

Sorry if i can't help you more atm..

Edited by GiorgyGR

Share this post


Link to post
Share on other sites

Is there a best practice for this yet?

Startup parameters:

start "arma3" /realtime /affinity FF "arma3server.exe" -port=2302 "-config=C:\ServerHosting\A3Startup\A3Wasteland\config.cfg" "-cfg=C:\ServerHosting\A3Startup\A3Wasteland\basic.cfg" "-profiles=C:\ServerHosting\A3Startup\A3Wasteland" -name=A3Wasteland -pid=a3_prod.pid -ranking=a3_prod_ranking.log "-mod=@ASM" -malloc=tbbmalloc -enableHT -cpuCount=4 -exThreads=7

Our server hardware:

Core i7-2670QM @ 2.8Ghz

8GB DDR3

SSD

Our basic.cfg

MaxMsgSend = 768;
MaxSizeGuaranteed = 512;
MaxSizeNonguaranteed = 256;
MinBandwidth = 131072;
MaxBandwidth = 104857600;
MinErrorToSend = 0.001;
MinErrorToSendNear = 0.01;
MaxCustomFileSize = 1310720;
class sockets{maxPacketSize = 1400;};
adapter=-1;
3D_Performance=1;
Resolution_W=0;
Resolution_H=0;
Resolution_Bpp=32;
terrainGrid=25;
viewDistance=2000;
Windowed=0;

Share this post


Link to post
Share on other sites

So, if I have a 50 MB connection for upload and 100 MB for download, should it be:

Minbandwidth: 131072

Maxbandwidth: 52428800

Is it alright for 64 players?

Share this post


Link to post
Share on other sites

Specs: I7 4790K OC'ed to 4.7

Intel duel wan pci-e nic

32 gigs of ram

My connection is google fiber 1 Gig bi directional with nothing else on it.

Solid state hard drive

Can I do that max?

Share this post


Link to post
Share on other sites

Hello,

I have read your tutorial and wanted me thank you for it.

Edited by Zamar

Share this post


Link to post
Share on other sites

My dedicated server...

plz help

Intel® Xeon® Processor E5-2680 v2

(2.80 GHz)

RAM: 13GB

Operating System: Windows server 2012r2

200Mbps

ssd 50gb

i have a error rpt Server: Network message 1f839a is pending

my config basic.cfg for 64 slots

language="English";

MinBandwidth=104857600;

MaxBandwidth=1073741824;

MaxMsgSend=384;

MaxSizeGuaranteed=512;

MaxSizeNonguaranteed=256;

MinErrorToSendNear=0.029999999;

MinErrorToSend=0.003;

MaxCustomFileSize=0;

Windowed=0;

adapter=-1;

3D_Performance=1;

Resolution_Bpp=32;

class sockets

{

maxPacketSize=1400;

};

serverLongitude=-2;

serverLatitude=54;

serverLongitudeAuto=-2;

serverLatitudeAuto=54;

Share this post


Link to post
Share on other sites

This is not needed in the basic.cfg.

class sockets

{

maxPacketSize=1400;

};

Share this post


Link to post
Share on other sites
This is not needed in the basic.cfg.

i delete and again that Network message aaa2b6 is pending

Share this post


Link to post
Share on other sites

I really like the tutorial and all the help it gives.

Though I disagree with one thing in particular :-

"You should typically be aiming to achieve 25 to 30 FPS"

Too many servers do this and it causes client side fps loss, 40-45 is what you should be aiming for in my experience.

with 25-30 only coming into play when large firefights are underway and it should return to 40-45 as soons as the large fight is over.

Not a big deal but too often I have heard people say yes its running great... its at 25 fps

heres how I look at it when I test my missions on our dedicated box.

00-10 - not working.

10-20 - bad something is broken.

20-30 - ok but needs looking at. or as my teachers used to say back in the stone age "good try but you can do better" :)

40-50 - good we can use this.

Like I say, the tutorial is great and I appreciate the amount of hard work that must have gone into this. I am just being anal as always :)

BL1P.

Share this post


Link to post
Share on other sites
I really like the tutorial and all the help it gives.

Though I disagree with one thing in particular :-

"You should typically be aiming to achieve 25 to 30 FPS"

BL1P.

That was a typo, it should have read

You should typically be aiming to achieve a minimum of 25 to 30 FPS

and this figure was given for a minimal cps so that the ai processing would not seriously diminish

Share this post


Link to post
Share on other sites
That was a typo, it should have read

You should typically be aiming to achieve a minimum of 25 to 30 FPS

and this figure was given for a minimal cps so that the ai processing would not seriously diminish

With this server :

1TB HDD

16GB DDR3 RAM

Processore Xeon E5-1620v2

Windows Server 2008 X64

1 GB Uplink

For you, i can host 2-3 server of Arma 3 .

1 32 Slot Alive Natofor ( COOP )

1 60 Slot CTF of Bohemia ( PVP )

1 20 Slot ( I don't know for now the mission ) .

Server will do 50-60 fps?

Share this post


Link to post
Share on other sites

I'd like a little help here. We are renting a VDS server with these specs:

 

Intel Xenon E5-2690 v2 3.00GHz

4GB RAM

64 bit Windows server 2008 R2

400GB SSD

 

Download speed is 726Mbps

Upload 725 Mbps

 

I have these settigs, is this any good?

 

MinBandwidth=15000000;
MaxBandwidth=100000000;
MaxMsgSend=1024;
MaxSizeGuaranteed=1024;
MaxSizeNonguaranteed=64;
MinErrorToSend=0.0024999999;
MaxCustomFileSize=100000;
Windowed=0;
language="English";
adapter=-1;

Share this post


Link to post
Share on other sites

settings need to be set different for every game type, if its close combat CTF or DM you want to send smaller packets at faster rate.

If you playing whole island CTI you need to pack more data into packets as server has to send tons of data out.

 

This been same from Operation flash point and up to date, nothing has changed.

Share this post


Link to post
Share on other sites

Our server specs

 

Dedibox - Running arma server

Xeon® CPU E5-1650 v2 @ 3.50GHz

16 GB ram 

240GB SSD (arma)

1TB  (windows 2012 server)

Gigbit port speed 

5000GB Data Transfer 

Mission: Altis Life 

Max 90 players  - currently on average  45 - 50 players 

 

VPS  - Mysql Database

Linux Centos

1gb ram 

2 cores

250gb Data transfer

25gb Disk space

 

(Both boxes are in the same data centre)

 

We are getting horrible results....

 

FPS is on avg  10  cps jumps with 30 players.  Players are saying their FPS is fine and can play we are getting DB lag though  (using ASM to monitor)

 

CPU & RAM  is at 30% usage avg

 

using @extDB 35 to connect to db and altislife version 3.1.4.8

 

Start up: -malloc=tbbmalloc -world=empty -enableHT -cpuCount=6 -exthreads=12 -maxMem=8192

 

No other malloc will load  cant figure out why 

 

Had better results on a slower dedicated  Xeon E3 1240 with 16gb ram. running same mission and database of the one box. 

 

We have tried so many various settings nothing seems to improve or make worse. 

 

Would anyone have any recommendations?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×