[0.17.x] High spec - low performance, any solutions?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Darkwhistle
Burner Inserter
Burner Inserter
Posts: 16
Joined: Mon Aug 18, 2014 4:22 pm
Contact:

[0.17.x] High spec - low performance, any solutions?

Post by Darkwhistle »

Hey guys,

I'm playing a 2 player multiplayer server that is steadily increasing and the dps starts to drop quite a bit now.
The server shouldn't be big enough to cause performance issues however, if he host the map on a similar PC specs he runs 60fps with ease and I can't keep up.
My PC is mostly idle and doesn't seem to make a lot of use of the available hardware at all, while I more and more get towards the 35fps range instead of the solid 60 I'm used to.

This are my specs:

Intel Core i7-4790K
32GB RAM 2400Mhz
2x980ti SLI setup
Factorio running on a
Samsung SSD 970 EVO (Nvmem.2)

I added some pictures in the attachment about the timings. Any tips, idea or things I could try would be very appreciated.
Attachments
Factorio-map.png
Factorio-map.png (845.98 KiB) Viewed 3041 times
Factorio-timings.png
Factorio-timings.png (5.09 MiB) Viewed 3041 times
Factorio-timings2.png
Factorio-timings2.png (4.73 MiB) Viewed 3041 times
Performance.png
Performance.png (104.42 KiB) Viewed 3041 times
Loewchen
Global Moderator
Global Moderator
Posts: 9516
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by Loewchen »

It's the standard "having lots of entities takes lots of time to simulate", you can use beacons with speed modules to reduce this if you are not already, but nothing shown here is out of the ordinary.
Darkwhistle
Burner Inserter
Burner Inserter
Posts: 16
Joined: Mon Aug 18, 2014 4:22 pm
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by Darkwhistle »

There is now way to push some more performance out of this? My PC is idling around quite a bit and my friend doesn't seem to have this problem (My cpu/gpu is stronger but he has faster RAM as he is running on DDR4 series ~3000Mhz) Might this be a ram speed limitation?
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2395
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by Jap2.0 »

The GPU is not at all a bottleneck; the FPS being limited by UPS. Is your CPU fully using one core? With 4 cores at 36% there's a decent chance that's the case. If you post a log and save someone might be able to help slightly, but it's largely a hardware limitation.

Edit (Loewchen beat me to it): Yes, ram can also be a bottleneck - there is some argument over whether single threaded cpu or memory latency (which is impacted by speed and bandwidth) is more of the bottleneck, but either could be the case.
There are 10 types of people: those who get this joke and those who don't.
Darkwhistle
Burner Inserter
Burner Inserter
Posts: 16
Joined: Mon Aug 18, 2014 4:22 pm
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by Darkwhistle »

I'm aware of the UPS yes, but my CPU is quite relaxed, see this new attachment, no core is fully used.
It could be a hardware limitation but this is quite a beefy computer and I don't consider this base "that large" compared to what I've seen. RAM speed could be this case, but is factorio really that demanding on this?
stuff
Loewchen
Global Moderator
Global Moderator
Posts: 9516
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by Loewchen »

Nothing except getting new hardware will give you meaningful improvements in this regard, a more ups friendly playstyle (productivity modules, beacons with speed modules, mass solar/accumulator for power) is the most effective and easiest way to noticeably improve performance.
Darkwhistle
Burner Inserter
Burner Inserter
Posts: 16
Joined: Mon Aug 18, 2014 4:22 pm
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by Darkwhistle »

@Loewchen, I understand your point, but saying that I need new hardware without being able to point out the bottleneck is not helping. I will keep in mind that a lot of entities will slow down the game however.
Tomorrow I will try to play around with some XMP profiles to boost my maximum out of my RAM & latency, will update for the results after.
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2395
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by Jap2.0 »

I don't know if this is the case for you, but I have heard that sometimes the OS will take a single thread and vary which core it runs on, making it appear that all cores are being used equally even when only a single process is running.
There are 10 types of people: those who get this joke and those who don't.
nuhll
Filter Inserter
Filter Inserter
Posts: 958
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by nuhll »

You can remove/deactivate polution, remove biters. Reduce rail signals, reduce belts.

You could use your pc as server (multiplayer -> host multiplayer game) (that is for us for a 2 player game a good solution) look at https://www.youtube.com/watch?v=9YnZL-r-ILY for our base (heavily modded, recording in 4k and 60 fps)

Same save on server didnt run good...
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by eradicator »

Darkwhistle wrote: Wed Jun 12, 2019 9:31 pm RAM speed could be this case, but is factorio really that demanding on this?
Factorio is indeed known to be much more dependant on ram transfer speeds than most other games.
There were discussions on reddit (example) but i can't seem to find the "master thread".
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Darkwhistle
Burner Inserter
Burner Inserter
Posts: 16
Joined: Mon Aug 18, 2014 4:22 pm
Contact:

Re: [0.17.x] High spec - low performance, any solutions?

Post by Darkwhistle »

Played around a bit with my ram timings & xmp profiles, overclocked a bit and found a significant increase in performance.
Case closed, factorio is just extremely RAM heavy.
Post Reply

Return to “Technical Help”