multicore processor

Bugs that are actually features.
elvaleto
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Jul 15, 2018 6:58 am
Contact:

multicore processor

Post by elvaleto »

hello,
my system:
xeon e5-2680 8-core 3.2 ghz
Geforce 1080 gtx
16gb ddr3 quadchannel 50gb/sec

the game goes 15-18 fps\ups with any settings
it uses only 1 core of cpu,
if try to destroy all the belts, nothing changes,
in any case, I do not want to rebuild base, just to get rid of lags, is there any chance to fix it?
see for yourself, I attach my save file

here image of loading CPU 8 cores, on screen you can see 1 core load 70-95
http://prntscr.com/k6n05u

image from game
http://prntscr.com/k6n31s

my save file ( 270mb )
https://drive.google.com/file/d/1WlKX5U ... sp=sharing

Factorio 0.16.51
Rseding91
Factorio Staff
Factorio Staff
Posts: 14591
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: multicore processor

Post by Rseding91 »

Thanks for the report however you've simply built beyond what any computer can handle (regardless of CPU core utilization).
If you want to get ahold of me I'm almost always on Discord.
elvaleto
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Jul 15, 2018 6:58 am
Contact:

Re: multicore processor

Post by elvaleto »

is there any way to fix a low FPS/UPS?
fps drop to 16, the play was not possible, it 4x times slower than it should be
my friend have i7 8700k 4.7ghz , he have 30fps with my save file, it 2x slower.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14591
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: multicore processor

Post by Rseding91 »

elvaleto wrote:is there any way to fix a low FPS/UPS?
fps drop to 16, the play was not possible, it 4x times slower than it should be
my friend have i7 8700k 4.7ghz , he have 30fps with my save file, it 2x slower.
Buy a faster computer is the only way.
If you want to get ahold of me I'm almost always on Discord.
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: multicore processor

Post by TruePikachu »

Rseding91 wrote:
elvaleto wrote:is there any way to fix a low FPS/UPS?
fps drop to 16, the play was not possible, it 4x times slower than it should be
my friend have i7 8700k 4.7ghz , he have 30fps with my save file, it 2x slower.
Buy a faster computer is the only way.
Depending on the bottleneck, you might need a faster motherboard, CPU, or RAM. I've heard that usually RAM speed will be the culprit, but to go faster you might need a new motherboard.
elvaleto
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Jul 15, 2018 6:58 am
Contact:

Re: multicore processor

Post by elvaleto »

IF 4.7 ghz have 30fps,
i think i need CPU 9.2 ghz for 60fps, any solution there i can buy him?
Dergonic
Inserter
Inserter
Posts: 46
Joined: Mon Jun 06, 2016 8:56 am
Contact:

Re: multicore processor

Post by Dergonic »

elvaleto wrote:IF 4.7 ghz have 30fps,
i think i need CPU 9.2 ghz for 60fps, any solution there i can buy him?
9GHz CPU don't even exists. World record is about 8.8GHz using modified CPU and liquid nitrogen cooling !
But in addition of CPU speed, you also have CPU IPC (Instruction per cycles)

The best CPU for the moment are I7-8700K series and I5-8600k series. (In intel, I don't know for AMD series)
Some overclocking could definitively improve the ups at this point. It could reach close 5GHz (if you didn't forget the proper cooling).
Also, a high ram speed (DDR4 at 3200+ MHz and 16Gb at least) and a good MB are recommended


But for this specific issue, I agree with Rseding91 ... you have reached a point where no computer can handle the load at 60 ups
nuhll
Filter Inserter
Filter Inserter
Posts: 958
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: multicore processor

Post by nuhll »

hey, one quick dirty "fix" would be to decrease the speed taht the game runs. So your computer has more time to display it. Everything will be slower, but you have more fps and its playable again. :D

https://wiki.factorio.com/Console#Change_game_speed
fochristo
Inserter
Inserter
Posts: 27
Joined: Fri Dec 02, 2016 12:40 pm
Contact:

Re: multicore processor

Post by fochristo »

Is there a way to intentionnaly optimize cpu usage when building a base ?

By example: Is it better to use underground belt instead of belts when it's possible ?
christian
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Fri Jun 08, 2018 12:44 am
Contact:

Re: multicore processor

Post by christian »

Can you tell us what your SPM is? it's obvious why your friend has a higher UPS, his CPU has a higher ghz speed per core. Also Factorio already runs some tasks on other cores, if you want to see for yourself, go to windows task manager, change the CPU affinity of Factorio to use only one core and see how drastically your UPS drops.
elvaleto
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Jul 15, 2018 6:58 am
Contact:

Re: multicore processor

Post by elvaleto »

christian wrote:Can you tell us what your SPM is? it's obvious why your friend has a higher UPS, his CPU has a higher ghz speed per core. Also Factorio already runs some tasks on other cores, if you want to see for yourself, go to windows task manager, change the CPU affinity of Factorio to use only one core and see how drastically your UPS drops.
just tried to do so, as a result, instead of 17/17 fps / ups
began to swim about 10/13 - 15/16
but if you stand still and do not move, then 16/16 is stable

if set 2 cores, nothing change,
probably factorio use only 2 cores, but prefer 1.
christian
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Fri Jun 08, 2018 12:44 am
Contact:

Re: multicore processor

Post by christian »

What's your SPM? also yes the main core of the game only uses one core, but it uses other cores for other tasks. Just search the forum for multi core and you'll see the answers why.
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2406
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: multicore processor

Post by Jap2.0 »

nuhll wrote:hey, one quick dirty "fix" would be to decrease the speed taht the game runs. So your computer has more time to display it. Everything will be slower, but you have more fps and its playable again. :D

https://wiki.factorio.com/Console#Change_game_speed
No, UPS is the issue, and FPS is locked so that it can't go above UPS.
There are 10 types of people: those who get this joke and those who don't.
christian
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Fri Jun 08, 2018 12:44 am
Contact:

Re: multicore processor

Post by christian »

Jap2.0 wrote:
nuhll wrote:hey, one quick dirty "fix" would be to decrease the speed taht the game runs. So your computer has more time to display it. Everything will be slower, but you have more fps and its playable again. :D

https://wiki.factorio.com/Console#Change_game_speed
No, UPS is the issue, and FPS is locked so that it can't go above UPS.
He probably read that somewhere on a multiplayer server lag issue. I agree it doesn't apply here.
Dergonic
Inserter
Inserter
Posts: 46
Joined: Mon Jun 06, 2016 8:56 am
Contact:

Re: multicore processor

Post by Dergonic »

fochristo wrote:Is there a way to intentionnaly optimize cpu usage when building a base ?

By example: Is it better to use underground belt instead of belts when it's possible ?
Yes, there are some
- Get energy from Solar panel/batteries. There are acting as 1 system and are very UPS friendly
- Avoir fluids as much as possible. Fluids and pipes are very UPS consuming
- Use higher tier building instead of several low level (factories, ...). "Get more ressource froms less machines"
- In the same idea, use modules/beacon to get the maximum from each of your assembly machines
- Splitter and chest are quite UPS unfriendly. Avoid them if you can



- Relating Bots vs Belt in a matter of UPS, I've read all and the opposite. So I still don't know which is the best for UPS.
elvaleto
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Jul 15, 2018 6:58 am
Contact:

Re: multicore processor

Post by elvaleto »

Dergonic wrote:
fochristo wrote:Is there a way to intentionnaly optimize cpu usage when building a base ?

By example: Is it better to use underground belt instead of belts when it's possible ?
Yes, there are some
- Get energy from Solar panel/batteries. There are acting as 1 system and are very UPS friendly
- Avoir fluids as much as possible. Fluids and pipes are very UPS consuming
- Use higher tier building instead of several low level (factories, ...). "Get more ressource froms less machines"
- In the same idea, use modules/beacon to get the maximum from each of your assembly machines
- Splitter and chest are quite UPS unfriendly. Avoid them if you can



- Relating Bots vs Belt in a matter of UPS, I've read all and the opposite. So I still don't know which is the best for UPS.
or i can use other game for better optimisation.
Locked

Return to “Not a bug”