Page 1 of 1

multicore processor

Posted: Sun Jul 15, 2018 10:08 am
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

Re: multicore processor

Posted: Sun Jul 15, 2018 10:53 am
by Rseding91
Thanks for the report however you've simply built beyond what any computer can handle (regardless of CPU core utilization).

Re: multicore processor

Posted: Tue Jul 17, 2018 8:05 pm
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.

Re: multicore processor

Posted: Tue Jul 17, 2018 9:17 pm
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.

Re: multicore processor

Posted: Tue Jul 17, 2018 9:41 pm
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.

Re: multicore processor

Posted: Wed Jul 18, 2018 10:48 am
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?

Re: multicore processor

Posted: Wed Jul 18, 2018 11:59 am
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

Re: multicore processor

Posted: Wed Jul 18, 2018 2:28 pm
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

Re: multicore processor

Posted: Wed Jul 18, 2018 2:46 pm
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 ?

Re: multicore processor

Posted: Wed Jul 18, 2018 2:56 pm
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.

Re: multicore processor

Posted: Wed Jul 18, 2018 3:52 pm
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.

Re: multicore processor

Posted: Wed Jul 18, 2018 4:47 pm
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.

Re: multicore processor

Posted: Wed Jul 18, 2018 8:54 pm
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.

Re: multicore processor

Posted: Thu Jul 19, 2018 12:08 am
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.

Re: multicore processor

Posted: Thu Jul 19, 2018 6:18 am
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.

Re: multicore processor

Posted: Thu Jul 19, 2018 6:56 pm
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.