Jump to content
Sign in to follow this  
terox

All about MaxSizeGuaranteed

Recommended Posts

All about MaxSizeGuaranteed

The purpose of this thread is to

  1. Discuss the MaxSizeGuaranteed setting in the server's ArmA3Alpha.cfg
  2. Compile a list of questions that only BIS DEVS can answer for us
  3. Define how to calculate the required value
  4. Define What relationship if any it has to the other bandwidth settings
  5. Define how it could/should/would be tested in a Benchmark mission based scenario

This thread is part of a much wider discussion on server bandwidth optimisation Tutorial: Server Bandwidth & Optimisation

Useful Links

BIS WIKI: basic.cfg

What the BIKI states

MaxSizeGuaranteed=<limit>;

Maximum size (payload) of guaranteed packet in bytes (without headers).

Small messages are packed to larger packets (aggregate messages).

Guaranteed packets (aggregate messages) are used for non-repetitive events like shooting.

Default: 512

What is known

The value must not exceed 1300

What is assumed:

What we need to know:

  1. What value if any, does it default too, if the entered value is unacceptable?
  2. How is this value calculated correctly?
  3. How is this value calculated correctly when running multiple ArmA3 servers on 1 box?
  4. Would this value vary for PVP and CooP servers
  5. Would this value vary depending on the number of players the server supports
  6. How would you stress test or test this in a Benchmark mission scenario?
  7. What relationship does this value have to the other bandwidth settings ?
  8. What else ?
  9. Can somebody explain the WIKI description in laymans terms please ?

Calculation Formulae

(Not yet defined)

Edited by Terox

Share this post


Link to post
Share on other sites

note : MaxSizeNonguaranteed and MaxSizeGuaranteed can't be bigger than MaxPacketSize (that's mandatory maximum in packet size) ...

Share this post


Link to post
Share on other sites
What is known

The value must not exceed 1300

That incorrect, i believe it should be 1400 max

Share this post


Link to post
Share on other sites

Maximum size (payload) of guaranteed packet in bytes (without headers).

I believe the reduction from 1400 to 1300 is to allow for the header

We do nit have any information on the size of the header. (maybe someone who has logged them with wireshark can commment ?

class sockets{maxPacketSize = <limit>;};

Maximal size of packet sent over network.

This can be set for both client-to-server AND server-to-client(s) independently!

see client(arma2.cfg#Generic_config or arma2oa.cfg#Generic_config, )

Default: 1400

Use please only in case Your router or ISP enforce lower packet size and You have connectivity issues with game

Desync might happen if used MaxSizeGuaranteed/MaxSizeNonguaranteed values over the maxPacketSize.

maxPacketSize default reduced from 1490 to 1400 since 1.60, thus MaxSize... values over 1300 could be affected negatively.

Edited by Terox

Share this post


Link to post
Share on other sites
We do nit have any information on the size of the header. (maybe someone who has logged them with wireshark can commment ?

... just checked in an up to date wireshark record, all UDP packets are showing a typical difference of 42 bytes, between brutto size and data size ...

Share this post


Link to post
Share on other sites
... just checked in an up to date wireshark record, all UDP packets are showing a typical difference of 42 bytes, between brutto size and data size ...

Thx Fred, so ya might be able to squeeze this up to 1350 then

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
Sign in to follow this  

×