Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp9775625ybc; Sat, 30 Nov 2019 14:12:36 -0800 (PST) X-Google-Smtp-Source: APXvYqwG4P5LzeahLua527yLZJvPw6sXt5VRjUJb4ADCe7stteHbhMO58Q7/UI5uvC1rS3ewc/3s X-Received: by 2002:a17:906:4d46:: with SMTP id b6mr7791406ejv.79.1575151956308; Sat, 30 Nov 2019 14:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575151956; cv=none; d=google.com; s=arc-20160816; b=0KWjZ+79R05jPWblBb6XEiUMFk8Uc97SMLCWXC+jLziHh9pzy67MzWg3hJKCt+Ic5Q Qcn6pRNrJYyDrs87HzlFc011Y9U4FR359V357TtV3nHsqzUnl/O6/wTxC6O7kTO8VE2/ s8qcQJHSaO3Kxms22YL3QWZ4svcqxgIKOqE+OqNC98c31+pOxq+NtjK9CgrF36FPpIBJ yEm4CYkgBuoonTkdqZP3NNe6OZHI5yXYhGj3LHT3IBMGL075p+rne/JB1aUFESCJpGIS GugfbgVIpf9QcnyjDqRsJfmGtNK4/vHYoDLLpcJ5S1he7uVHzgls2zont+XA8CZtbCVN dgpQ== 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 :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=eTOcRHKLVTIf/hNSsAJQhSFwzv7HtDnGOEZ53CiqypY=; b=hDZe6SWcS7ZgIxfJZygCVKGk/0ifw5rP6DabtdcYdfoDtQqceF3PzzMO1r9GaEDLYm EAKteaZK+2EwakekBP38CV2dJc6j20HC96cmbnfp/gIf6ERtzMZQfW8sZzUtBJZSBPLl BFnMHKU16WLJe4zucAyoGPk9xsbIg385O1+d7D+Z/4WreMG9La/pzik0RDQk1JrcHvDS bAhgiRZf2uKd1zPgQCxZhC3ZytYISK2kiCE1jdPeOLRQi8xo3QdhU+7gdUImRZ7rcTwS zWLniEoUJlgylPYkBfeXXNrFxUCUJX6GEVp1DSZEI4afT7bmTuLfrwHJ1yJcy3jMXmav tShA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cpU80jrN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y9si17686174edp.442.2019.11.30.14.12.11; Sat, 30 Nov 2019 14:12:36 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=cpU80jrN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727298AbfK3WJK (ORCPT + 99 others); Sat, 30 Nov 2019 17:09:10 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:33094 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727201AbfK3WJJ (ORCPT ); Sat, 30 Nov 2019 17:09:09 -0500 Received: by mail-lj1-f194.google.com with SMTP id 21so3962274ljr.0 for ; Sat, 30 Nov 2019 14:09:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=eTOcRHKLVTIf/hNSsAJQhSFwzv7HtDnGOEZ53CiqypY=; b=cpU80jrNhhow8HKxdTrfNuv1XhrQc4cvkYn4J6NoK+jQeD+QRvFP3WyiURUOam6fOh chNctwfWENtXdT5/+QQKF4vjhHiwpaxhJt4yqy1xM0JS3uqKFMcLN0bw4x8gsYhq7aS+ k5NfX1yDzxb+UG2IIs9b+G4Xsd/yvejGwxE2R3OePUrUFQf2rEyvRLXqkZ5GRov/g3mj sF9TiPW41BX6Ak5T9xrId2add38+Ze05aHaK2YJO5JUIvtutbuB9WnKztrYJi6kJFIHY OlO353l8PGuMf6Vj5uKNZKIDarxEJANtdA4tMTwSqDG9/lml5CGMwm16pV6Ai7teHa/Z ST1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=eTOcRHKLVTIf/hNSsAJQhSFwzv7HtDnGOEZ53CiqypY=; b=PBZ2AYz+i8f9hdfibjIIwHs0OSAjOERFR2mxZd6ESX8//eTnnggiUyEuM0SlJhspDj I7DXfguT6F43R265argKpsZWly4qz+ayIhFIKZAgnCsGu4qvd+VAX8Od9A9ygK0I61Vo bZdm/kC2uFhOfAfwu6htIx7nAktIFey/KxxK2VB52AdQil1wHJhUWWY+2Onu6U2zCm2N 5733NLsfEqhmVdcEZWfs/dz43QS/zIOwyWNo4RME7gPS68AFbP4XAOowW+D4GMhDlXjn ox//2e2ydD559M18MulfJkeKnkVxrM2GOlotF46P+6HPIj6j3j6c+AgMI/yH5r+apub4 20UA== X-Gm-Message-State: APjAAAXynjgrIEF7PDigEzBEw+LC/Sj5IaX0cpkTpD25mfeglExHTkY3 q/qAdLvGSyIhpiCO9ls4RsnRCf5ugQ8DLnhOGrA= X-Received: by 2002:a2e:9ec4:: with SMTP id h4mr4028621ljk.77.1575151747219; Sat, 30 Nov 2019 14:09:07 -0800 (PST) MIME-Version: 1.0 References: <20191127005312.GD20422@shao2-debian> <20191130212729.ykxstm5kj2p5ir6q@linux-p48b> In-Reply-To: <20191130212729.ykxstm5kj2p5ir6q@linux-p48b> Reply-To: mceier@gmail.com From: Mariusz Ceier Date: Sat, 30 Nov 2019 22:08:56 +0000 Message-ID: Subject: Re: [x86/mm/pat] 8d04a5f97a: phoronix-test-suite.glmark2.0.score -23.7% regression To: Davidlohr Bueso Cc: kernel test robot , Ingo Molnar , Davidlohr Bueso , Thomas Gleixner , Peter Zijlstra , Borislav Petkov , Linus Torvalds , LKML , lkp@lists.01.org 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 Contents of /sys/kernel/debug/x86/pat_memtype_list on master (32ef9553635ab1236c33951a8bd9b5af1c3b1646) where performance is degraded: PAT memtype list: write-back @ 0x55ba4000-0x55ba5000 write-back @ 0x5e88c000-0x5e8b5000 write-back @ 0x5e8b4000-0x5e8b5000 write-back @ 0x5e8b4000-0x5e8b8000 write-back @ 0x5e8b7000-0x5e8bb000 write-back @ 0x5e8ba000-0x5e8bc000 write-back @ 0x5e8bb000-0x5e8be000 write-back @ 0x5e8bd000-0x5e8bf000 write-back @ 0x5e8be000-0x5e8c2000 write-back @ 0x5ef3c000-0x5ef3d000 write-back @ 0x5ef6c000-0x5ef6d000 write-back @ 0x5ef6f000-0x5ef70000 write-back @ 0x5ef72000-0x5ef73000 write-back @ 0x5f5b3000-0x5f5b5000 uncached-minus @ 0xe3f00000-0xe3f10000 uncached-minus @ 0xec000000-0xec040000 uncached-minus @ 0xec002000-0xec003000 uncached-minus @ 0xec110000-0xec111000 uncached-minus @ 0xec200000-0xec240000 uncached-minus @ 0xec260000-0xec264000 uncached-minus @ 0xec300000-0xec320000 uncached-minus @ 0xec326000-0xec327000 uncached-minus @ 0xf0000000-0xf8000000 uncached-minus @ 0xf0000000-0xf0001000 uncached-minus @ 0xfdc43000-0xfdc44000 uncached-minus @ 0xfe000000-0xfe001000 uncached-minus @ 0xfed00000-0xfed01000 uncached-minus @ 0xfed10000-0xfed16000 uncached-minus @ 0xfed90000-0xfed91000 uncached-minus @ 0x2000000000-0x2100000000 uncached-minus @ 0x2000000000-0x2100000000 uncached-minus @ 0x2100000000-0x2100001000 uncached-minus @ 0x2100001000-0x2100002000 uncached-minus @ 0x2ffff10000-0x2ffff20000 uncached-minus @ 0x2ffff20000-0x2ffff24000 Contents of /sys/kernel/debug/x86/pat_memtype_list after reverting 7f264dab5b60, 511aaca834fe, 6a9930b1c50d, 8d04a5f97a5f (in that order) which restores the performance: PAT memtype list: write-back @ 0x55ba4000-0x55ba5000 write-back @ 0x5e88c000-0x5e8b5000 write-back @ 0x5e8b4000-0x5e8b8000 write-back @ 0x5e8b4000-0x5e8b5000 write-back @ 0x5e8b7000-0x5e8bb000 write-back @ 0x5e8ba000-0x5e8bc000 write-back @ 0x5e8bb000-0x5e8be000 write-back @ 0x5e8bd000-0x5e8bf000 write-back @ 0x5e8be000-0x5e8c2000 write-back @ 0x5ef3c000-0x5ef3d000 write-back @ 0x5ef6c000-0x5ef6d000 write-back @ 0x5ef6f000-0x5ef70000 write-back @ 0x5ef72000-0x5ef73000 write-back @ 0x5f5b3000-0x5f5b5000 uncached-minus @ 0xe3f00000-0xe3f10000 uncached-minus @ 0xec000000-0xec040000 uncached-minus @ 0xec002000-0xec003000 uncached-minus @ 0xec110000-0xec111000 uncached-minus @ 0xec200000-0xec240000 uncached-minus @ 0xec260000-0xec264000 uncached-minus @ 0xec300000-0xec320000 uncached-minus @ 0xec326000-0xec327000 uncached-minus @ 0xf0000000-0xf0001000 uncached-minus @ 0xf0000000-0xf8000000 uncached-minus @ 0xfdc43000-0xfdc44000 uncached-minus @ 0xfe000000-0xfe001000 uncached-minus @ 0xfed00000-0xfed01000 uncached-minus @ 0xfed10000-0xfed16000 uncached-minus @ 0xfed90000-0xfed91000 write-combining @ 0x2000000000-0x2100000000 write-combining @ 0x2000000000-0x2100000000 uncached-minus @ 0x2100000000-0x2100001000 uncached-minus @ 0x2100001000-0x2100002000 uncached-minus @ 0x2ffff10000-0x2ffff20000 uncached-minus @ 0x2ffff20000-0x2ffff24000 Hope this helps (if you need the contents from commits exactly 8d04a5f97a5f and 8d04a5f97a5f~1, I can provide it, but it will take more time). Best regards, Mariusz Ceier On Sat, 30 Nov 2019 at 21:31, Davidlohr Bueso wrote: > > On Sat, 30 Nov 2019, Mariusz Ceier wrote: > > >I can also confirm this - just bisected framebuffer rendering > >performance regression on amdgpu and > >8d04a5f97a5fa9d7afdf46eda3a5ceaa973a1bcc is the first bad commit > >(leading to drop from around 260-300fps to about 60fps in CS:GO on > >Fury X). > > This is a third report now. Could you please provide the contents > of the following file, before and after the offending commit. > > /sys/kernel/debug/x86/pat_memtype_list > > This will show any attribute differences in the tree, which is likely > the culprit. > > Thanks, > Davidlohr