this post was submitted on 17 Oct 2024
31 points (100.0% liked)

Games

32507 readers
1530 users here now

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here.

founded 1 year ago
MODERATORS
 

Hi there,

I'm hosting a dedicated server for satisfactory on my homeserver. It has 16 GB of ram which are 30% used WITH the game running and 4 cores which are barely touching 15% usage, also with the game running.

I checked my connection and it is fairly stable, both on lan and wifi otherwise. I switched to lan so I could debug the connection but it seems like a different problem then wifi.

The server is running in a container from this repo: https://github.com/wolveix/satisfactory-server.

My guess would be that I maybe have accidentally limited the server in terms of ram or cpu usage. Will check.

Let me know if anyone else has this issue. Have a good one. :)

top 17 comments
sorted by: hot top controversial new old
[–] scrubbles@poptalk.scrubbles.tech 11 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

Okay so, first you should post on !satisfactory@lemmy.world.

That being said, congrats your factory has officially grown to a large state. 4 cores will NOT be enough to run this game. If you look at htop or something you can see full cpu usage, I'm guessing you'll see one core pinned at 100%

To understand how the server works, it chunks the entire game map and then shards that across available cores. So your 4 core server each core is handling a quarter of the map. That's a lot of factory on one core kemosabe. My server is a 24 core beast with still very high single core rates. You can feel when you're working on another core that has less load when you walk into a new area and your frame rate jumps.

My group has had several iterations of our server, from being on shared resources, to a 48 core thread ripper (plenty of cores but single clock speed wasn't enough), to finally we bought a 5950x for our Update 8 factory - and even then you're still going to notice some rubber banding when you get to late game/factory spans across the entire map big.

Now, thinking about it too, is this happening at intervals? If so, that's your saves happening. As your saves get larger the auto save will take longer, and that means longer time the client doesn't talk to the server, so it rubber bands your last known server positions. If it takes too long the client will disconnect. To fix this just update how long it is allowed before timing out, that's on the dedicated server wiki. We usually call out when a save is about to happen and take it as a break to stand up, stretch, and get more coffee.

Beyond getting more cores and a higher single core clock speed, the other massive thing that will help is spreading your factory out. Allowing your factory to take advantage of multiple chunks and multiple cores will have a noticeable impact. Make very liberal use of trains, my last factory had over 60 rail lines and 100 trains running around. It's a lot easier to manage a train car with 10,000 items stored as an integer than hundreds of miles of interconnected belts that it constantly has to shift around on.

I'll have more info later, should probably write a wiki, but those few changes will have a noticeable impact.

Source, I've ran a dedicated satisfactory server for about 4 years now, on bare iron, docker, and in kubernetes. Helped many others set up their servers too

[–] Donut@leminal.space 4 points 3 weeks ago (1 children)

Now this is the niche content that makes Lemmy great. I've never really dabbled in multiplayer a lot as even though I have hundreds of hours, I never actually finished the whole thing, opting to start over every time I picked it back up.

Just wanted to thank you for your post, it was fun to read

Ha thanks! I should do a write up of it all

[–] LiveLM@lemmy.zip 2 points 3 weeks ago* (last edited 3 weeks ago)

Damn, you're doing that profile picture justice!

[–] Dremor@lemmy.world 3 points 3 weeks ago* (last edited 3 weeks ago)

You may also try !selfhosted@lemmy.world to get more help.

[–] static09@lemmy.world 3 points 3 weeks ago

The github repo mentioned this wiki article for multiplayer performance tweaks. Did you run through this list and make the recommended changes?

https://satisfactory.wiki.gg/wiki/Multiplayer#Engine.ini

[–] catloaf@lemm.ee 2 points 3 weeks ago (1 children)

You're going to need to describe the symptoms more.

[–] haui_lemmy@lemmy.giftedmc.com 2 points 3 weeks ago (2 children)

What happens is that I get rubberbanding (I go somewhere, build something, get set back like 30 seconds and my stuff is not built), loosing my connection like once every two hours or something. My wife plays with me and has similar issues.

The logs sometimes show „tick took longer than anticipated“ or something, which would indicate a performance issue but since the cpu and the ram arent even used properly, I assume it might be limited somehow.

[–] MangoPenguin@lemmy.blahaj.zone 2 points 3 weeks ago (1 children)

Generally tick length messages are purely due to CPU limitations.

What hardware is this running on?

[–] haui_lemmy@lemmy.giftedmc.com 1 points 3 weeks ago (1 children)

Xeon 4 core, 4 threads, 16 G DDR4 ram, onboard graphics.

[–] MangoPenguin@lemmy.blahaj.zone 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Do you know what CPU model it is? Xeon with 4 threads can range from something so old it can barely run most modern software, to a fairly recent CPU that's much faster.

[–] haui_lemmy@lemmy.giftedmc.com 1 points 3 weeks ago (1 children)
[–] MangoPenguin@lemmy.blahaj.zone 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

That's on the slower end, but I've run a satisfactory server on similar hardware before without too many issues.

Is the storage SSD based?

Do you have all 4 cores/threads allocated to the server?

What about all 16GB of RAM? Satisfactory needs a good amount.

[–] haui_lemmy@lemmy.giftedmc.com 1 points 3 weeks ago (1 children)

I'm monitoring the cpu and ram and so far the server isnt utilizing it except short bursts which dont max out anything. i'll try and optimize the network first and then go for performance. i suppose its a multi stage issue by now. will update on the matter.

[–] MangoPenguin@lemmy.blahaj.zone 2 points 3 weeks ago

Most game servers are primarily single threaded, so you won't see all 4 cores at 100%.

[–] catloaf@lemm.ee 2 points 3 weeks ago (1 children)

Sounds like your connection to the server is dropping. I'd investigate it from a network perspective.

[–] haui_lemmy@lemmy.giftedmc.com 2 points 3 weeks ago

Hmmm… that makes sense. I‘ll check. Thank you for the suggestion.