Received: by 10.213.65.68 with SMTP id h4csp49398imn; Thu, 5 Apr 2018 17:32:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx49xJA7RfSWz0flsgIc0Ju8f1Ab4AAvMDprml8uckH7juOM7U2v+24FH/YHCnvlSViydmFXg X-Received: by 10.99.52.134 with SMTP id b128mr16182198pga.342.1522974742016; Thu, 05 Apr 2018 17:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522974741; cv=none; d=google.com; s=arc-20160816; b=w+BEFYEMkDaYuU9I/qX7Mh6bthUwiH0jl2C0YWK2b4db3RZVHHwZeqFryJ+qIw1HXr rfAKUq+V88A3CGYIowuGI5OoyhZzAJCyjOR48kN5baoQyd6/I02qlJkHHHPUAY8NP/w7 4SG+MGz7IzIuDDVdkSSfaFfQQuBCdSEOdqrOn8dsqen++v4/zE2Mar59lTACIOsCmteq lbViAvC/8DGmqzKHphtoReE6RPBeEn4o6QLicd5qfPdwIgKnocAHMj7SBbb/bkgHj1Q8 2C38cFuI2XKk1n4r7llY+ATQSsefsuWnR90jtfHIqUiyyUlSjV9EhZSIF4411MzPAtkU DoLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:to:dkim-signature:arc-authentication-results; bh=GdppE8OS0Bu2TOjYi7H2RTN2FSb4VWvN5w4EMmm0f4k=; b=nAymvCrIy2xPbQ9O5dpn1OmU4AX9tK4Vlv3yPZPKaXg3gmhPgLievNlfd1+gY+jaNG OgovWGD50TIbn+nXrqBeocibAAOv7YaphNaL+YvDvFnrc4y+n/uY0TQz7EceGBn3sBR7 C0C67QRLac0DbpXJNtbIzQ4XGXtUe+Ssm310rfhO7F3g0a6ub8Mn1pW8ujn8BrIpdhnG KrnohTuzbbfgbG4wvQRczxcdNRLSPOgnpU1hfjiI6AXVE7a7znyd0l5gefFTA45+tf2n yXVBQ1Va9edLi/j4GHf/gPcr08myHfIZOm4dkSVViN25LVawafC5IhWlPj9R6NvhDusf O/3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mozilla.com header.s=google header.b=ah+oXN8r; 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=NONE dis=NONE) header.from=mozilla.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m24si6066862pgv.596.2018.04.05.17.32.08; Thu, 05 Apr 2018 17:32:21 -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=@mozilla.com header.s=google header.b=ah+oXN8r; 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=NONE dis=NONE) header.from=mozilla.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751412AbeDFAa7 (ORCPT + 99 others); Thu, 5 Apr 2018 20:30:59 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:38359 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751179AbeDFAa6 (ORCPT ); Thu, 5 Apr 2018 20:30:58 -0400 Received: by mail-qk0-f170.google.com with SMTP id 132so28341056qkd.5 for ; Thu, 05 Apr 2018 17:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla.com; s=google; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=GdppE8OS0Bu2TOjYi7H2RTN2FSb4VWvN5w4EMmm0f4k=; b=ah+oXN8rQzu4a24Q7pqngamtBd1p7Wl4qWcpwPYorZemxOpiufFsw9R+K7J59P4db2 ZV/oe7EwaO3e+QICwHtFyYfLXUTGClTECU3HyzryG1nw2Ycy2g2TobDfCNDK8Pykn8M1 QZc/PzL4FTbMfglY3pkwsN5cRRdVK1ozwf0fE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=GdppE8OS0Bu2TOjYi7H2RTN2FSb4VWvN5w4EMmm0f4k=; b=sR/YgDNJ6L5TpnQEMLHcIdZZmir270HzQPvq4sfWAUS9rxKIPAjAWuDVP54s4RuPso Xy/tHPX41SEYhac4DMe9JmXo5WbC42+HVPFExdcFR9PL0gTxBdBpie+WvjwI9Nm4A29U 7gSxzS/RfWv05bOKeXv6m7EkifG/mPxsKLhWoZyKub52twE7yZ91VVQPTuMywLTMhywp Waapc+8pvpsxhuA73Iz9uEa2A/sbCykD9v7n2rFpYvD2KoErH1wr6tK3JSCVD9+vmH82 7edCbKo79DTtIkY5QV69+xiBtm6tNqARKGf5gB097Lwk+7n1K9uqSPyHoYxFSLNtOS4G KFwg== X-Gm-Message-State: ALQs6tAk4xj6nnnY49vIAEQR0Kd7up9DE98I6XfISwFnXcwMnfqgm1lE oM6QfL6un1b3NK0yqpGMYWNAt4bAGinsAA== X-Received: by 10.55.100.139 with SMTP id y133mr32992576qkb.225.1522974657364; Thu, 05 Apr 2018 17:30:57 -0700 (PDT) Received: from obelix.jmvalin.ca (modemcable231.101-131-66.mc.videotron.ca. [66.131.101.231]) by smtp.gmail.com with ESMTPSA id l52sm7357798qtc.45.2018.04.05.17.30.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 17:30:56 -0700 (PDT) To: airlied@linux.ie, alexander.deucher@amd.com, christian.koenig@amd.com, Felix.Kuehling@amd.com, labbott@redhat.com, akpm@linux-foundation.org, michel.daenzer@amd.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org From: Jean-Marc Valin Subject: AMD graphics performance regression in 4.15 and later Message-ID: Date: Thu, 5 Apr 2018 20:30:55 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I noticed a serious graphics performance regression between 4.14 and 4.15. It is most noticeable with Firefox (tried FF57 through FF60) and causes scrolling to be really choppy/sluggish. I've confirmed that the problem is also there on 4.16, while 4.13 works fine. After a bisection, I've narrowed the regression down to this commit: commit 648bc3574716400acc06f99915815f80d9563783 Author: Christian König Date: Thu Jul 6 09:59:43 2017 +0200 drm/ttm: add transparent huge page support for DMA allocations v2 Some details about my system: Distro: Fedora 27 (up-to-date) Video: MSI Radeon RX 560 AERO CPU: Dual-socket Xeon E5-2640 v4 (20 cores total) RAM: 128 GB ECC As a comparison, when running Firefox with 4.15 on a Lenovo W540 laptop (with Intel graphics only) the responsiveness is much better then what I'm getting on the Xeon machine above with the Radeon card, so this really seems to be an AMD-only issue. Any way to fix the issue? Thanks, Jean-Marc