mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Simon Farnsworth <simon.farnsworth@onelan.co.uk>,
	intel-gfx@lists.freedesktop.org
Cc: Vasily Khoruzhick <anarsoul@gmail.com>,
	Sitsofe Wheeler <sitsofe@yahoo.com>,
	Venkatesh Pallipadi <venki@google.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [Intel-gfx] Interrupt latency on some 945GM platforms
Date: Fri, 17 Sep 2010 13:30:26 -0300	[thread overview]
Message-ID: <4b4d1e0a-b1ad-40f1-a829-6d4726d2b2d3@email.android.com> (raw)
In-Reply-To: <201009171002.09187.simon.farnsworth@onelan.co.uk>

Yeah if that works we could definitely add some qos calls to the driver.  When vblanks are alive we'd need a latency less tha the refresh rate, and when commands are oustanding we'd probably want it even lower.

Vasily, can you try the qos workaround on your machine and see if it works too?

Thanks,

"Simon Farnsworth" <simon.farnsworth@onelan.co.uk> wrote:

>On Thursday 16 September 2010, Vasily Khoruzhick <anarsoul@gmail.com> wrote:
>> В сообщении от 15 of September 2010 01:41:11 автор Sitsofe Wheeler написал:
>> > > >     processor.max_cstate=2
>> > > 
>> > > Nope, it doesn't work with max_cstate=2
>> > 
>> > Perhaps intel_idle is being used? Any mention of it in dmesg?
>> 
>> Sitsofe, maybe you misunderstood me, I mean with max_cstate=1 graphics is
>> smooth, with higher values (i.e. max_cstate=2) graphics is jerky.
>> 
>> Btw, Jesse, any comments/solutions/workarounds except one with
>> processor.max_cstate=1 in kernel commandline? Should I file a bug on fdo
>> bugzilla?
>
>This looks like a problem I've seen on some hardware.
>
>My workaround has been to use the pm_qos /dev/cpu_dma_latency interface to 
>request a maximum latency of 1ms (value chosen as definitely small enough - a 
>larger value may be better, but I don't care about power saving at runtime on 
>my kit).
>
>If it's happening on other kit, perhaps the i915 driver should make a suitable 
>pm_qos request itself. Jesse, can you comment?
>-- 
>Simon Farnsworth
>Software Engineer
>ONELAN Limited
>http://www.onelan.com/
>

-- 
Jesse Barnes, Intel Open Source Technology Center

  reply	other threads:[~2010-09-17 11:28 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201009132336.17310.anarsoul@gmail.com>
     [not found] ` <20100913134441.762001f7@jbarnes-desktop>
     [not found]   ` <201009140010.14783.anarsoul@gmail.com>
2010-09-13 21:19     ` Jesse Barnes
2010-09-13 21:41       ` Vasily Khoruzhick
2010-09-13 21:46         ` Jesse Barnes
2010-09-13 21:52           ` Vasily Khoruzhick
2010-09-13 21:59             ` Jesse Barnes
2010-09-13 22:03               ` Vasily Khoruzhick
2010-09-14  0:55                 ` Venkatesh Pallipadi
2010-09-14  8:09                   ` Vasily Khoruzhick
2010-09-14  9:52                     ` Thomas Gleixner
2010-09-14 12:29                       ` Vasily Khoruzhick
2010-09-14 22:41                         ` Sitsofe Wheeler
2010-09-15  7:07                           ` Vasily Khoruzhick
2010-09-16 15:03                           ` Vasily Khoruzhick
2010-09-16 18:07                             ` Thomas Gleixner
2010-09-16 18:30                               ` Vasily Khoruzhick
2010-09-16 18:42                                 ` Vasily Khoruzhick
2010-09-16 18:50                                   ` Thomas Gleixner
2010-09-16 20:06                                     ` Vasily Khoruzhick
2010-09-24 19:39                                       ` Jesse Barnes
2010-09-24 19:48                                         ` Vasily Khoruzhick
2010-09-24 19:51                                           ` Jesse Barnes
2010-09-26 10:53                                             ` Stefan Biereigel
2010-09-27  0:46                                               ` Shaohua Li
2010-09-27  5:45                                                 ` Stefan Biereigel
2010-09-27 11:41                                                 ` Vasily Khoruzhick
2010-09-27 21:18                                               ` Vasily Khoruzhick
2010-09-25 10:25                                         ` Paolo Ornati
2010-09-17  9:02                             ` [Intel-gfx] " Simon Farnsworth
2010-09-17 16:30                               ` Jesse Barnes [this message]
2010-09-17 12:50                                 ` Vasily Khoruzhick
2010-09-21 18:26                                   ` Paolo Ornati
2010-09-21 22:56                                     ` Jesse Barnes
2010-09-22  5:57                                       ` Vasily Khoruzhick
2010-09-23 18:21                                       ` Paolo Ornati
2010-09-25 10:28                                       ` Paolo Ornati
2010-10-16 15:54                                         ` [Intel-gfx] Interrupt latency on some 945GM platforms -- and TCP/IP silent data corruption? Paolo Ornati
2010-09-24 18:41                             ` Interrupt latency on some 945GM platforms Jesse Barnes
2010-09-14  9:55                     ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b4d1e0a-b1ad-40f1-a829-6d4726d2b2d3@email.android.com \
    --to=jbarnes@virtuousgeek.org \
    --cc=anarsoul@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simon.farnsworth@onelan.co.uk \
    --cc=sitsofe@yahoo.com \
    --cc=tglx@linutronix.de \
    --cc=venki@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®