[0.15.x] "micro"-freezes, possibly disk related?

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.
Phizzikus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat May 06, 2017 12:34 pm
Contact:

[0.15.x] "micro"-freezes, possibly disk related?

Post by Phizzikus »

Hi,

ever since 0.15 I experience "micro"-freezes, where the game runs smoothly for a few seconds with UPS=60/FPS=60, then both drop to around ~55-57, which causes the game to freeze for <1sec then it runs smoothly on the lower UPS/FPS for 1-2 sec and then they would return back to 60/60 without a freeze for a few seconds before going through the same process over and over again. This is also not happening for every game session, as in a few occasions this just would not happen in the same save. I tried to turn down the graphics settings, however a real difference is only observed for the lowest setting...

Here it is running on 60/60:
Image
and here the drop
Image

I noticed, that everytime the drop occurs, a spike in disk usage happens (C:\ is system, on K:\ factorio is installed, both SSD's):
Image
both the spikes on C and K seem to correlate with the freezes...
cpu and gpu aren't fully under load as can be seen here:
ImageImage
however a 1-3% spike in the total cpu load can be observed when the freezes occur.

I have attached the save file and the log from the last session

my system:
Windows 7
Intel i5-3560 @ 3.4GHz
Nvidea GeForce 660Ti 2GB Ram
16GB Memory

this problem might be related to viewtopic.php?f=173&t=45236, but to me it seems different and none of the possible fixes I read in the forums worked (e.g. enabling/disabling vsync and so on)
Attachments
post 0.15 b.zip
(29.87 MiB) Downloaded 129 times
factorio-current.log
(3.23 KiB) Downloaded 183 times
kazui
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat May 06, 2017 8:05 pm
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by kazui »

Just updated from 0.14.23 to 0.15.9
I understand that not stable release but have the same problems at high and medium settings.
wonder if that 660ti problem as i have same GPU

i7 4770k 4,6ghz
32gb RAM
asus NvidiaGF 660ti 2gb direct cu II
Windows 8.1 64x
game installed on SSD drive
inkognyto
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sat May 06, 2017 11:42 pm
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by inkognyto »

I also get them and I have a Geforce 660 SC

However I believe it's save related.

Remember going to .15 reset some of the settings, including autosaves. I changed mine to 15 min from every 2 min.

It does freeze me for about 3-4seconds on every autosave.
Phizzikus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat May 06, 2017 12:34 pm
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by Phizzikus »

this happens every few seconds and as the minimum interval for autosave is 1min I do not believe this is related
kazui
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat May 06, 2017 8:05 pm
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by kazui »

ok i think i fixed that for me by playing with " video memory usage" setting just lowering it to medium and still using HD sprites. But it very interesting as GPU-Z showing only 1.5gb usage total on "all" and "high" values of that setting and 900mb on medium which work fine.
my vision of problem is game loading some "bugged" huge textures sheets on higher "video memory usage" settings or just we all need upgrade GPU's :)
Phizzikus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat May 06, 2017 12:34 pm
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by Phizzikus »

what really bugs (haha...) me here is that there seems to be well enough memory left and that the SSD load spikes everytime these freezes occur while GPU load stays stable... I might see ghosts here, but who knows. Maybe some assets are loaded from disk to memory and vice versa? (I really don't know enough about this, obviously :D)
kazui
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat May 06, 2017 8:05 pm
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by kazui »

another test on GF GTX 1070 8gb - on high settings of textures and all memory usage setting factorio works fine without this SSD spike, GPU-Z showing 2.2gb usage so it can be reason.Tested on my system just borrowed GPU from my friend.
Phizzikus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat May 06, 2017 12:34 pm
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by Phizzikus »

well, the question then might be what happens to the "missing" 700mb memory?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14597
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by Rseding91 »

We load all video assets into RAM on startup no matter what setting you use.

So, if something is going to disk it's outside our control (video card drivers/OS stuff).
If you want to get ahold of me I'm almost always on Discord.
Twinsen
Factorio Staff
Factorio Staff
Posts: 1359
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by Twinsen »

Take a look at the number of hard faults in Performance Monitor's Memory tab(from factorio, but maybe other processes also). The hard faults are probably the disk activity you are seeing.
Aeternus
Filter Inserter
Filter Inserter
Posts: 835
Joined: Wed Mar 29, 2017 2:10 am
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by Aeternus »

Additionally, Factorio can be a bit of a memory hog, causing Windows to put some of it in a page file even if you've got more then enough RAM free (which defeats pre-loading assets into RAM by pushing them back to disk) You've got 32 GB, and considering Factorio is 64 bit, no 4GB addressing limit. Try disabling your paging file if you haven't already, see if that speeds things up.

[Edit] If it does speed things up, do a health check on the hard drive or raid array that currently hosts the page file. Slow access times or slower throughput can indicate a disk that will fail soon.
Steambirds
Burner Inserter
Burner Inserter
Posts: 15
Joined: Mon Jul 11, 2016 4:34 am
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by Steambirds »

I am experiencing this issue myself, but I am running 2048MB ATI AMD Radeon 5450. I'm not sure what is causing this issue myself.
Double_DeluXe
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Sep 02, 2015 4:13 pm
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by Double_DeluXe »

I am also experiencing these micro freezes.
One is connected to the crafting menu, switching between logistics, production etc. for the first time after loading a game will guaranteed give me a micro freeze.
solntcev
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Tue Jun 21, 2016 8:37 am
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by solntcev »

I have same issue with GTX 660 2Gb

It can be related to video-memory usage. Vanilla game display such slowdowns if it was launched after other game (Rainbow6 or Titanfall), but works consistently 60 fps after reboot.
Modded (full bobs + angels) game display slowdowns on "high" quality settings, but plays normally on "normal".
jtorraca
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sat May 06, 2017 2:40 am
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by jtorraca »

I am also experiencing this issue on macOS with Intel HD 6100 graphics.

Log file: https://pastebin.com/vKLpZ0cU
User avatar
Jon8RFC
Filter Inserter
Filter Inserter
Posts: 554
Joined: Tue May 10, 2016 3:39 pm
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by Jon8RFC »

I had this issue as well starting with 0.15.9 (I think 9, not 10), but had zero issues before. However, I didn't play on my save from 0.15.5-0.15.8, so I don't know if it would've started then.

For me, I noticed a spike in PF delta for factorio.exe each time this happened. Doing one of two things improved this:
Changing sprite resolution from High to Normal.
OR
Changing memory usage from High to All.

It seems like some video memory management differences with non-beefy graphics hardware when using the "high" setting. When loading the game with "high", I can see in gpu-z that more of the gpu memory is in use initially, and after loading the save more dynamic is in use; with "all" it relies on the dynamic memory primarily. The process memory usage is significantly lower with "all" as well, which is odd.

memory setting high (screenshot was during the bad stutter):
http://imgur.com/a/KRoLK

memory setting all:
http://imgur.com/a/jLThk


Windows7
8gb ram
HD5870 1gb
Q9550 @ 3.8ghz
Image
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15.x] "micro"-freezes, possibly disk related?

Post by kovarex »

solntcev wrote:I have same issue with GTX 660 2Gb

It can be related to video-memory usage. Vanilla game display such slowdowns if it was launched after other game (Rainbow6 or Titanfall), but works consistently 60 fps after reboot.
Modded (full bobs + angels) game display slowdowns on "high" quality settings, but plays normally on "normal".
In this case the solution is simple. Don't play on high settings. Playing on High and with bigger mods ... It depends on the mods size, but less than 4GB of vram is risky.
Locked

Return to “Technical Help”