Jump to content
22 minutes ago, StDragon said:

Anyone run a Valheim dedicated server? I'm looking to support up to 6 simultaneous players. I have an i7-3700 with 4GB of RAM to throw at it. Will that suffice?

Did you look at the server requirements for the game? 

 

https://www.google.com/search?q=valheim+server+requirements&rlz=1C1SQJL_enUS913US914&oq=valheim+server+requirements&aqs=chrome.0.0i324j0l3j0i22i30l4.4554j0j7&sourceid=chrome&ie=UTF-8

"Do what makes the experience better" - in regards to PCs and Life itself.

 

Onyx: Ryzen 7 7800X3D / Gigabyte B650 AORUS Pro AX / ASRock Taichi 7900xtx OC / G. Skill Flare X5 6000CL36 64GB (4x16GB) / Samsung 980 1TB x3 / Super Flower Leadex V Plat Pro 1000 / EK-AIO 360 Basic w/ Silent Wings fans / Fractal Design North XL (black mesh) / LG - UltraGear 45" OLED QHD 240Hz / Mackie CR5BT / SteelSeries Arctis Nova Pro / Cherry MX Board 3.0 / Logitech G502 - https://valid.x86.fr/my9nnr

 

7800X3D - PBO +200, CO -30 all cores, 4.90GHz all core, 5.05GHz single core, Cinebench 23: 18401 multi, 1779 single

 

Khaleesi: Ryzen 5 5600X3D (+200, -30) - ASRock B550M Pro4 - G. Skill Ripjaws V 16GB 3200CL16 - Asus Prime 9060XT 16GB - Samsung 980 1TB + Crucial MX500 1TB - Cudy AX3000 PCIe Wifi 6 - EVGA SuperNOVA 650 P2 - Thermalright Frozen Notte RGB 360 White V2 - NZXT H6 Flow RGB White - LG 34" 3440x1440

 

NAS/Plex/Game Server  Ryzen 9 5900XT 16c/32t - Gigabyte B550M AORUS Elite AX - TeamGroup T-Force Vulcan 64GB 3200CL16 - MSI 1050Ti 4GB - Crucial P3 Plus 500GB + TeamGroup MP44L 2TB (Game) + WD Red Plus 4TBx2 (Plex) - TP-Link AC1200 PCIe Wifi - EVGA SuperNOVA 650 P2 - Thermalright Peerless Assassin 120SE - ASUS Prime AP201 - Currently Hosting: Enshrouded x2, Hytale, Icarus, Windrose. Project Zomboid, Dune Awakening.

 

Sage: Ryzen 7 7800X3D (+200, -30) - Gigabyte B650 Gaming X V2 - ASRock Steel Legend 7900GRE - G. Skill Flare X5 32GB 6000CL32 - TeamGroup MP44L 2TB - Super Flower Leadex Platinum SE 1000w - NZXT H5 Elite

 

Emma: i9 9900K @5.2Ghz - Gigabyte Z370 AORUS Gaming 5 - MSI 6900XT Gaming X Trio - G. Skill Ripjaws V 32GB 3200CL16 - 750 EVO 512GB + 2x 860 EVO 1TB (RAID0) - Super Flower Combat FG 850w - Thermaltake Water 3.0 Ultimate 360 - Fractal Design Define R6 - TP-Link AC1900 PCIe Wifi

 

GF Rig: Steam Deck 512GB OLED, Vizio 43" 4K TV

 

Extra parts: ASUS 6650XT - Gigabyte 1080Ti - Cooler Master Q300L - Gigabyte 450w PSU - Super Flower Leadex V Plat Pro 850w

 

OnePlus Ecosystem: 

OnePlus 11 5G - 16GB RAM, 256GB NAND, Eternal Green. OnePlus Watch 2 - Radiant Steel, OnePlus Buds Pro 2 - Eternal Green

3D Printing: 

Bambu Lab X1 Carbon, AMS, AMS2 Pro (thank you MicroCenter!)

Other Interesting Tech:

- 2021 Volvo S60 Recharge T8 PHEV Polestar Engineered - 415hp/495tq 2.0L 4cyl. turbocharged, supercharged and electrified.

Link to post
Share on other sites

"Network: 100Mbps minimum (1Gbps recommended)"

 

Yeah, I'm thinking this is on the high-end of concurrent player activity. I don't see why this is required when playing online seems doable. I've got up to 12 mbp/s upload to provide, so I know there will be a limitation on concurrent activity. Granted, I think bandwidth will ultimately be more of an issue than CPU cycles and RAM.

 

What I ultimately want/need to know is how much bandwidth per player on average? Would be nice to have a formula to assess my own requirement and resources to provide.

Link to post
Share on other sites

  • 3 weeks later...

The default limit in the server and client is set to 640 kb/sec so you don't need a large pipe.  If you do 0.64 * # of users, will give you your approximant upload speed in mbps.

 

I have modified the dedicated server to support up to 256KB/sec per user and with 7 users the highest usage we have seen is around 5 Mbps/sec upload.  With that said it only takes one person with a slow computer\internet connection to bring the game to a crawl.    The server is just a middle man that forwards traffic, so CPU\Ram is not really important on the server.  Most of the computing is done on the client computers (Whoever enters an area first controls that area (AI, door, chests etc).  

 

We have to make sure one of our players never goes to an area first (through a portal) as his system is really slow and can't handle running the AI\environment.

 

 

Link to post
Share on other sites

29 minutes ago, Allan B said:

The default limit in the server and client is set to 640 kb/sec so you don't need a large pipe.  If you do 0.64 * # of users, will give you your approximant upload speed in mbps.

Good info, thanks.

 

I was able to chat with a few mods on Discord and they echoed what you've said as well regarding how the the client/server functions.

 

I've always assumed it was hub and spoke configuration. It only is with regard to a central database of changes to the world map. But as you've correctly pointed out, the central hub of activity is wholly dependent on who holds the baton for originally being in a certain area. In a sense, that player becomes the "server" of activity and thus are the Alpha in maintaining real-time activity. But when it comes to syncing world data for permanent capture, that still goes over to the hosted server. Very interesting how the role of the server is abstracted between hosting the data and whom is actively the node for hosting activity; an abstraction by design.

 

IMHO, I'm not sure I'm ok with this. This paradigm in client/server does scale really well for 30+ players and beyond to a certain extent. But but the load segmentation is all predicated on everyone having a low-latency link with enough bandwidth. For 10 players and lower, I really think there should be a setting to force the server to also host all activity (AI, physics, motion, etc) as well.

Anyways, I was able to obtain a micro PC with an i3 running at 3.2Ghz. Apparently the server is more sensitive to CPU speed than raw core count; hence my decision to go with a box that I can host Linux on from a performance/price value.

Link to post
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×