From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F614C433FF for ; Tue, 6 Aug 2019 19:00:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5FECD20C01 for ; Tue, 6 Aug 2019 19:00:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726510AbfHFTAZ (ORCPT ); Tue, 6 Aug 2019 15:00:25 -0400 Received: from albireo.enyo.de ([5.158.152.32]:52612 "EHLO albireo.enyo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbfHFTAY (ORCPT ); Tue, 6 Aug 2019 15:00:24 -0400 Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1hv4h3-0002lu-RA; Tue, 06 Aug 2019 19:00:21 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1hv4h3-0007iX-OO; Tue, 06 Aug 2019 21:00:21 +0200 From: Florian Weimer To: "Artem S. Tashkinov" Cc: linux-kernel@vger.kernel.org, linux-mm Subject: Re: Let's talk about the elephant in the room - the Linux kernel's inability to gracefully handle low memory pressure References: Date: Tue, 06 Aug 2019 21:00:21 +0200 In-Reply-To: (Artem S. Tashkinov's message of "Sun, 4 Aug 2019 09:23:17 +0000") Message-ID: <874l2u3yre.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Artem S. Tashkinov: > There's this bug which has been bugging many people for many years > already and which is reproducible in less than a few minutes under the > latest and greatest kernel, 5.2.6. All the kernel parameters are set to > defaults. > > Steps to reproduce: > > 1) Boot with mem=4G > 2) Disable swap to make everything faster (sudo swapoff -a) > 3) Launch a web browser, e.g. Chrome/Chromium or/and Firefox > 4) Start opening tabs in either of them and watch your free RAM decrease Do you see this with Intel graphics? I think these drivers still use the GEM shrinker, which effectively bypasses most kernel memory management heuristics.