arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
680 stars 144 forks source link

Arkmanager & taskset with AMD Ryzen??? #1148

Closed tobi-wankenobi closed 4 years ago

tobi-wankenobi commented 4 years ago

Hi, we want to get a new server and now I wanted to ask if anyone has experience with Ark, the Arkmanager and taskset on an AMD Ryzen?

Does taskset work with a Ryzen and does Ark Server work well on a Ryzen?

Thank you and have a nice Sunday, Tobias

klightspeed commented 4 years ago

On Zen 1, threads on a core are sequential - i.e. Core 0 has logical CPUs 0 and 1. On Zen 2, threads on a core are n threads apart, where n is the number of cores - i.e. Core 0 on an 8-core Ryzen has logical CPUs 0 and 8. This is similar to how threads are numbered on Intel CPUs with Hyperthreading.

Taskset does work with this. You just need to be aware of the thread numbering, as putting two busy servers onto different threads of the same core will likely perform worse than putting them on different cores. Giving each server too few logical CPUs is also likely to negatively affect performance.

tobi-wankenobi commented 4 years ago

First of all thanks for the answer.

So if I take a Ryzen 1700x, I put server 1 on 0,1 server 2 on 2,3 etc?

klightspeed commented 4 years ago

First of all thanks for the answer.

So if I take a Ryzen 1700x, I put server 1 on 0,1 server 2 on 2,3 etc?

Yes, that should work.

tobi-wankenobi commented 4 years ago

Thx