Jump to content
Sign in to follow this  
maruk

Arma II Linux Server 1.04 Public Alpha

Recommended Posts

This one is doing much better with regard to FPS atleast.

It's using both cores on our server also.

For around 75% of total available while running an AI vs AI crCTI.

The FPS is still dropping though, will have to wait and see if it stabilizes.

Edited by zyklone

Share this post


Link to post
Share on other sites
Hi Maruk,

I the case of a dual CPU socket server (not multi-core system) could Arma2 server be enabled to operate on both CPUs rather than just one? Thanks

Regards

I mean it just do not work on single thread now, so when your server has more CPUs it should be recognized and used automatically. If not, you can experiment! You can even use something like -cpuCount=2 on singlecore server too, only the created additional thread will be running on the same CPU.

Share this post


Link to post
Share on other sites

also if you have CPU with HyperThreading please test if adding more threads than cores helps or actually degrade the performance ...

also if anyone of you got hosted server on virtualized environment some feedback would be nice ...

Share this post


Link to post
Share on other sites

running latest linux server (Build 59923) on a dualcore atom 1,6 GHz; 1GB Ram; - just for testing

2. Low FPS when there are some burning fires:

not fixed for me:

after mission start: cpu usage: 11-13% ; 49 fps

00 min after spawning 1 Land_Campfire_burning cpu usage starts to rise slowly

05 min 36% ; 49 fps

10 min 100% ; 49 fps

15 min 100% ; 20 fps

25 min 100% ; 8 fps

mem usage constant at 115 MB

more fires -> faster fps drop

Share this post


Link to post
Share on other sites
I mean it just do not work on single thread now, so when your server has more CPUs it should be recognized and used automatically. If not, you can experiment! You can even use something like -cpuCount=2 on singlecore server too, only the created additional thread will be running on the same CPU.

Thanks I'll try that setting (-cpuCount=2) coz till now without it, Arma server only used 49% of CPU meaning that only grabbed one of the 2 CPUs available. Cheers

Share this post


Link to post
Share on other sites

the same here, we have a i7 core and set the cpucount=4, after 30min we have only 8 fbs and ki is jumping around like jumpstyler :P

Next Problem:

If all player disconnected and the server is emty, the server runs along with 100% :confused:

greetz

Share this post


Link to post
Share on other sites

After a long CTI game I've found one bug.

The server FPS decayed alot and at the end (after 2 hours) the server was at around 4 FPS.

But the funny stuff started after the mission ended. The server went back to "waiting" state as it should. However the CPU use continues.

It's now stuck with one thread at 100% cpu use and one thread using no cpu.

This is with no user connected and no mission loaded.

There was one somewhat odd line in the log when the mission ended.

Warning: Cleanup player - person 3:21 not found

Edited by zyklone

Share this post


Link to post
Share on other sites
running latest linux server (Build 59923) on a dualcore atom 1,6 GHz; 1GB Ram; - just for testing

2. Low FPS when there are some burning fires:

not fixed for me:

after mission start: cpu usage: 11-13% ; 49 fps

00 min after spawning 1 Land_Campfire_burning cpu usage starts to rise slowly

05 min 36% ; 49 fps

10 min 100% ; 49 fps

15 min 100% ; 20 fps

25 min 100% ; 8 fps

mem usage constant at 115 MB

more fires -> faster fps drop

I can confirm this. I used the same mission I tried before to reproduce, and after 45-60 seconds the drop in fps starts.

Share this post


Link to post
Share on other sites

I can confirm sharp fps-drop within 40 min of gaming - just me alone with 7 AIs on my side and 8 AIs on the other ....

JIP was not possible.

EDIT: With latest files JIP was possible now.

Edited by Herbal Influence

Share this post


Link to post
Share on other sites
I can confirm this. I used the same mission I tried before to reproduce, and after 45-60 seconds the drop in fps starts.

Confirmed in BIS too.

Both Burning Fires :y:

and horrendous CPU use after mission end.

Share this post


Link to post
Share on other sites

Ok, now the server is able to run on two cores, as we observed it on windows. But it seems like the server code still can't split the AI-computing part into two or more threads, which is the most important one.

I run the test-mission without cpucount and with cpucount 3 and 4. There was no difference between those runs. After at least 30 min the server dropped to 16-17 FPS, but the server process never produced load over 150% (100% = 1 core at full load). Mostly it was at around 120% CPU load.

Test-mission:

Warfare BE 2.0.44, 10 AI squads with AI commanders on each side

System:

2.6.28-vs2.3.0.36.4-gentoo (which means Gentoo kernel 2.6.28 running some Vservers 2.3.0.36.4)

CPU I7

RAM 8 GB

System load without arma2server running is something about 0.3-0.5

Share this post


Link to post
Share on other sites
- low FPS after mission end

This one is unfortunately not entirely fixed. It's alot better though.

Now the server FPS on our server is bouncing between 30 and 50 after mission end. One thread is using 40% cpu constantly with the server in 'Waiting'.

Server restart needed to get it back to normal.

Once again after a AI vs AI CTI game. Smells like some running scripts are not cleaned up correctly when the mission ends.

Share this post


Link to post
Share on other sites
UPDATED: Updated Arma II Linux Server 1.04 Public Alpha Build 59962 is available now for download.

Server FPS are really good here now. I'd say even better than the current Windows server. Thanks. :)

Hmm. It maybe leaking though. Game is running for nearly 4hrs now, #monitor reports 360MB usage, but resident set is 890MB and rising.

Edited by thhamm

Share this post


Link to post
Share on other sites

Quick question:

Any ETA on a final or Beta (more stable) version of the Linux server?

Cause the company that provides us a server want to swap Win for Linux, but i have concerns about an alpha server :S

Share this post


Link to post
Share on other sites

The performance is better now, but why the server takes more time for the first start, here is the message for the server starting, no addon.

[root@centos5 arma2]# ./server -cfg=basic.cfg -config=server.cfg

Cannot register unknown string STR_USRACT_NETWORK_DS_INTERFACE

Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_CORE

Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_MOD

Cannot register unknown string STR_ADDON_ACTIONS_PLAY_MISSION

Cannot register unknown string STR_ADDON_ACTIONS_TRY_ENTITY

Cannot register unknown string STR_ADDON_ACTIONS_TRY_WEAPON

Cannot register unknown string STR_MSG_ADDON_NOT_FOUND

Cannot register unknown string STR_MSG_ADDON_CANNOT_OPEN

Cannot register unknown string STR_MSG_ADDON_UNKNOWN_PRODUCT

9:40:30 Dedicated host created.

Warning Message: No entry 'bin\config.bin/CfgCoreData.textureLine3D'.

Warning Message: '/' is not a value

9:40:34 Host identity created.

ArmA 2 Console version 1.04 : port 2302 - Sockets

Here is the resource usage, now fps=15-17, is it possible to take more cpu cores to improve the performance?

top - 11:07:28 up 2:43, 2 users, load average: 1.57, 1.46, 1.38

Tasks: 89 total, 2 running, 87 sleeping, 0 stopped, 0 zombie

Cpu(s): 37.6%us, 3.8%sy, 0.0%ni, 58.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st

Mem: 6109336k total, 1272516k used, 4836820k free, 15596k buffers

Swap: 8159224k total, 0k used, 8159224k free, 563248k cached

[m PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND[m

2466 root 18 0 681m 639m 11m R 164.5 10.7 84:23.57 server

1 root 18 0 10348 744 624 S 0.0 0.0 0:01.09 init

2 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/0

3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0

4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0

5 root RT -5 0 0 0 S 0.0 0.0 0:00.03 migration/1

6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1

7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1

8 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/2

9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2

10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2

11 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/3

12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3

13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3

14 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0

15 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/1

16 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/2

Edited by bj2020
Questions Added by bj2020

Share this post


Link to post
Share on other sites

Being this server built on the beta branch (59962 as now) shouldn't it require the beta modfolder (-mod=beta)? Or it's supposed to run on a plain 1.04.59026?

Share this post


Link to post
Share on other sites

with the plain 1.04.59026 I get such startup errors bj2020 posted above - with the files of the latest beta (and -mod=beta) the startup errors are gone

Share this post


Link to post
Share on other sites

By term "Copy the whole "ArmA 2" directory from Windows" is ment the folder of instaled arma from my hard drive or the folder from DVD :)

iam setting the server almost 3 days, I can see the server on the list I can connect but I cant play any mission.

I have erros like this:

Missing addons detected:

cacharacters2

chernarus

Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.cacharacters2, chernarus

Iam linux novice and I ll be gratefull for any advice

Share this post


Link to post
Share on other sites

content of installed game (aka Addons and Dta directories)

Share this post


Link to post
Share on other sites

Yes that what I thought, and I uploaded whole that folder on the server, but there is still that error about missing addons.

But I dont have those addons in my folder of installed game, so where I should get them??

Share this post


Link to post
Share on other sites

For example these ones:

Missing addons detected:

cacharacters2

chernarus

Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.cacharacters2, chernarus

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×