Jump to content
  • 0

Basic.cfg help


DoS-gaming

Question

Hello

 

We ran 4 game servers at vilayer but we switched over to our own dedicated server. Everything is working fine except the basic.cfg it's spamming the message is pending thingy in the RPT and the server will lagg after 2 hours and eventually it will crash. We had this issue at vilayer aswell and they modified our basic.cfg and it was resolved. Now i copied over their basic.cfg but that doesn't work for our server. We have 4 servers and 1 of them is most of the time 50/50 players.

Can some1 maybe explain how the basic.cfg works as i have no idea how it works.

Link to comment
Share on other sites

Recommended Posts

  • 0
MinBandwidth=115200000;
MaxBandwidth=1073741824;
MaxMsgSend=92;
MaxSizeGuranteed=128;
MaxSizeNonguaranteed=64;
MinErrorToSendNear=0.029999997;
MinErrorToSend=0.0019999994;
MaxCustomFileSize=0;
Windowed=0;
adapter=-1;
3D_Performance=1;
Resolution_Bpp=32;
class sockets
{
	maxPacketSize=1400;
};
serverLongitude=23;
serverLatitude=41;
serverLongitudeAuto=23;
serverLatitudeAuto=41;

Based on this guide here: http://forums.dayzgame.com/index.php?/topic/51542-psa-server-admins-how-to-optimize-your-dayz-server-for-maximum-performance/

I optimized mine which you can see above....It really helped me to get the most of it. Had no idea that serverLongitude, serverLatitude had to be set properly, or the minBandwidth values.

What i know for sure is the maxPacketSize value is very important....depending on its value, people with cheap routers might have a problem logging in to your server or not.

Link to comment
Share on other sites

  • 0

Thanks for you help but that basic.cfg made it 10 times worse for me :(

atm i am using this for our big server

MinBandwidth=800000;
MaxBandwidth=25000000;
MinErrorToSendNear=0.029999999;
MaxCustomFileSize=0;
adapter=-1;
Resolution_Bpp=32;
3D_Performance=1;
serverLongitude=2;
serverLatitude=49;
serverLongitudeAuto=2;
serverLatitudeAuto=49;
Windowed=0;

Thanks to MGT, it is a bit better but it is still spamming the RPT.

 

I read in some threads that your internet connections is important aswell, we have a 1 Gbit/s internet connection.

Link to comment
Share on other sites

  • 0

Thanks for you help but that basic.cfg made it 10 times worse for me :(

atm i am using this for our big server

MinBandwidth=800000;
MaxBandwidth=25000000;
MinErrorToSendNear=0.029999999;
MaxCustomFileSize=0;
adapter=-1;
Resolution_Bpp=32;
3D_Performance=1;
serverLongitude=2;
serverLatitude=49;
serverLongitudeAuto=2;
serverLatitudeAuto=49;
Windowed=0;

Thanks to MGT, it is a bit better but it is still spamming the RPT.

 

I read in some threads that your internet connections is important aswell, we have a 1 Gbit/s internet connection.

 

With a high population server, we've found that we need to restart every 3 hours to keep optimum performance.

Link to comment
Share on other sites

  • 0

With a high population server, we've found that we need to restart every 3 hours to keep optimum performance.

 

I am doing that but i it's crashing before the 3 hours :p

When we had the game servers our 50+ server had a RPT file size of around 700 Kb now it's around 4 mbs... and it's just crashing after 2 hours as the message pending just keep stacking up.

Link to comment
Share on other sites

  • 0

i have been reading some things on the internet and made some big progress

MinBandwidth=2097152;
MaxBandwidth=1073741824;
MinErrorToSendNear=0.029999999;
MaxCustomFileSize=0;
adapter=-1;
Resolution_Bpp=32;
3D_Performance=1;
serverLongitude=2;
serverLatitude=49;
serverLongitudeAuto=2;
serverLatitudeAuto=49;
Windowed=0;

Is my basic.cfg

As we have a 1Gbit/s connection, the maxbandwith the server  can use is the 1 Gbit= 1073741824 Bits

Changed it and my rpt is for 1 hour around 140 kb and way and way less message is pending reports in the RPT :)

Now i'll try to optimize the minbandwith as it's increasing lagg and CPU load.

 

MinBandwidth = 131072;            // Bandwidth the server is guaranteed to have (in bps). This value helps server to estimate bandwidth available. Increasing it to too optimistic values can increase lag and CPU load, as too many messages will be sent but discarded. Default: 131072

Link to comment
Share on other sites

  • 0

Please keep us posted, I would love to find a good stable basic.cfg for those of us that run multiple high-pop servers!

 

Here's mine currently, I believe Dave posted it at some point:

MinBandwidth=800000;
MaxBandwidth=25000000;
MinErrorToSendNear=0.029999999;
MaxCustomFileSize=0;
Windowed=0;
adapter=-1;
3D_Performance=1;
Resolution_Bpp=32;
Resolution_W=800;
Resolution_H=600;
serverLongitude=2;
serverLatitude=49;
serverLongitudeAuto=2;
serverLatitudeAuto=49;

Link to comment
Share on other sites

  • 0

I thought MinBandwidth is how many max players are gonna be on the server multiplied by 256 and then 1000....so cen's is for 3.1 people and sperwer66's for 8 oO ?

How is that right ?

 

Your MinBandwidth should be your player slots x 256KB(its), so for example:
75 slots X 256KB = 19200KB(its)
19200KB(its) = 192000000 Bits

Link to comment
Share on other sites

  • 0

I thought MinBandwidth is how many max players are gonna be on the server multiplied by 256 and then 1000....so cen's is for 3.1 people and sperwer66's for 8 oO ?

How is that right ?

 

Your MinBandwidth should be your player slots x 256KB(its), so for example:

75 slots X 256KB = 19200KB(its)

19200KB(its) = 192000000 Bits

 

That's what that guide says, but the basic.cfg we were using at vilayer with 50/50 players was way and way lower, and the connections was way better.

Link to comment
Share on other sites

  • 0

 

Please keep us posted, I would love to find a good stable basic.cfg for those of us that run multiple high-pop servers!

 

Here's mine currently, I believe Dave posted it at some point:

MinBandwidth=800000;
MaxBandwidth=25000000;
MinErrorToSendNear=0.029999999;
MaxCustomFileSize=0;
Windowed=0;
adapter=-1;
3D_Performance=1;
Resolution_Bpp=32;
Resolution_W=800;
Resolution_H=600;
serverLongitude=2;
serverLatitude=49;
serverLongitudeAuto=2;
serverLatitudeAuto=49;

 

How often do you get message is pending spam in your RPT if i may ask?

Link to comment
Share on other sites

  • 0

Average RPT for 2 hours at 40+ players is about 1.2-1.5mb

 

Message was found 14,482 times during those 2 hours.

 

Thanks for the info :)

I am gonna try tu use 

MinBandwidth=800000;

Now as i had a higher number for that. Will report back this evening as i have to go to work now.

Link to comment
Share on other sites

  • 0

I thought MinBandwidth is how many max players are gonna be on the server multiplied by 256 and then 1000....so cen's is for 3.1 people and sperwer66's for 8 oO ?

How is that right ?

 

Your MinBandwidth should be your player slots x 256KB(its), so for example:

75 slots X 256KB = 19200KB(its)

19200KB(its) = 192000000 Bits

 

If you follow the guide your minbandwith =450 players?

Link to comment
Share on other sites

  • 0

Well i tried the formula 50*256*10000 = 128000000

Made it even worse, server is up for 1 hour now and the RPT is already 6 mb...

 

weird :/

Whatever you do..dont play with maxPacketSize.....Lots of people wont be able to join.

Please post again any changes..

Link to comment
Share on other sites

  • 0
MinBandwidth=2097152;
MaxBandwidth=1073741824;
MinErrorToSendNear=0.029999999;
MaxCustomFileSize=0;
adapter=-1;
Resolution_Bpp=32;
3D_Performance=1;
serverLongitude=2;
serverLatitude=49;
serverLongitudeAuto=2;
serverLatitudeAuto=49;
Windowed=0;

Is my basic.cfg that is the most stable i had 40+ players and a RPT of 700 KB but went to 1.5 mb with 50 players.

There must be better settings as my game server from vilayer had a RPT of 400KB and almost no message pending. Now it's just spamming.

Link to comment
Share on other sites

  • 0

Seems like we are getting close.

This is my basic.cfg that i am using right now:

MinBandwidth=1097152;
MaxBandwidth=1073741824;
MinErrorToSendNear=0.029999999;
MaxCustomFileSize=0;
adapter=-1;
Resolution_Bpp=32;
3D_Performance=1;
serverLongitude=2;
serverLatitude=49;
serverLongitudeAuto=2;
serverLatitudeAuto=49;
Windowed=0;
MaxSizeGuranteed=128;
MaxSizeNonguaranteed=64;
MinErrorToSend=0.0019999994;

2 hours uptime and a RPT of 365 KB and 2334 reports of message pending which is very low i think :)

Link to comment
Share on other sites

  • 0

Min bandwidth should be what your max server connection is, so either 100mb or 1gb http://www.matisse.net/bitcalc

Max bandwidth should be a number far and above what you will ever see in throughput, this is so the server can manage bandwidth requirements on the fly

 

I'm editing my basic.cfg constantly as at weekends bandwidths of players tends to be lower as everyone in their household is raping the internet, in the week it's not so bad.

It's trial and error and every server is different.

 

Btw, the guide on opendayz.net isn't worth the pixels

 

Here's my current "weekday" basic.cfg

MinBandwidth=1097152;
MaxBandwidth=1073741824;
MinErrorToSendNear=0.039999999;
MaxCustomFileSize=0;
Windowed=0;
adapter=-1;
3D_Performance=1;
Resolution_Bpp=32;
Resolution_W=800;
Resolution_H=600;

Note: I've remove the lat and long as these will be added automatically by your server when it loads.
Also, MinErrorToSendNear, if you have this too tight like 0.01 or 0.02 you will push up bandwidth requirements for your players and lag/desync your whole server. Start high at 0.05 and work down, with my settings 50 players from the EU and US/Israel etc can play with little or no desync. You will always get desync if you're in a vehicle with players from the other side of the world, such as UK and US players in same vehicle, this is impossible to dial out unless you have a stupidly low ping requirement like 50 m/s

Link to comment
Share on other sites

  • 0

Min bandwidth should be what your max server connection is, so either 100mb or 1gb http://www.matisse.net/bitcalc

Max bandwidth should be a number far and above what you will ever see in throughput, this is so the server can manage bandwidth requirements on the fly

 

I'm editing my basic.cfg constantly as at weekends bandwidths of players tends to be lower as everyone in their household is raping the internet, in the week it's not so bad.

It's trial and error and every server is different.

 

Btw, the guide on opendayz.net isn't worth the pixels

 

Here's my current "weekday" basic.cfg

MinBandwidth=1097152;
MaxBandwidth=1073741824;
MinErrorToSendNear=0.039999999;
MaxCustomFileSize=0;
Windowed=0;
adapter=-1;
3D_Performance=1;
Resolution_Bpp=32;
Resolution_W=800;
Resolution_H=600;

Note: I've remove the lat and long as these will be added automatically by your server when it loads.

Also, MinErrorToSendNear, if you have this too tight like 0.01 or 0.02 you will push up bandwidth requirements for your players and lag/desync your whole server. Start high at 0.05 and work down, with my settings 50 players from the EU and US/Israel etc can play with little or no desync. You will always get desync if you're in a vehicle with players from the other side of the world, such as UK and US players in same vehicle, this is impossible to dial out unless you have a stupidly low ping requirement like 50 m/s

 

Wait.. if that is yours then we have the same min and maxbandwith? only you removed the minerrortosendnear etc?

MinBandwidth=1097152;
MaxBandwidth=1073741824;
MinErrorToSendNear=0.029999999;
MaxCustomFileSize=0;
adapter=-1;
Resolution_Bpp=32;
3D_Performance=1;
serverLongitude=2;
serverLatitude=49;
serverLongitudeAuto=2;
serverLatitudeAuto=49;
Windowed=0;
MaxSizeGuranteed=128;
MaxSizeNonguaranteed=64;
MinErrorToSend=0.0019999994;
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...