Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4458267ybh; Tue, 6 Aug 2019 12:01:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJjRmgd5wmtArfEdvnGuoTdnh+jqo/Y3akJ4JWEPLE0L53h0ZLwoH8/9ObJ+jQBHiWThMU X-Received: by 2002:a17:902:b70c:: with SMTP id d12mr4365103pls.314.1565118117395; Tue, 06 Aug 2019 12:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565118117; cv=none; d=google.com; s=arc-20160816; b=sLI0vF9jmNh8yjh+BG4AXHh2U3cYcKiAPDzB0OmJ3dNGyoIlerDQeVgpiF3WJ04vxn XWoLDb9RhOn2HpcT75nh6fZceB5vPrr1e4j7V04n/KBPWQEvQbVwt6hoTc+W+a9Bgpie SsmIHDhg2Bs/UF1H0gKeLePDKb0znQY0FIuw3USJrS85LKlGySlG45demQXyi+Kn+ZA+ qKSEO4IGpUbqK/xVbqs7dO98kys9yfQybYQ/Cf4V3tXlG2i2rx6PmN+Nu7hZMjbZzsSA eaXqjKH4gX5kCbQ0o3f3JaSG8vDQ1k1CvSv8X1xxMMQdQA5IrsNGQZ8Tg9rcd8nSJcmg +s8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to:date :references:subject:cc:to:from; bh=06Vxtr2Wc/eDVW5tuEvJPvh+yz73HGZIHg+aJ7zQxXM=; b=bPVfAPqVENGVZ/Xsk/liKWg3/FIxejJx4d5ltu15MA0SSr5IK4dt7UnLNjY3ncZW9v zdbd41ZVTS7rHZ6wmh6ZeFlK5dCgytcR7VVP/YQM8RBDOvVXIyj2IKDJg7TktW4ANBVa LBbGiX+mm7Y7m+dLSByluc1bcBRan2VKsJO3sIDPg29doMot3l6IZtiSXa5JBM8oFqQf A39F/suqraIZOUV/CEstjD9NYScsHzivrfo7K2bLHyv4eqOE5tolZ5YFx3MRfZQukJSW paizSlrSZla0ZiaNg4wpErmdJzwbIVFQlUYbz5mjHgmQfnFW/UoLnTQzBgevs7bHNIDj nIHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si45363425plt.244.2019.08.06.12.01.41; Tue, 06 Aug 2019 12:01:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726485AbfHFTAZ (ORCPT + 99 others); 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.