From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: Massive power regression going 3.4->3.5 Date: Sun, 5 Aug 2012 22:36:33 +0200 Message-ID: <20120805203633.GA12232@phenom.ffwll.local> References: <1343727455.2930.0.camel@dabdike.int.hansenpartnership.com> <1343728466_21110@CP5-2952> <1343728630.12484.0.camel@dabdike.int.hansenpartnership.com> <1343729665_21195@CP5-2952> <1343762668_23120@CP5-2952> <1343808372.3047.1.camel@dabdike.int.hansenpartnership.com> <1343808986_25082@CP5-2952> <1343810704.2960.2.camel@dabdike.int.hansenpartnership.com> <1343811538_25213@CP5-2952> <1343815699.3192.1.camel@dabdike.int.hansenpartnership.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by gabe.freedesktop.org (Postfix) with ESMTP id DD6D69E752 for ; Sun, 5 Aug 2012 13:36:18 -0700 (PDT) Received: by wibhq4 with SMTP id hq4so832739wib.12 for ; Sun, 05 Aug 2012 13:36:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1343815699.3192.1.camel@dabdike.int.hansenpartnership.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: James Bottomley Cc: Ben Widawsky , linux-pm@vger.kernel.org, Greg Kroah-Hartman , dri-devel@lists.freedesktop.org, "Rafael J. Wysocki" List-Id: dri-devel@lists.freedesktop.org On Wed, Aug 01, 2012 at 11:08:19AM +0100, James Bottomley wrote: > On Wed, 2012-08-01 at 09:58 +0100, Chris Wilson wrote: > > On Wed, 01 Aug 2012 09:45:04 +0100, James Bottomley wrote: > > > On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > > > > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley wrote: > > > > > I got the attached to apply and it doesn't really improve the idle power > > > > > much (12.5W). > > > > > > > > That's good to know. Next step is to try overriding i915.semaphores. > > > > Can you please test with i915.semaphores=0 and i915.semaphores=1? > > > > > > There's not much point doing i915_semaphores=1 since that's the default > > > on gen 6 hardware, but i915_semaphores=0 recovers and idle power of > > > ~6.5W > > > > It is only the default if iommu is off, and changing the default > > was one of the side-effects of the patch you bisected. > > > > Can you please login to the desktop, let it idle, record > > /sys/kernel/debug/dri/0/i915_cur_delayinfo and .../i915_drpc_info. > > Then trace-cmd record -e i915 sleep 10s, and follow up with a new pair > > of /sys/kernel/debug/dri/0/i915_cur_delayinfo and .../i915_drpc_info. > > > > This will let us see whether the pm counters are truly advancing and > > what activity the driver is performing whilst idle. > > OK, so here it is > > James Hm, if I haven't botched the math, you have a rc6 residency of about 320 seconds between the two cats of drpc_info. Can you please script this so that we have exactly 10s in between? (Aside: 3.6 has a neat interface for rc6 residency in sysfs ...) Also, you need to attach the output of trace-cmd report (like with perf), so that we see the tracepoints in detail. Another quick thing to confirm: What is the power consumption on the old kernel when booting with i915.i915_semaphores=1? Thanks, Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48