lots of desync in a Virtual machine

Antartis
A semi-regular
A semi-regular
Posts: 24
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Jul 31, 2013 10:03 pm

Re: lots of desync in a Virtual machine

Post by Antartis »

I was thinking on a database wipe too, I had reality, maybe go for dayzcc. Our databases is 2.5 megas, is not so big, but dunno if is "big" for dayz or not.

I like NFO a lot, I just wanna get rid of the red chains, thats all.
Caliban55
This is my homepage
This is my homepage
Posts: 439
Joined: Sat Sep 04, 2010 10:20 am
Location: Cologne, Gemany
Contact:

Re: lots of desync in a Virtual machine

Post by Caliban55 »

Although I am no expert for DayZ related topics, I will try to tune in here a bit. Your best bet would propably be Major.Pain, he has more experience with DayZ.

If I had to guess, I would say your problems mainly result from the mission, where objects are not updated correctly, or deleted when not needed anymore. Or your MySQL database is lagging behind.

Please post which version of ArmA2 OA you are using (beta patch?), post your -mod= start-up parameters and your basic.cfg file.

What you could try first, is to take a look at your basic.cfg file and change the settings in there and see if that makes a difference (in my experience, it does not help that much, if the mission itself is a bottleneck).
Here is the link to the official topic to the basic.cfg file:

http://community.bistudio.com/wiki/basic.cfg

By the way, ArmA2:OA is well cappable of using multiple CPUs/Cores beyond 2; the executable should do that automatically already and set the optimum value, but you can also do it with the -cpuCount switch and can further influence it with the -exThreads switch; it is usually not neccessary though.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: lots of desync in a Virtual machine

Post by kraze »

Antartis wrote:Four core: Perfect for 4-12 game servers or many sites.
Four full, dedicated HT CPU cores (Nehalem or better)
4096 MB of RAM
400 GB of RAID-protected storage
4000 GB of InterNAP bandwidth transfer
That would be your physical server package, I am referring to what is in your server config files. Specifically what is in your basic.cfg.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Antartis
A semi-regular
A semi-regular
Posts: 24
Joined: Wed Jul 31, 2013 10:03 pm

Re: lots of desync in a Virtual machine

Post by Antartis »

kraze wrote:
Antartis wrote:Four core: Perfect for 4-12 game servers or many sites.
Four full, dedicated HT CPU cores (Nehalem or better)
4096 MB of RAM
400 GB of RAID-protected storage
4000 GB of InterNAP bandwidth transfer
That would be your physical server package, I am referring to what is in your server config files. Specifically what is in your basic.cfg.
ok, sorry:

Code: Select all

MinBandwidth=104857600;
MaxBandwidth=1073741824;
MaxMsgSend=92;
MaxSizeGuaranteed=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=-97;
serverLatitude=33;
serverLongitudeAuto=-97;
serverLatitudeAuto=33;
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: lots of desync in a Virtual machine

Post by kraze »

Try changing your bandwidth rates to these. Your rates are a bit high and with everything being in bps, you are saying your server will be sending at minimum 13MBps and 134MBps at maximum.

Code: Select all

MinBandwidth=800000;
MaxBandwidth=50000000;
There are some good post on the Arma2 forums about these settings which you may want to scan through.

http://forums.bistudio.com/showthread.p ... ost2413476
http://forums.bistudio.com/showthread.p ... ost2413478
http://forums.bistudio.com/showthread.p ... ost2413486
http://forums.bistudio.com/showthread.p ... -All-about MaxSizeGuaranteed&p=2413487#post2413487
http://forums.bistudio.com/showthread.p ... ost2413489
http://forums.bistudio.com/showthread.p ... ost2413492
http://forums.bistudio.com/showthread.p ... ost2413493
http://forums.bistudio.com/showthread.p ... ost2413498

This is also my full rates config which I use on any of my test servers, they normally do me good.

Code: Select all

language="English";
adapter=-1;
MinBandwidth=800000;
MaxBandwidth=50000000;
MaxMsgSend=384;
MaxSizeGuaranteed=512;
MaxSizeNonguaranteed=256;
MinErrorToSend=0.003;
MaxCustomFileSize=100000;
Windowed=0;
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Antartis
A semi-regular
A semi-regular
Posts: 24
Joined: Wed Jul 31, 2013 10:03 pm

Re: lots of desync in a Virtual machine

Post by Antartis »

kraze wrote:Try changing your bandwidth rates to these. Your rates are a bit high and with everything being in bps, you are saying your server will be sending at minimum 13MBps and 134MBps at maximum.

Code: Select all

MinBandwidth=800000;
MaxBandwidth=50000000;
There are some good post on the Arma2 forums about these settings which you may want to scan through.

http://forums.bistudio.com/showthread.p ... ost2413476
http://forums.bistudio.com/showthread.p ... ost2413478
http://forums.bistudio.com/showthread.p ... ost2413486
http://forums.bistudio.com/showthread.p ... -All-about MaxSizeGuaranteed&p=2413487#post2413487
http://forums.bistudio.com/showthread.p ... ost2413489
http://forums.bistudio.com/showthread.p ... ost2413492
http://forums.bistudio.com/showthread.p ... ost2413493
http://forums.bistudio.com/showthread.p ... ost2413498

This is also my full rates config which I use on any of my test servers, they normally do me good.

Code: Select all

language="English";
adapter=-1;
MinBandwidth=800000;
MaxBandwidth=50000000;
MaxMsgSend=384;
MaxSizeGuaranteed=512;
MaxSizeNonguaranteed=256;
MinErrorToSend=0.003;
MaxCustomFileSize=100000;
Windowed=0;

thanks I will test that config! :D
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: lots of desync in a Virtual machine

Post by .=QUACK=.Major.Pain »

Where is your database hosted?
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Antartis
A semi-regular
A semi-regular
Posts: 24
Joined: Wed Jul 31, 2013 10:03 pm

Re: lots of desync in a Virtual machine

Post by Antartis »

.=QUACK=.Major.Pain wrote:Where is your database hosted?
in the same server, I kinda start to think about the read speed of the datase, maybe something is bad there too
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: lots of desync in a Virtual machine

Post by Edge100x »

If you have a very active database, I recommend putting it onto an SSD partition. You might also consider putting the game server itself onto an SSD.
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: lots of desync in a Virtual machine

Post by .=QUACK=.Major.Pain »

Can you post your commandline, and if possible a screenshot of your CPU usage graphs from the task manager.

Might be able to see if it's something in the settings at least.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Antartis
A semi-regular
A semi-regular
Posts: 24
Joined: Wed Jul 31, 2013 10:03 pm

Re: lots of desync in a Virtual machine

Post by Antartis »

ok, I going to wipe all and start again, to be SURE is not something in the database.

Just wanna know , if I want to host 2 dayz server, 1 overwatch and 1 normal dayz, 50 slots each, what I need? I will need more power or I just cant?
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: lots of desync in a Virtual machine

Post by .=QUACK=.Major.Pain »

Overwatch is a little more of a load because of the extra mods and vehicles than regular dayz. Taviana Overwatch is really buggy with lots of desync. Chernarus Overwatch also has some desync, but it's generally just a couple seconds which you can deal with.
I would think 4 core should be enough.

But if your not going to post things like your commandline, and such for us to see, we can't say if it's not the problem or if it's something else.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Antartis
A semi-regular
A semi-regular
Posts: 24
Joined: Wed Jul 31, 2013 10:03 pm

Re: lots of desync in a Virtual machine

Post by Antartis »

.=QUACK=.Major.Pain wrote:Overwatch is a little more of a load because of the extra mods and vehicles than regular dayz. Taviana Overwatch is really buggy with lots of desync. Chernarus Overwatch also has some desync, but it's generally just a couple seconds which you can deal with.
I would think 4 core should be enough.

But if your not going to post things like your commandline, and such for us to see, we can't say if it's not the problem or if it's something else.
I had searching what u ask, but my server restart with a restarter from reality, the ini say this:

Code: Select all

[Global]

[dayz_1_chernarus]
name=Reality
profiles=dayz_overwatch
config=dayz_overwatch\config.cfg
mod=@DayzOverwatch;expansion\beta;expansion\beta\expansion;Expansion\beta\expansion\addons;@hive2
world=chernarus
port=2302
Antartis
A semi-regular
A semi-regular
Posts: 24
Joined: Wed Jul 31, 2013 10:03 pm

Re: lots of desync in a Virtual machine

Post by Antartis »

I resintalled all with overwatch, new database, etc, I added a SSD (40 gigas, the maximun they sell) and put all into that.
I change the values of the config to the values posted here.

Well, after that, when the servers go 30+ start to lags, then at 40-50 all go to hell... the machine cant handle the 50 players, it give me the networks errors, around 5 fps, but is under 50 cpu usage like 40% LOL, and there is enought ram.

I really not understand.

the other thing is about the command lines, I lost there, because I got the restarted.ini and kinda :S
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: lots of desync in a Virtual machine

Post by .=QUACK=.Major.Pain »

The only issue I see is that in the .ini file you posted, there seems to be stuff missing.

A proper command line has:

Code: Select all

-mod=@hive;@DayzOverwatch -name=dayz_overwatch -config=dayz_overwatch\config_1234.cfg -cfg=dayz_overwatch\basic.cfg -profiles=dayz_overwatch
Your settings seem to be missing:

Code: Select all

-cfg=dayz_overwatch\basic.cfg
which tells the server how to run on the optimized settings for this mod.

If your not calling for the basic.cfg, then it will run on default settings which may be the cause of your issues.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Post Reply