linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Vlastimil Babka <vbabka@suse.cz>
To: Simon Kirby <sim@hostway.ca>
Cc: Michal Hocko <mhocko@suse.cz>,
	Ralf-Peter Rohbeck <Ralf-Peter.Rohbeck@quantum.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
	Oleg Nesterov <oleg@redhat.com>,
	Vladimir Davydov <vdavydov@parallels.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Markus Trippelsdorf <markus@trippelsdorf.de>,
	Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>,
	Jiri Slaby <jslaby@suse.com>, Olaf Hering <olaf@aepfle.de>,
	Joonsoo Kim <js1304@gmail.com>, linux-mm <linux-mm@kvack.org>
Subject: Re: More OOM problems
Date: Mon, 31 Oct 2016 22:41:30 +0100	[thread overview]
Message-ID: <cda7adea-6ba0-c2d1-baf0-bae388950360@suse.cz> (raw)
In-Reply-To: <20161030041723.GA4767@hostway.ca>

On 10/30/2016 05:17 AM, Simon Kirby wrote:
> On Tue, Oct 11, 2016 at 09:10:13AM +0200, Vlastimil Babka wrote:
> 
>> Great indeed. Note that meanwhile the patches went to mainline so
>> we'd definitely welcome testing from the rest of you who had
>> originally problems with 4.7/4.8 and didn't try the linux-next
>> recently. So a good point would be to test 4.9-rc1 when it's
>> released. I hope you don't want to discover regressions again too
>> late, in the 4.9 final release :)
> 
> Hello!
> 
> I have a mixed-purpose HTPCish box running MythTV, etc. that I recently
> upgraded from 4.6.7 to 4.8.4. This upgrade started OOM killing of various
> processes even when there is plenty (gigabytes) of memory as page cache.

Hmm, that's too bad.

> This is with CONFIG_COMPACTION=y, and it occurs with or without swap on.
> I'm not able to confirm on 4.9-rc2 since nouveau doesn't support NV117
> and binary blob nvidia doesn't yet like the changes to get_user_pages.

Please try once it starts liking the changes.
Actually this kernel-interface part of the driver isn't binary blob
AFAIK, so it should be possible to adapt it?

> 4.8 includes "prevent premature OOM killer invocation for high order
> request" which sounds like it should fix the issue, but this certainly
> does not seem to be the case for me. I copied kern.log and .config here:
> http://0x.ca/sim/ref/4.8.4/

Looks like the available high-order pages are only as part of the
highatomic reserves. I've checked if there might be some error in the
functions deciding to reclaim/compact where they would wrongly decide
that these pages are available, but it seems fine to me.

> I see that this is reverted in 4.9-rc and replaced with something else.
> Unfortunately, I can't test this workload without the nvidia tainting,
> and "git log --oneline v4.8..v4.9-rc2 mm | grep oom | wc -l" returns 13.
> Is there some stuff I should cherry-pick to try?

Well, there were around 10 related patches, so I would rather try to
adapt the nvidia code first, if possible.

In any case, it's still bad for 4.8 then.
Can you send /proc/vmstat from the system with an uptime that already
experienced at least one such oom?

> Simon-
> 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2016-10-31 21:41 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <eafb59b5-0a2b-0e28-ca79-f044470a2851@Quantum.com>
     [not found] ` <20160930214448.GB28379@dhcp22.suse.cz>
     [not found]   ` <982671bd-5733-0cd5-c15d-112648ff14c5@Quantum.com>
2016-10-11  6:44     ` Michal Hocko
2016-10-11  7:10       ` Vlastimil Babka
2016-10-30  4:17         ` Simon Kirby
2016-10-31 21:41           ` Vlastimil Babka [this message]
2016-10-31 21:51             ` Vlastimil Babka
2016-09-18 20:03 Linus Torvalds
2016-09-18 20:26 ` Lorenzo Stoakes
2016-09-18 20:58   ` Linus Torvalds
2016-09-18 21:13     ` Vlastimil Babka
2016-09-18 21:34       ` Lorenzo Stoakes
2016-09-19  8:32   ` Michal Hocko
2016-09-19  8:42     ` Lorenzo Stoakes
2016-09-19  8:53       ` Michal Hocko
2016-09-25 21:48         ` Lorenzo Stoakes
2016-09-26  7:48           ` Michal Hocko
2016-09-18 21:00 ` Vlastimil Babka
2016-09-18 21:18   ` Linus Torvalds
2016-09-19  6:27     ` Jiri Slaby
2016-09-19  7:01     ` Michal Hocko
2016-09-19  7:52       ` Michal Hocko
2016-09-19  1:07   ` Andi Kleen
     [not found]     ` <alpine.DEB.2.20.1609190836540.12121@east.gentwo.org>
2016-09-19 14:31       ` Andi Kleen
2016-09-19 14:39         ` Michal Hocko
2016-09-19 14:41         ` Vlastimil Babka
2016-09-19 18:18           ` Linus Torvalds
2016-09-19 19:57           ` Christoph Lameter
2016-09-18 22:00 ` Vlastimil Babka
2016-09-19  6:56   ` Michal Hocko
2016-09-19  6:48 ` Michal Hocko
2016-09-21  7:04 ` Raymond Jennings
2016-09-21  7:29   ` Michal Hocko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cda7adea-6ba0-c2d1-baf0-bae388950360@suse.cz \
    --to=vbabka@suse.cz \
    --cc=Ralf-Peter.Rohbeck@quantum.com \
    --cc=a.miskiewicz@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=js1304@gmail.com \
    --cc=jslaby@suse.com \
    --cc=linux-mm@kvack.org \
    --cc=markus@trippelsdorf.de \
    --cc=mhocko@suse.cz \
    --cc=olaf@aepfle.de \
    --cc=oleg@redhat.com \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    --cc=sim@hostway.ca \
    --cc=torvalds@linux-foundation.org \
    --cc=vdavydov@parallels.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox