[Linux/Ubuntu] VPS and Server Setup for IW5
-
Amazing tutorial for a non staff member. Thanks, I'm sure the community will find a great value in this.
-
great job, I wish I had this when I was making my server lol
-
Did you get that from my Wiki? because some parts are the same as mine.
* That doesn't mean you didn't have to make an effort to adapt it to PlutoIW5 and improve certain things. -
-
If you want credits I can give it to you in the post
I accept. a,a
-
Works! Thanks for this simple tutorial!
-
Good guide mate, well done
-
A guide I still reference to this day but I recommend skipping a lot of steps.
DO NOT run the command
sudo apt-get install -y ubuntu-desktop
. You only need to install xrdp and xfce4 without theubuntu-desktop
package.The Wine installation guide is extremely redundant and outdated.
According to my research which I hope is correct, you do not need to addi386
as a foreign architecture.
So please skip that step and try without it.You can simply install Wine with
apt-get install wine
and that's it I never had to do anything more than that on my Linux systems when running XLabs or Plutonium clients.Unless OP has done a meticulous profiling of the server app which I would be very interested in seeing the results of, changing the process affinity most likely does nothing to improve performance. The game runs on a few pre-programmed logical threads and will most likely completely ignore the system's offer for more threads. At least, that's my understanding of the game's behaviour.
Installing Chrome?????
Please, just use Firefox. It already comes with a desktop environment.
-
FutureRave said in [Linux/Ubuntu] VPS and Server Setup for IW5:
You only need to install xrdp and xfce4 without the ubuntu-desktop package.
Even that is overkill nowadays, Plutonium game servers work perfectly fine in a headless environment so no UI is needed at all. So no Desktop Environment, no xrdp, no chrome, and since SFTP is built in in the SSH server also no FTP server. And if you use SteamCMD also no uploading of your game files.
FutureRave said in [Linux/Ubuntu] VPS and Server Setup for IW5:
Unless OP has done a meticulous profiling of the server app which I would be very interested in seeing the results of, changing the process affinity most likely does nothing to improve performance. The game runs on a few pre-programmed logical threads and will most likely completely ignore the system's offer for more threads. At least, that's my understanding of the game's behaviour.
That actually increased the felt performance of the game servers because it would prevent the main thread from switching between cores too often which did result in minor lag spikes.
-
Yeah, that's true. We should try to write our official Plutonium tutorial for Linux. As I mentioned, I only reference this guide and the other one in this forum section when I forget how to export wine arch for example.
Pretty sure in the end I only run 10% of the commands in this tutorial .Considering the server (game) only has two relevant logical threads: the main thread and the game thread, it still doesn't make much sense to me. If the system isn't busy it should quite never switch a process between cores. Even so, then why you are giving the game more cores if you intend to stop that behaviour?
The OP said it is to improve the performance which I am doubtful of, and you say it's for stopping a behaviour that's contradictory to giving the game more cores. But correct me if I misunderstood the comment.Edit:
I did some Googling, it seems in the context of IW5 it's somewhat desirable to have both the main thread and the game thread running on the same physical core. So it is my opinion that the step should be skipped entirely as well. Since the main thread and game thread will be interchanging data often if they are on the same core the threads can take advantage of cache hits and so forth. Then again, without profiling the game, it's not possible to give credit to OP's theory the game will benefit from more cores. The game isn't designed for multithreading because as mentioned before a dedicated server has only two important threads.
On IW5 I think we only have one logical thread that does the work on the main and game thread.
It's a patch NTA did on IW4 devices to improve performance.