B1acksh33p
Member-
Content Count
7 -
Joined
-
Last visited
-
Medals
-
Arma 3 STABLE Server 2.18 "profiling / performance binary" feedback
B1acksh33p replied to Dwarden's topic in ARMA 3 - SERVERS & ADMINISTRATION
Here is my feedback so far: I am running an Arma3 Server (1.56.135357v5) with Exile-Mod on Ubuntu 14.04 hosted on a i7-3770 CPU @ 3.40GHz with 16 GB RAM. Startparameters Server: ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@infiSTAR_Exile;@FuMS Startparameters HC: ./arma3servero -cpuCount=1 -client -nosound -connect=127.0.0.1 -port=2302 -mod=@exile -profiles=fumslogs (arma3servero is the stock arma3server executable since the perfromance build does not work stable as HC). basic.cfg // // Exile Mod basic.cfg Settings // // This file has been tuned for a box running only one Arma 3 server on a // 1 GBit/s pipe with 100 slots // // See https://community.bistudio.com/wiki/basic.cfg // /////////////////////////////////////////////////////////////////////////////// // Default Options /////////////////////////////////////////////////////////////////////////////// language = "English"; adapter = -1; 3D_Performance = 1.000000; Resolution_W = 800; Resolution_H = 600; Resolution_Bpp = 32; /////////////////////////////////////////////////////////////////////////////// // Bandwidth Tuning // // Be sure to adjust this to your server settings! // This example is for 100MBit/s pipe /////////////////////////////////////////////////////////////////////////////// // 50MB * 1024 * 1024 = 104857600 MinBandwidth = 52428800; // Do NOT set this too high or your Arma server will simulate ego-ddos // 100MB * 1024 * 1024 = 629145600 MaxBandwidth = 104857600; /////////////////////////////////////////////////////////////////////////////// // Network Tuning // // Usually something we developers set. Only change these if you really know // what you are doing. Do something wrong here and your sever will burn in hell // and cause massive desych. /////////////////////////////////////////////////////////////////////////////// MaxMsgSend = 256; MaxSizeGuaranteed = 512; MaxSizeNonguaranteed = 256; MinErrorToSend = 0.004; MinErrorToSendNear = 0.03; MaxCustomFileSize = 0; NIC is a 1 GB full duplex. Packet loss is under 2 % This is a typical load when no user connected: 1 [||||||||||||||||||||||||||||||||||||| 33.6%] 5 [||||||||||||||||||||||||||||||||||||||||||| 38.4%] 2 [||||||||||||||||||| 16.4%] 6 [|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||99.3%] 3 [|||||||||||||||||| 16.2%] 7 [|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||98.7%] 4 [|||||||||||||||||||||||||||||| 27.3%] 8 [|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 63.8%] Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||10256/15771MB] Tasks: 14, 58 thr; 4 running Swp[ 0/0MB] Load average: 4.95 4.82 4.66 Uptime: 19 days, 05:50:44 PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 1 root 20 0 52164 14600 4164 S 0.0 0.1 3:15.06 /usr/bin/python /usr/bin/supervisord 29500 exile 20 0 1829M 1529M 30648 R 117. 9.7 1h45:02 `- ./arma3servero -cpuCount=1 -client -nosound -connect=127.0.0.1 -port=2302 -mod=@exile -profiles=fumslogs 29528 exile 20 0 1829M 1529M 30648 S 0.0 9.7 0:03.60 | `- ./arma3servero -cpuCount=1 -client -nosound -connect=127.0.0.1 -port=2302 -mod=@exile -profiles=fumslogs 29527 exile 20 0 1829M 1529M 30648 S 3.3 9.7 1:16.07 | `- ./arma3servero -cpuCount=1 -client -nosound -connect=127.0.0.1 -port=2302 -mod=@exile -profiles=fumslogs 29526 exile 20 0 1829M 1529M 30648 R 16.0 9.7 12:10.15 | `- ./arma3servero -cpuCount=1 -client -nosound -connect=127.0.0.1 -port=2302 -mod=@exile -profiles=fumslogs 29502 exile 20 0 1829M 1529M 30648 S 0.0 9.7 0:00.67 | `- ./arma3servero -cpuCount=1 -client -nosound -connect=127.0.0.1 -port=2302 -mod=@exile -profiles=fumslogs 29456 exile 20 0 2461M 2037M 49416 R 111. 12.9 2h11:04 `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@infiS 29545 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.35 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29544 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.38 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29543 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.35 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29538 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.00 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29537 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.00 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29536 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.03 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29535 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.03 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29534 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.03 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29533 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.02 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29532 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.02 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29531 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.02 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29510 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.41 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29495 exile 20 0 2461M 2037M 49416 S 25.3 12.9 38:34.55 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29494 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.00 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29490 exile 20 0 2461M 2037M 49416 S 0.7 12.9 0:07.75 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29489 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:03.58 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29488 exile 20 0 2461M 2037M 49416 S 4.0 12.9 2:07.54 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29487 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:16.66 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29486 exile 20 0 2461M 2037M 49416 S 6.0 12.9 3:47.59 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29474 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:48.02 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29473 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:49.07 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29472 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:48.42 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29471 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:48.35 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29470 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:48.57 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29469 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:48.25 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 29458 exile 20 0 2461M 2037M 49416 S 0.0 12.9 0:00.76 | `- ./arma3server.perf -cpuCount=7 -exThreads=7 -maxMem=2047 -loadMissionToMemory -noBenchmark -nologs -port=2302 -config=config.cfg -mod=@exile -servermod=@exileserver;@in 27074 exile 20 0 5028 2688 2532 S 0.0 0.0 0:00.00 `- ./armaservermonitor -s 18 root 20 0 24980 6616 2652 S 0.0 0.0 0:09.46 `- /usr/bin/python /usr/bin/pidproxy /var/run/mysqld/mysqld.pid /usr/sbin/mysqld 25 mysql 20 0 2766M 626M 7656 S 0.0 4.0 10:55.97 | `- /usr/sbin/mysqld 25881 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:06.02 | `- /usr/sbin/mysqld 25823 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:07.87 | `- /usr/sbin/mysqld 765 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:12.08 | `- /usr/sbin/mysqld 764 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:11.55 | `- /usr/sbin/mysqld 205 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:13.87 | `- /usr/sbin/mysqld 204 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:12.82 | `- /usr/sbin/mysqld 203 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:11.88 | `- /usr/sbin/mysqld 104 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:12.51 | `- /usr/sbin/mysqld 46 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:00.00 | `- /usr/sbin/mysqld 45 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:05.36 | `- /usr/sbin/mysqld 44 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:02.67 | `- /usr/sbin/mysqld 43 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:00.00 | `- /usr/sbin/mysqld 42 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:38.89 | `- /usr/sbin/mysqld 41 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:02.10 | `- /usr/sbin/mysqld 40 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:34.41 | `- /usr/sbin/mysqld 39 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:05.13 | `- /usr/sbin/mysqld 38 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:48.03 | `- /usr/sbin/mysqld 37 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:24.35 | `- /usr/sbin/mysqld 35 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:41.73 | `- /usr/sbin/mysqld 34 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:39.77 | `- /usr/sbin/mysqld 33 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:40.03 | `- /usr/sbin/mysqld 32 mysql 20 0 2766M 626M 7656 D 0.0 4.0 0:45.14 | `- /usr/sbin/mysqld 31 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:38.89 | `- /usr/sbin/mysqld 30 mysql 20 0 2766M 626M 7656 S 0.0 4.0 0:38.99 | `- /usr/sbin/mysqld F1Help F2Setup F3SearchF4FilterF5Tree F6SortByF7Nice -F8Nice +F9Kill F10Quit The FPS and CPS inDEcreases rapidly when players are coming on. Finally with between 10 and 15 players I notice constant FPS/CPS between 7 and 11. What I am wondering about is that only 2 threads in the server process arma3server.perf are working while all others are bored. I have never seen the CPU load gone over 50%. Usually it is somewhere bewteen 16 and 34 %. So to me it looks like that arma3server (stock and perfromance build) is not scaling enough. There is no energy save in place and the CPU is running unthrotteled. EDIT: Yes, all cores are in use, even if the above does not reflect it. I doublechecked with top -p <arma3server pid>, pressing 'f' and selecting 'P' for last CPU and 'nTH' for amount of threads used: top - 13:52:08 up 19 days, 6:03, 1 user, load average: 4.40, 4.71, 4.69 Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie %Cpu(s): 25.2 us, 0.6 sy, 0.0 ni, 43.9 id, 0.2 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem: 16150112 total, 15619308 used, 530804 free, 201776 buffers KiB Swap: 0 total, 0 used, 0 free. 4935188 cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND nTH P 29456 exile 20 0 2520904 1.992g 49416 R 158.4 12.9 149:07.27 arma3server.per 27 7 Regards Blacksheep -
Try ./arma3server ".... -mod=@allinarmaterrainpack;@Esseker;@Exile;@Ryanzombies;@L_Climb;@JSRS2.2 ...." instead (keep the doublequotes and put all parameters within that quotes)
-
Dedicated Client / Headless Client feedback (dev branch)
B1acksh33p replied to Dwarden's topic in ARMA 3 - DEVELOPMENT BRANCH
@dwarden: Thanks, but the latest performance build was already in place since 7th April. My conclusions: 1.) Running the latest performance build as server AND client A] Server with cpuCount=7 and client cpuCount=1 -> Sig check failing after initial hc connect B] Server with cpuCount=6 and client cpuCount=2 -> Sig check failing after initial hc connect 2.) Running the latest performance build as server and the common build as client A] Server with cpuCount=7 and client cpuCount=1 -> HC's connects and runs for a while (up to 150 minutes) until failing sig check. A3AIX HC can reconnect when HC's are restarted, FuMS not B] Server with cpuCount=6 and client cpuCount=2 -> Sig check failing after initial hc connect Let me know if I can collect some data for you. Menwhile I will be patient and wait for the version which as the option to disable sig checks for HCs. But I am willing to test it on my own risk as soon you have a prototype ;) I have a testing environment which can be rebuild in seconds using snapshot technology. [Edit & Update] After a complete server restart it seems that the HC's does not disconnects anymore with option "2. A]". Will monitor this for the next arma3server restarts and report back at 4 PM CEST [Edit & Update 2] Nope, just a wet dream... HC's are still disconnecting: 12:00:11 Dedicated host created. 12:00:14 BattlEye Server: Initialized (v1.210) 12:00:14 Host identity created. 12:00:14 Game Port: 2302, Steam Query Port: 2303 Arma 3 Console version 1.56 : port 2302 12:00:14 Mission Exile.Altis read from bank. 12:00:14 Roles assigned. 12:00:14 Reading mission ... 12:00:22 Mission read. ... 12:00:32 headlessclient uses modified data file 12:00:32 BattlEye Server: Player #0 headlessclient (127.0.0.1:2316) connected 12:00:32 Player headlessclient connecting. 12:00:33 Player headlessclient connected (id=HC27986). 12:00:33 BattlEye Server: Verified GUID () of player #0 headlessclient 12:00:33 BattlEye Server: Player #0 headlessclient - Owner GUID: 8539e01499f87083b3a25eb30041261c 12:02:03 headlessclient uses modified data file 12:02:03 BattlEye Server: Player #1 headlessclient (2) (127.0.0.1:2328) connected 12:02:03 Player headlessclient (2) connecting. 12:02:04 Player headlessclient (2) connected (id=HC28032). 12:02:04 BattlEye Server: Verified GUID () of player #1 headlessclient (2) 12:02:04 BattlEye Server: Player #1 headlessclient (2) - Owner GUID: 8539e01499f87083b3a25eb30041261c ... 14:30:52 Player headlessclient: Signature check timed out 14:30:53 Player headlessclient disconnected. 14:30:53 BattlEye Server: Player #0 headlessclient disconnected 14:32:27 Player headlessclient (2): Signature check timed out 14:32:27 Player headlessclient (2) disconnected. 14:32:27 BattlEye Server: Player #1 headlessclient (2) disconnected -
Dedicated Client / Headless Client feedback (dev branch)
B1acksh33p replied to Dwarden's topic in ARMA 3 - DEVELOPMENT BRANCH
@dwarden: Is there any chance to get a prototype of a headless client for the stable branch which allows to disable the sig check for HC's? It is a little bit frustrating that the missions (e.g. FuMS) working for 1-2 hours only until the the hc failing the sig check. While the HC for A3XAI can reconnect the HC for FuMS waits infinite for a server token after a restart in the middle of the game. I am assuming that the server token is never send again when the HC was already connected successfully. I have no clue how much work it is but this could really improve the stability of the HCs. Just a kind feature request... I am willing to test this and provide feedback / data if needed... -
Dedicated Client / Headless Client feedback (dev branch)
B1acksh33p replied to Dwarden's topic in ARMA 3 - DEVELOPMENT BRANCH
Thank you for this clear feedback. IMHO disabling sig check for HCs would be a good workaround while disabling sig checks in general is not that good idea (for those who think about or already did it). Just for the records: core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 63010 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1048576 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 1048576 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Running (well) in a docker container on top of Ubuntu 14.04 while the host is running debian 8. By the way: If you feel bored I can send you some cores from a debian 8 server where arma3server crashes frequently :-D (just kidding, I don't have really a need for this since meanwhile all is running fine within docker). -
Dedicated Client / Headless Client feedback (dev branch)
B1acksh33p replied to Dwarden's topic in ARMA 3 - DEVELOPMENT BRANCH
From my observations your issues are moire related to the signature of the HC than to the HC itself. Check your key directory if there is a key for your HC. If not, check the HC distribution for life_hc. Regards Blacksheep -
Dedicated Client / Headless Client feedback (dev branch)
B1acksh33p replied to Dwarden's topic in ARMA 3 - DEVELOPMENT BRANCH
I was able to overcome the "signature check failing" on linux by starting the hc with ./arma3server -cpuCount=1 -client -nosound -connect=127.0.0.1 -port=2302 -mod=@exile;@A3XAI_HC -profiles=hclogs This way I am observing now that the HC disconnects with a signature check failure after 150 minutes "only". Basically the -cpuCount=1 did the trick. I could not see any difference using the perfromance or standard build of arma3server. @Dwarden: Is this topic actively under investigation? Meanwhile I see that several postings handling this issue. My workaround is now to restart the HC every 150 minutes via cron job. Regards, Blacksheep