Dreadful performance when running Conan Exiles server with 1 player

Questions about Wine on Linux
Locked
FiftyTifty
Newbie
Newbie
Posts: 4
Joined: Tue Oct 29, 2019 11:03 pm

Dreadful performance when running Conan Exiles server with 1 player

Post by FiftyTifty »

I've a dedicated server with pretty nice specs. An i7 3770k, 16GB of DDR3, 2x1TB HDDs, 1Gbit, and unlimited bandwidth. It runs native server software like a dream, such as TrinityCore, or the server for 7 Days To Die. But after trying out both wine-stable, and wine-staging, I can't get anything other than a horrible mess.

The recommended server specs can be found here: https://conanexiles.gamepedia.com/Dedic ... quirements

The specs fit well within the range, and should be perfect for a 40-odd player server. But I'm getting woeful performance with only me playing on it. I've tried using the WINEDEBUG=-all prefix, changing the WINE Windows version to Windows 10, installing wine-staging instead of wine-stable, and disabling BattleEye. Not a single difference in performance was made. The ping constantly switches between 75-200ms ping, the Server FPS (the server is essentially the game sans any rendering) nosedives constantly, down from 30 to 12. With just me playing it. When my friend joined to test it out, nothing changed, performance stayed as dreadful as it was with just me online.

I can't, for the life of me, figure out why performance is just so ridiculously awful. It's at the point that I've resigned myself to buying a Windows 10 key and installing that on my server instead. Which isn't a solution in the slightest, as my native Linux servers run much better than they would on Windows.

So is there any way I can get the expected performance from this? Something must be wrong, as plenty of others host the same server software without any of these issues on Ubuntu.
FiftyTifty
Newbie
Newbie
Posts: 4
Joined: Tue Oct 29, 2019 11:03 pm

Re: Dreadful performance when running Conan Exiles server with 1 player

Post by FiftyTifty »

As an update, a user on the Wine IRC helped me pinpoint what exactly was causing the performance drop. When the server drops to ~20 server fps, it's due to "Kernel - import_iovec". When it drops down to 12 server FPS, it's due to "perf-4304.map". When I increase the server's FPS limit from 30 to 60, oddly enough, the performance drop changes as well.

So rather than dropping from 30 to 20, and 30 to 12, it drops from 60 to 45, and 60 to 30.

Another drop observed was from 60 down to 50, with "Kernel - __x64_sys_openat".

Here are a few screenshots showing TOP and HTOP running while experiencing the sudden server performance drops.

Kernel - import_iovec: https://i.imgur.com/Zzy0nl9.png

perf-4304.map: https://i.imgur.com/Zzy0nl9.png

Kernel - __x64_sys_openat: https://i.imgur.com/5hmfDOc.png
FiftyTifty
Newbie
Newbie
Posts: 4
Joined: Tue Oct 29, 2019 11:03 pm

Re: Dreadful performance when running Conan Exiles server with 1 player

Post by FiftyTifty »

As an update, I installed Windows 10 on my server, and have not had any of the issues shown when running the server software through WINE. So it's not a problem with the software, but WINE having huge performance bugs.
FiftyTifty
Newbie
Newbie
Posts: 4
Joined: Tue Oct 29, 2019 11:03 pm

Re: Dreadful performance when running Conan Exiles server with 1 player

Post by FiftyTifty »

Just noticed that I didn't link the proper image for per-4304.map: https://i.imgur.com/d2XSJp4.png

The server software can be obtained completely free through SteamCMD, logging in as anonymous, and running the following command: app_update 443040 validate
Locked