rfjakob

Results 370 comments of rfjakob

Hmm, I don't know what's going on on /Volumes/Organizer, but on my Synology SMB mount, there's more that 1 second resolution: ``` $ touch foo ; stat foo | grep...

Does it always round **down** to the next second? If it does, we can do * If mtime_stored and mtime_actual are completely identical (including nanoseconds) => consider equal * If...

PS: The difference to just checking if the mtimes are less than 100ns (or 1s) apart is that we only consider something equal when it has zeros in the end,...

Seems like the psi (pressure stall information) was merged recently: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eb414681d5a07d28d2ff90dc05f69ec6b232ebd2 It should bei in linux 4.20. This would probably the best source of information when to start killing things,...

Once my distribution has it, yes! (Fedora)

:) Reading through https://lwn.net/Articles/759781/ , one problem with psi may be that you have to wait for the thrashing to happen before you can react. Maybe earlyoom will look at...

I guess same as before, highest oom_score

Good catch. I guess this means we should use "total" instead of the averaged number.

Yes exactly, you check if it increases

I have tested a few things with PSI, and it seems pretty difficult to do "the right thing". The difficult example is this: https://github.com/rfjakob/earlyoom/blob/master/contrib/oomstat/loadshift.txt You have an app that uses...