• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

Inconsistent latency as playercount increases

tommy2bar

FNG / Fresh Meat
Jun 28, 2018
3
0
0
Ireland
I've noticed that the ping on the scoreboard increases steadily as the playercount increases on the server, though an ICMP ping I'm running in commandline to the server does not.
At 0 players I'm getting a ping of 48ms on the scoreboard, which lines up with the ping in command prompt, then at 64 players the scoreboard displays 100-120ms while the ping command is still sitting around 48ms.

I'm new to running servers, pretty much using an RS2 server on a Windows VM to dip my toes into AWS (have to learn it for work).
I'm running the server on a t2.medium EC2 instance which has 2 cores and 4GB of ram, although at 64 players the CPU usage only hovers around 50% and RAM usage hovers around 2GB. I'd seen this issue on other people's servers and assumed it was performance related but the VM really doesn't seem to be getting hammered all that much. Could it be a NIC config thing or some Windows networking configuration issues?:confused:

Or is the RS2 server more reliant on single threaded performance? t2.medium EC2 instances only run at 2.4GHz on both cores, I might fire up a C4 or C5 instance which has higher clockspeeds (up to 3GHz) to see if it helps.
 

Rivimies

FNG / Fresh Meat
Jun 29, 2013
198
2
0
tommy2bar;n2321886 said:
Or is the RS2 server more reliant on single threaded performance? t2.medium EC2 instances only run at 2.4GHz on both cores, I might fire up a C4 or C5 instance which has higher clockspeeds (up to 3GHz) to see if it helps.
Yes, absolutely. RS2 server performance is determined solely by single thread performance. Server is not single-threaded per se, but main thread is the only thing that matters.

tommy2bar;n2321886 said:
I might fire up a C4 or C5 instance which has higher clockspeeds (up to 3GHz) to see if it helps.
3GHz helps a little, but unfortunately it's not enough to run a smooth 64 player server. I would say it will do 48 players fine. Please note that maps vary, some are stressing server CPU more than others.

tommy2bar;n2321886 said:
Could it be a NIC config thing
You can configure NIC to perform better with game server type usage (lots of small outgoing packets) but that is a minor thing. Perhaps 2% performance increase (my wild guess).

I have a longish history of hosting RO2 and RS2 servers (Divided servers for RO2 and rs2.fi servers for RS2). If someone needs a affordable RS2 server in Europe, you can ask me. It's just like renting one from GSPs. I can not promise 24/7 support but otoh I know how these servers work the best.
 
  • Like
Reactions: tommy2bar

tommy2bar

FNG / Fresh Meat
Jun 28, 2018
3
0
0
Ireland
Ah that clears things up for me, thanks for the response!

TWI / Antimatter should really look into optimizing / threading the server since most cloud providers are on the low end of the frequency spectrum on CPUs. Hope AMD's Epyc / Epyc 2nd gen bring server clockspeeds up, Intel's HCC chips are all hovering around 2.4 - 3.0 GHz.

Rivimies;n2322200 said:
I have a longish history of hosting RO2 and RS2 servers (Divided servers for RO2 and rs2.fi servers for RS2). If someone needs a affordable RS2 server in Europe, you can ask me. It's just like renting one from GSPs. I can not promise 24/7 support but otoh I know how these servers work the best.
Thanks for the offer, I mainly set up my sever to have a poke around at AWS though so I don't mind dropping the player cap a bit.
If I had a decent fiber connection at home I could probably run it on my spare PC and get better performance than AWS... LOL!