Re: [PATCH i-g-t 2/2] tests/perf_pmu: Add tests for engine queued stat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Chris Wilson (2017-11-22 13:51:59)
> Throwing contexts into the picture was to be sure that it was counting
> across contexts. (I was thinking about the complexity with the timelines
> and the counter being on the engine, which I started worrying about.)
> Next up would be adding waiting requests and demonstrating that they
> aren't counted as queued.

Now thinking about something else...

If waiting is separate from queued, how do I keep track of my own queue
depth? i.e. how many requests have I submitted that are waiting before
being queued?

I think we need WAITING as well (a new metric). :|

engine->waiting++ in execbuf
engine->waiting-- in submit_notify() ?

The problem with WAITING for userspace load-balancing is that you do not
how many of those you can overtake (the only ones you are sure that you
have a dependency upon are those to your own timeline).

Hmm, I wonder if we are not just missing a trick in counting the dead
space for RT (i.e. learning from __intel_engine_get_busy_time()).
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux