Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1483399imm; Fri, 7 Sep 2018 00:40:33 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb6WxI08Om/Uurmu6/KMNl24xvE9lsbRfrM6cpJoZfGlMlReQiT2aZaz1XgBS+0O50HGWR3 X-Received: by 2002:a62:2459:: with SMTP id r86-v6mr7131479pfj.31.1536306033264; Fri, 07 Sep 2018 00:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536306033; cv=none; d=google.com; s=arc-20160816; b=By4RUu+uE6KwL5sf7dnmcbkw9+0gr92aS6Sz0ccBzEeIegD2qGxL6wqK1+dBIo5Rvn Z4XNolnr+X4whUfekQvOIl1hX3iqRSSLYPLEFW0ueCJ0pJMRZHVaBXoPjNQw/aSaf3h9 2MrAKscA6qzu2RSpSjxVJHyOuttu9z8x312flp83aZq5b9z8ruCBgkZwhha0esbr0+Lb z0SZtgBVecmiCuZfEvsBFoEHWX6cfbLQPN9b5FQEasrN9HtkM5MF6MGwWhP28We8Tf9n 2i2c3tH7vLuo89JKWk0BugPONIX2TQjSz/NdTlujmfXnLqaZ6Zh+1WGTg/3LqaBfitD1 KbeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=r8ccPo/7uRlB+FgFLfDdo+e5tdArx5VEGHE51bjxrEE=; b=M+fsfsjXyKjQdmjOAMOvoE6edqeewuZ9yahfJuQw4Vx1oKZkLc7l2IIWLgDU41hb10 FI0YAbGRrrYbzKFsH5otyy5eF0OnS+VLkM2Eba/yKop8KIzkeeEF8ZwSohX+e6vtORfL 3UxaYCoYy8wFdBlkmlrOEfLYbNzWwtx5aYf8wo18SteeSmiOOVcDaqxN5ivkf8evr+lm AzLYhsnm7tPVALBVs58uiTizmN8r8wNO+LEAD7W9bPpsAvFvwdqndqp9rvcqmhqhM825 fl1AXv3zrzKSWR+pl7cDpxsoNM6HpycFdP5oPG/kiii4I4EtxRGVwSeh4uXBOfK+7Vrw em1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=kpQXdqNT; 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 u2-v6si7100687pge.585.2018.09.07.00.40.17; Fri, 07 Sep 2018 00:40:33 -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; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=kpQXdqNT; 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 S1727672AbeIGMQi (ORCPT + 99 others); Fri, 7 Sep 2018 08:16:38 -0400 Received: from mail-qt0-f179.google.com ([209.85.216.179]:35204 "EHLO mail-qt0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726237AbeIGMQi (ORCPT ); Fri, 7 Sep 2018 08:16:38 -0400 Received: by mail-qt0-f179.google.com with SMTP id j7-v6so15332681qtp.2 for ; Fri, 07 Sep 2018 00:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=r8ccPo/7uRlB+FgFLfDdo+e5tdArx5VEGHE51bjxrEE=; b=kpQXdqNTGkxpHlUhmQ0QdSFCfd6m7vVvZgwSxWboGJ1gn5rlg4ycazarMfwbxC9HoD kHT9ddJ24h6qxEwSQyH3aorgIT2X43MwLFf0q9aKG8VFppYBaOEimhmDRWFyN6x4yZ2i 2D9Ie3cpMRVvNQawQi9KtM4SfHvlBBNfxN+0mq1mYsKGCv32jwzXxM/jRlwu0V2s6DQU y5usao1+PGUDUFjW6qhPz0EHGu4aeOfhV6ZYTbktSi0WEZHuYb7LmV+QSU7Wnvc+0jZI tbAQIhLLv7IzO4WP+S65IOandeUKJlwy1aMbRnOMv4yjRPtkDE5bm707GJACjGSqMPVP 2T4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=r8ccPo/7uRlB+FgFLfDdo+e5tdArx5VEGHE51bjxrEE=; b=VlOWY4o3bPm7BVmwAxsC0mmY6xA2+VL7xqO/57+tR5RN0BLEm5aZFGkYhHqhEsXLhU FutBoJICs9NXBiQ1M7PMWBvi8zKymEVMauvtMIOqQbXuy070hvKhnRZVz/11FRXOjyeH DteivnG4Q9k7VihVR8Gg+RjO0Ov4Y69JkTTuTrRfNNvElmT0GOqrWOoG/+ft5b4YXIYN UTLQCsYSUO6chrrGDbP0sFwizlSZ96wYuxARokKdfoy5tAlQI7mRx+c3rCfUcExDgvP5 U92GS916ctE0KmVWendJQR8tdH0V3rnQL1evVF+IBop7AqrQ6lhbINBe6VutfaR5SLIM grcw== X-Gm-Message-State: APzg51BzPBMFCGX6uINQd/+btRVMCcSdpTO9R80Ng24LF9KT7HnoSobx WBCtMhOJ2zzxwfwk2fy8/cNml60IRS7oC1zv5Yi8KQ== X-Received: by 2002:a0c:bfe3:: with SMTP id u32-v6mr4844463qvj.172.1536305817171; Fri, 07 Sep 2018 00:36:57 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac8:147:0:0:0:0:0 with HTTP; Fri, 7 Sep 2018 00:36:56 -0700 (PDT) In-Reply-To: <20180905214303.GA30178@cmpxchg.org> References: <20180828172258.3185-1-hannes@cmpxchg.org> <20180905214303.GA30178@cmpxchg.org> From: Daniel Drake Date: Fri, 7 Sep 2018 15:36:56 +0800 Message-ID: Subject: Re: [PATCH 0/9] psi: pressure stall information for CPU, memory, and IO v4 To: Johannes Weiner Cc: Ingo Molnar , Peter Zijlstra , Andrew Morton , Linus Torvalds , Tejun Heo , Suren Baghdasaryan , Vinayak Menon , Christopher Lameter , Peter Enderborg , Shakeel Butt , Mike Galbraith , linux-mm@kvack.org, cgroups@vger.kernel.org, Linux Kernel , kernel-team@fb.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 6, 2018 at 5:43 AM, Johannes Weiner wrote: > Peter, do the changes from v3 look sane to you? > > If there aren't any further objections, I was hoping we could get this > lined up for 4.20. That would be excellent. I just retested the latest version at http://git.cmpxchg.org/cgit.cgi/linux-psi.git (Linux 4.18) and the results are great. Test setup: Endless OS GeminiLake N4200 low end laptop 2GB RAM swap (and zram swap) disabled Baseline test: open a handful of large-ish apps and several website tabs in Google Chrome. Results: after a couple of minutes, system is excessively thrashing, mouse cursor can barely be moved, UI is not responding to mouse clicks, so it's impractical to recover from this situation as an ordinary user Add my simple killer: https://gist.github.com/dsd/a8988bf0b81a6163475988120fe8d9cd Results: when the thrashing causes the UI to become sluggish, the killer steps in and kills something (usually a chrome tab), and the system remains usable. I repeatedly opened more apps and more websites over a 15 minute period but I wasn't able to get the system to a point of UI unresponsiveness. Thanks, Daniel