WARNING: The forum is now in read-only mode as we will soon be transitioning to different forum software. Feel free to join our Discord server in the meantime.
User avatar
Rodney
Posts:427
Joined:Mon Dec 17, 2012 7:56 pm
Location:On the Battlefield
Contact: Website WLM Yahoo Messenger AOL Facebook Skype Twitter YouTube
Some Notes on High Frequency Server Performance

Tue Jan 05, 2016 3:30 pm

In this post I want to give those of you who are looking forward to hosting Venice Unleashed servers a little overview of the kind of workloads you are looking at for full or almost full high frequency servers. I have three examples of loads on 120 Hz and 60 Hz with data about CPU and Network usage as well as the servers performance itself. This is not a definitive guide but it should give you an idea about the kind of hardware you'd need for high frequency servers with 60 or 120 Hz.

Specs of the machine used for testing:
CPU i7 4790K @ 4.3 GHz
RAM 32 GB DDR3
Network 1 Gbps (300 Mbps guaranteed, unmetered)
HDD Samsung 850 EVO 120 GB SSD
OS Windows Server 2012 R2 Standard (x64, of course)
CPU-Z validator

This is not server-grade hardware. However I went for the i7 because of its very good single-thread performance. And it was cheaper (25€/month thanks to a promotion) than any server with a comparable Xeon CPU. An i7 is probably fine for game servers anyway since features like ECC aren't really all that important.

General Notes:
  • Vehicles are much heavier on the CPU and network than players
  • DLC maps will always load faster
  • Loading times will be much worse on mechanical drives
  • Bandwidth and CPU requirements on high frequency are much higher than on 30 Hz
  • I set the affinity of each instance to two of the CPUs 8 threads. That way they don't interfere which each other and reading the CPU load of each individual instance becomes easier
General Performance:
Those might be boring to most of you but I found it interesting.
Startup process (average):
Vanilla Maps: 26s
DLC Maps: 21s

Level Load Time (average):
Vanilla map: 12s
DLC Map: 8s

Idle Load:
150-200 MB RAM (depends on loaded map, etc.)
0.4% CPU

Extreme Scenarios:
Those numbers were recorded over short amounts of time in a round and represent performance around peak loads.

120 Hz with Vehicles
Map: XP1_004 (Wake Island), Assault
Players: 32/32 + 1 Spectator
Vehicles enabled

CPU:
~16% total for vu.exe
90-100% of one core (main simulation thread)
+ 5-10% of another core (other stuff)

Memory: 385 MB

Network:
Outgoing:
min 13 Mbps
max 23 Mbps (!)
avg 18 Mbps

Incoming:
min 2 Mbps
max 3 Mbps
avg 2.6 Mbps

Server FPS:
Note: Everything < 120 will lag at 120 Hz, < 130 is already bad but playable
min: 125
max: 169
avg: 150

60 Hz with Vehicles
Map: XP1_002 (Gulf of Oman), Conquest Large
Players: 62/64 + 0 Spectators
Vehicles enabled

CPU:
~18% total for vu.exe
90-100% of one core (main simulation thread)
+ 10-20% of another core (other stuff)

Network:
Outgoing:
min 18 Mbps
max 28 Mbps (!)
avg 22 Mbps (!)

Incoming:
min 3 Mbps
max 4 Mbps
avg 3.5 Mbps

Server FPS:
Note: Everything < 60 will lag at 60 Hz, < 70 is already bad but playable
min: 52
max: 67
avg: 55
Players noticed and mentioned rubberbanding in chat. Once FPS were above 70 again those issues were gone.

120 Hz Infantry only
Map: MP_017 (Norshar Canals), TDM
Players: 32/32 + 0 Spectators
No vehicles on that map.

CPU:
~14% total for vu.exe
80-90% of one core (main simulation thread)
+ 5-10% of another core (other stuff)

Network:
Outgoing:
min 5 Mbps
max 9 Mbps
avg 7 Mbps

Incoming:
min 1.5 Mbps
max 3 Mbps
avg 2 Mbps

Server FPS:
Note: Everything < 120 will lag at 120 Hz, < 130 is already bad but playable
min: 184
max: 243
avg: 196

There is no data on 30 Hz available from my side. But its safe to assume that it will run on just about anything.

Conclusion:
In general it came as a surprise to me how high the bandwidth demand of high frequency really is. Those of you that have servers with metered connections might want to make sure that they have enough traffic per month available to run high frequrency servers.

Most server CPUs are not overclockable so you're stuck with whatever performance it has.
Most newer Intel Xeon Quad Cores should be good enough for 32 player 120 Hz (without vehicles or maps with few vehiles), 24 player 120 Hz with vehicles or 64 player 60 Hz Infantry only or 32/48 player 60 Hz with vehicles.

At this point only a Xeon 1245v2 and a Xeon 1240v3 have been tested by me. Both did fine with 48 players at 60 Hz and 24 players at 120 Hz. 32 players at 120 Hz (with vehicles) was only tested on the 1240v3 and was not playable.

I might edit this in the future when I get some more readings. But those are the best I have right now.
There used to be a signature here.

dx4picco
Posts:26
Joined:Wed Dec 23, 2015 10:42 am

Re: Some Notes on High Frequency Server Performance

Tue Feb 02, 2016 3:38 pm

If I understand well the bf server is not multi-threaded?

User avatar
AlexEe
Posts:281
Joined:Sat Mar 16, 2013 1:26 pm
Location:UK

Re: Some Notes on High Frequency Server Performance

Tue Feb 02, 2016 4:36 pm

nope the main load heavily runs on a single thread
Add me on Steam: click | My Origin ID: AlexEe77

dx4picco
Posts:26
Joined:Wed Dec 23, 2015 10:42 am

Re: Some Notes on High Frequency Server Performance

Tue Feb 02, 2016 9:09 pm

But why a big load on a core and nothing on others?

User avatar
RobbingHood
Posts:3305
Joined:Mon Dec 17, 2012 8:50 pm

Re: Some Notes on High Frequency Server Performance

Tue Feb 02, 2016 10:03 pm

Ask DICE, there's nothing we can do about that.

User avatar
blueman24
Posts:310
Joined:Sat Aug 03, 2013 3:12 pm

Re: Some Notes on High Frequency Server Performance

Wed Feb 03, 2016 10:53 am

AFAIK bf3's default tick is 10-15hz, isn't it? Can you host VU servers with that default tick or is 30hz the minimum? Just asking for clarification.

beffon
Posts:1
Joined:Tue Jan 21, 2020 6:55 pm

Re: Some Notes on High Frequency Server Performance

Wed Jan 22, 2020 5:38 pm

I basically need as much single core performance as I can get in my pricerange so what I consider "slow" shouldnt matter that much anyways.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 10 guests