Server performance / FPS

Discussion in 'Script/Addon help' started by Thoron_adNg, May 16, 2017.

  1. Thoron_adNg

    Thoron_adNg New Member

    Joined:
    Aug 10, 2013
    Messages:
    6
    Likes Received:
    0
    I have some issues with my server fps.


    I hope you guys can help me, already tried to change:

    basic.cfg
    start-parameters

    I have some cleanups running on my db, so I hope thats not the problem.

    here are some infos:

    Server:

    • Windows 2012 R2
    • i7-6700 @ 3.8Ghz
    • 32 GB Ram
    • SSD
    Connection speedtest.net (tested on diffent servers):

    start parameters:


    -config=xxx\config.cfg -ip=xx.xx.xx.xx -port=" + $port + " -profiles=xxx -cfg=xxx\basic.cfg -name=xxx -loadMissionToMemory -maxMem=2047 -exThreads=1 -world=Tavi -noCB -autoinit [email protected];@DayzOverwatch;@DayzOrigins1795;@DayZ_Epoch1061;@DayZ_Epoch_Server"


    current basic.cfg:


    current basic.cfg:

    language="English";
    adapter=-1;
    Windowed=0;
    3D_Performance=1;
    Resolution_W=800;
    Resolution_H=600;
    Resolution_Bpp=32;
    MinBandwidth=1097152;
    MaxMsgSend=128;
    MaxBandwidth=524288000;
    MaxSizeGuaranteed=256;
    MaxSizeNonguaranteed=64;
    MinErrorToSend=0.0049999999;
    MinErrorToSendNear=0.025;
    MaxCustomFileSize=0;
    class sockets
    {
    maxPacketSize=1430;
    };




    i've modified my s_fps.sqf to see number of objects in diag_log like this:

    while {true} do {
    diag_log format["SERVER FPS: %1 PLAYERS: %2 OBJECTS: %3",round diag_fps,playersNumber west,count allMissionObjects "All"];
    uiSleep 60;
    };

    WITHOUT WAI Missions:

    Line 496: 0:01:15 "SERVER FPS: 29 PLAYERS: 1 OBJECTS: 1723"
    Line 730: 0:02:18 "SERVER FPS: 45 PLAYERS: 2 OBJECTS: 5919"
    Line 748: 0:03:18 "SERVER FPS: 47 PLAYERS: 5 OBJECTS: 5929"
    Line 782: 0:04:18 "SERVER FPS: 48 PLAYERS: 7 OBJECTS: 5937"
    Line 814: 0:05:18 "SERVER FPS: 48 PLAYERS: 8 OBJECTS: 6117"
    Line 848: 0:06:18 "SERVER FPS: 47 PLAYERS: 9 OBJECTS: 6144"
    Line 870: 0:07:18 "SERVER FPS: 46 PLAYERS: 11 OBJECTS: 6218"
    Line 903: 0:08:18 "SERVER FPS: 39 PLAYERS: 13 OBJECTS: 6334"
    Line 953: 0:09:18 "SERVER FPS: 45 PLAYERS: 12 OBJECTS: 6426"
    Line 976: 0:10:18 "SERVER FPS: 40 PLAYERS: 12 OBJECTS: 6478"
    Line 1005: 0:11:18 "SERVER FPS: 35 PLAYERS: 12 OBJECTS: 6517"
    Line 1031: 0:12:18 "SERVER FPS: 38 PLAYERS: 12 OBJECTS: 6508"
    Line 1048: 0:13:18 "SERVER FPS: 38 PLAYERS: 13 OBJECTS: 6537"
    Line 1062: 0:14:18 "SERVER FPS: 39 PLAYERS: 13 OBJECTS: 6540"
    Line 1080: 0:15:18 "SERVER FPS: 35 PLAYERS: 15 OBJECTS: 6543"
    Line 1106: 0:16:18 "SERVER FPS: 33 PLAYERS: 15 OBJECTS: 6612"
    Line 1126: 0:17:19 "SERVER FPS: 30 PLAYERS: 15 OBJECTS: 6645"
    Line 1230: 0:18:19 "SERVER FPS: 30 PLAYERS: 15 OBJECTS: 6671"
    Line 1259: 0:19:19 "SERVER FPS: 30 PLAYERS: 15 OBJECTS: 6722"
    Line 1278: 0:20:19 "SERVER FPS: 28 PLAYERS: 15 OBJECTS: 6824"
    Line 1372: 0:21:19 "SERVER FPS: 26 PLAYERS: 15 OBJECTS: 6991"
    Line 1434: 0:22:19 "SERVER FPS: 25 PLAYERS: 16 OBJECTS: 7124"
    Line 1452: 0:23:19 "SERVER FPS: 25 PLAYERS: 16 OBJECTS: 7185"
    Line 1509: 0:24:19 "SERVER FPS: 23 PLAYERS: 16 OBJECTS: 7250"
    Line 1536: 0:25:19 "SERVER FPS: 23 PLAYERS: 16 OBJECTS: 7350"
    Line 1546: 0:26:19 "SERVER FPS: 22 PLAYERS: 16 OBJECTS: 7363"
    Line 1586: 0:27:19 "SERVER FPS: 22 PLAYERS: 16 OBJECTS: 7425"
    Line 1612: 0:28:20 "SERVER FPS: 22 PLAYERS: 16 OBJECTS: 7434"
    Line 1631: 0:29:20 "SERVER FPS: 23 PLAYERS: 16 OBJECTS: 7434"
    Line 1660: 0:29:49 "infiSTAR.de PVAH_WriteLog: B 1-1-B:1 (Thoron) REMOTE Thoron - Fixing FPS"
    Line 1671: 0:30:20 "SERVER FPS: 28 PLAYERS: 16 OBJECTS: 6226"
    Line 1705: 0:31:20 "SERVER FPS: 28 PLAYERS: 16 OBJECTS: 6211"
    Line 1727: 0:32:20 "SERVER FPS: 31 PLAYERS: 16 OBJECTS: 6222"
    Line 1762: 0:33:20 "SERVER FPS: 34 PLAYERS: 15 OBJECTS: 6281"
    Line 1783: 0:34:20 "SERVER FPS: 33 PLAYERS: 14 OBJECTS: 6309"
    Line 1810: 0:35:20 "SERVER FPS: 47 PLAYERS: 9 OBJECTS: 6329"
    Line 1828: 0:36:20 "SERVER FPS: 47 PLAYERS: 7 OBJECTS: 6342"
    Line 1836: 0:37:20 "SERVER FPS: 47 PLAYERS: 7 OBJECTS: 6345"
    Line 1848: 0:38:20 "SERVER FPS: 48 PLAYERS: 7 OBJECTS: 6360"
    Line 1874: 0:39:20 "SERVER FPS: 46 PLAYERS: 1 OBJECTS: 6323"
    Line 1875: 0:40:20 "SERVER FPS: 46 PLAYERS: 2 OBJECTS: 6323"
    WITH WAI:

    Line 624: 0:42:12 "SERVER FPS: 44 PLAYERS: 3 OBJECTS: 3552"
    Line 1227: 0:43:14 "SERVER FPS: 48 PLAYERS: 8 OBJECTS: 6099"
    Line 1261: 0:44:14 "SERVER FPS: 47 PLAYERS: 10 OBJECTS: 6129"
    Line 1292: 0:45:14 "SERVER FPS: 43 PLAYERS: 13 OBJECTS: 6246"
    Line 1324: 0:46:14 "SERVER FPS: 42 PLAYERS: 14 OBJECTS: 6372"
    Line 1378: 0:47:14 "SERVER FPS: 32 PLAYERS: 14 OBJECTS: 6422"
    Line 1448: 0:48:14 "SERVER FPS: 30 PLAYERS: 14 OBJECTS: 6438"
    Line 1468: 0:49:14 "SERVER FPS: 30 PLAYERS: 15 OBJECTS: 6562"
    Line 1504: 0:50:15 "SERVER FPS: 28 PLAYERS: 15 OBJECTS: 6682"
    Line 1524: 0:51:15 "SERVER FPS: 29 PLAYERS: 15 OBJECTS: 6681"
    Line 1558: 0:52:15 "SERVER FPS: 28 PLAYERS: 15 OBJECTS: 6757"
    Line 1587: 0:53:15 "SERVER FPS: 28 PLAYERS: 14 OBJECTS: 6781"
    Line 1668: 0:54:15 "SERVER FPS: 24 PLAYERS: 14 OBJECTS: 6943"
    Line 1704: 0:55:15 "SERVER FPS: 23 PLAYERS: 14 OBJECTS: 6978"
    Line 1728: 0:56:15 "SERVER FPS: 24 PLAYERS: 14 OBJECTS: 6976"
    Line 1744: 0:57:15 "SERVER FPS: 23 PLAYERS: 15 OBJECTS: 6967"
    Line 1763: 0:58:15 "SERVER FPS: 23 PLAYERS: 15 OBJECTS: 6961"
    Line 1788: 0:59:15 "SERVER FPS: 21 PLAYERS: 15 OBJECTS: 7044"
    Line 1836: 1:00:16 "SERVER FPS: 20 PLAYERS: 15 OBJECTS: 7062"
    Line 1876: 1:01:16 "SERVER FPS: 21 PLAYERS: 15 OBJECTS: 7078"
    Line 1894: 1:02:16 "SERVER FPS: 20 PLAYERS: 15 OBJECTS: 7084"
    Line 1927: 1:03:16 "SERVER FPS: 21 PLAYERS: 15 OBJECTS: 7091"
    Line 1955: 1:04:16 "SERVER FPS: 21 PLAYERS: 15 OBJECTS: 7091"
    Line 1961: 1:04:35 "infiSTAR.de PVAH_WriteLog: B 1-1-C:1 (Thoron) REMOTE Thoron - Fixing FPS"
    Line 1977: 1:05:17 "SERVER FPS: 23 PLAYERS: 15 OBJECTS: 6393"
    Line 2004: 1:06:17 "SERVER FPS: 22 PLAYERS: 15 OBJECTS: 6388"
     
  2. clifdayz

    clifdayz Well-Known Member

    Joined:
    Jul 28, 2015
    Messages:
    142
    Likes Received:
    13
    Not an FPS expert, but my recollection is that its less than what players see. Have you asked around at epochmod.com?
     
  3. Thoron_adNg

    Thoron_adNg New Member

    Joined:
    Aug 10, 2013
    Messages:
    6
    Likes Received:
    0
    yes, no reaction so far.
     
  4. FallingSheep

    FallingSheep OpenDayZ Lord!

    Joined:
    Mar 17, 2013
    Messages:
    1,980
    Likes Received:
    576
    you could try the below exthreads should be 0 for auto detect or 7 for quadcore - below from
    https://community.bistudio.com/wiki/Arma2:_Startup_Parameters
    Code:
    -exThreads=<number> Change to a number 0,1,3,5,7. This will override auto detection (which use 3 for dualcore and 7 for quadcore). 
    
    also remove -noCB as this disables multi core
    Code:
    -noCB Turns off multicore use. It slows down rendering but may resolve visual glitches.
    
    and -loadMissionToMemory is for arma3 it is not used in arma2 engine same for -autoinit

    so give the below a shot and see if it helps

    -config=xxx\config.cfg -ip=xx.xx.xx.xx -port=" + $port + " -profiles=xxx -cfg=xxx\basic.cfg -name=xxx -maxMem=2047 -exThreads=7 -world=Tavi [email protected];@DayzOverwatch;@DayzOrigins1795;@DayZ_Epoch1061;@DayZ_Epoch_Server"
     
  5. Thoron_adNg

    Thoron_adNg New Member

    Joined:
    Aug 10, 2013
    Messages:
    6
    Likes Received:
    0
    Thank you for the relay.

    I tryed it with your start parameters
    still the same.
    CPU-Core-0 is on 100%
    some threads are running on Core-1 with 1-5%

    Server falls down to 4-6 FPS on 40 Players.

    I also disabled infiSTAR for testing, same low server fps.
     
  6. Inkko

    Inkko Valued Member!

    Joined:
    Jan 12, 2013
    Messages:
    697
    Likes Received:
    83
    One thing I did that seemed to help was making the WAI AI on death delete the body and drop all the loot and did the same for player bodies as well.
     
    FallingSheep likes this.
  7. Thoron_adNg

    Thoron_adNg New Member

    Joined:
    Aug 10, 2013
    Messages:
    6
    Likes Received:
    0
    The Problem was also present when I was disabled completely.
     
  8. Inkko

    Inkko Valued Member!

    Joined:
    Jan 12, 2013
    Messages:
    697
    Likes Received:
    83
    When you have a lot of PVP going on the bodies can start piling up fast for player bodies. A2 seems to have issues with bodies for some reason, almost as if the game still counts them as a unit. With infinistar you can also use the server cleanup or whatever its called and that cleans up a bunch of junk on the server as well that can increase the server performance. Also how long is the server up for before restarting? I found that 2-3 hours was the most I could do with 30-50 players when I ran a server.
     

Share This Page