Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Widawsky <ben@bwidawsk.net>
To: Eric Anholt <eric@anholt.net>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	intel-gfx@lists.freedesktop.org, "Lecluse,
	Philippe" <Philippe.Lecluse@intel.com>
Subject: Re: [PATCH 0/3] RFC: force throttling/fairness
Date: Sat, 29 Oct 2011 12:22:25 -0700	[thread overview]
Message-ID: <20111029122225.42480208@bwidawsk.net> (raw)
In-Reply-To: <87mxcjr60h.fsf@eliezer.anholt.net>

On Sat, 29 Oct 2011 11:45:34 -0700
Eric Anholt <eric@anholt.net> wrote:

> On Sat, 29 Oct 2011 09:07:35 +0100, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> > On Fri, 28 Oct 2011 22:55:26 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> > > These patches are pretty raw as I'm hoping to get some comments before
> > > working to hard too clean them up. The goal is GPU fairness for clients
> > > running on i915.
> > 
> > The biggest danger I see is that num_outstanding is only decremented
> > in retire_requests, which under the right circumstances (a single hog or
> > a plurarity) will cause latencies of over 1s. Also this unnecessarily
> > penalises benchmarks, i.e. a single active client.
> 
> Just using wait_request interface would require less code and not have
> that issue.

I must be missing something simple, but I didn't see an easy way to use
that interface to do what I want. Instead of outstanding requests, I'd
need to start tracking per fd seqnos (yes it's done elsewhere, but
didn't seem much different to me).

Can you explain what I'm missing?

Ben

  reply	other threads:[~2011-10-29 19:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-29  5:55 [PATCH 0/3] RFC: force throttling/fairness Ben Widawsky
2011-10-29  5:55 ` [PATCH 1/3] drm/i915: Keep track of request counts Ben Widawsky
2011-10-29  9:35   ` Daniel Vetter
2011-10-29 19:30     ` Ben Widawsky
2011-10-29  5:55 ` [PATCH 2/3] drm/i915: Add waitq/wakeups for our per fd requests Ben Widawsky
2011-10-29  5:55 ` [PATCH 3/3] drm/i915: fairness Ben Widawsky
2011-10-29  8:07 ` [PATCH 0/3] RFC: force throttling/fairness Chris Wilson
2011-10-29 18:45   ` Eric Anholt
2011-10-29 19:22     ` Ben Widawsky [this message]
2011-10-29 19:40       ` Daniel Vetter
2011-10-29 19:47         ` Daniel Vetter
2011-10-29 19:49           ` Ben Widawsky
2011-10-29 19:27   ` Ben Widawsky

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=20111029122225.42480208@bwidawsk.net \
    --to=ben@bwidawsk.net \
    --cc=Philippe.Lecluse@intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=eric@anholt.net \
    --cc=intel-gfx@lists.freedesktop.org \
    /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