Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 16/21] gem_wsim: Some more example workloads

2019-05-10 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-05-08 13:10:53)
> From: Tvrtko Ursulin 
> 
> A few additional workloads useful for experimenting with scheduling.
> 
> Signed-off-by: Tvrtko Ursulin 
Acked-by: Chris Wilson 
-Chris
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 16/21] gem_wsim: Some more example workloads

2019-05-08 Thread Tvrtko Ursulin


On 08/05/2019 14:56, Chris Wilson wrote:

Quoting Tvrtko Ursulin (2019-05-08 14:50:41)


On 08/05/2019 13:27, Chris Wilson wrote:

Quoting Tvrtko Ursulin (2019-05-08 13:10:53)

From: Tvrtko Ursulin 

A few additional workloads useful for experimenting with scheduling.

Signed-off-by: Tvrtko Ursulin 


Are the extra modes & .wsim supported by scripts/media-bench.pl?
i.e. can I just run media-bench.pl and have it exercise all the new
features?


Not sure what you mean by extra modes? If all new wsim commands then no.
They are not in the default media-bench.pl set. The workloads from this
patch are not in that set so are just for reference.


That's what I meant, are the new example.wsim with explicit engine maps
and so I presume inter-mixing of load-balanced workloads with other work
included in the default set run by ./scripts/media-bench.pl


It's not in the default set but manual workloads can be given to 
media-bench.pl using the -w switch. String passed there is passed onto 
gem_wsim directly so one or more workloads can be manually specified.



What's the minimum amount of effort I need to exercise all the new
features of gem_wsim? :)


frame-split-60fps.wsim uses almost all new features: preemption control, 
engine map, load balance, bond, submit fence and the "endless" batch.


Only missing is SSEU control for which I did not add an example workload 
(there is a snippet in README though) since the access to uapi is 
blocked outside the gen11 special case. To use that the i915 IS_GEN11 
check in set_sseu needs to be lifted as well.



Virtual engine (gem_wsim -b i915) is supported by media-bench.pl even
with the old/default set of workloads.

The catch is old wsim workloads use VCS to mean any VCS and in those
cases -b i915 will set up the virtual engine
automatically/transparently. So those old workloads can be ran both with
userspace or i915 balancing.


And seems to still be working.


I'd hope so, I mostly do test things! :)

Regards,

Tvrtko
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 16/21] gem_wsim: Some more example workloads

2019-05-08 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-05-08 14:50:41)
> 
> On 08/05/2019 13:27, Chris Wilson wrote:
> > Quoting Tvrtko Ursulin (2019-05-08 13:10:53)
> >> From: Tvrtko Ursulin 
> >>
> >> A few additional workloads useful for experimenting with scheduling.
> >>
> >> Signed-off-by: Tvrtko Ursulin 
> > 
> > Are the extra modes & .wsim supported by scripts/media-bench.pl?
> > i.e. can I just run media-bench.pl and have it exercise all the new
> > features?
> 
> Not sure what you mean by extra modes? If all new wsim commands then no. 
> They are not in the default media-bench.pl set. The workloads from this 
> patch are not in that set so are just for reference.

That's what I meant, are the new example.wsim with explicit engine maps
and so I presume inter-mixing of load-balanced workloads with other work
included in the default set run by ./scripts/media-bench.pl

What's the minimum amount of effort I need to exercise all the new
features of gem_wsim? :)

> Virtual engine (gem_wsim -b i915) is supported by media-bench.pl even 
> with the old/default set of workloads.
> 
> The catch is old wsim workloads use VCS to mean any VCS and in those 
> cases -b i915 will set up the virtual engine 
> automatically/transparently. So those old workloads can be ran both with 
> userspace or i915 balancing.

And seems to still be working.
-Chris
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 16/21] gem_wsim: Some more example workloads

2019-05-08 Thread Tvrtko Ursulin


On 08/05/2019 13:27, Chris Wilson wrote:

Quoting Tvrtko Ursulin (2019-05-08 13:10:53)

From: Tvrtko Ursulin 

A few additional workloads useful for experimenting with scheduling.

Signed-off-by: Tvrtko Ursulin 


Are the extra modes & .wsim supported by scripts/media-bench.pl?
i.e. can I just run media-bench.pl and have it exercise all the new
features?


Not sure what you mean by extra modes? If all new wsim commands then no. 
They are not in the default media-bench.pl set. The workloads from this 
patch are not in that set so are just for reference.


Virtual engine (gem_wsim -b i915) is supported by media-bench.pl even 
with the old/default set of workloads.


The catch is old wsim workloads use VCS to mean any VCS and in those 
cases -b i915 will set up the virtual engine 
automatically/transparently. So those old workloads can be ran both with 
userspace or i915 balancing.


Regards,

Tvrtko
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 16/21] gem_wsim: Some more example workloads

2019-05-08 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-05-08 13:10:53)
> From: Tvrtko Ursulin 
> 
> A few additional workloads useful for experimenting with scheduling.
> 
> Signed-off-by: Tvrtko Ursulin 

Are the extra modes & .wsim supported by scripts/media-bench.pl?
i.e. can I just run media-bench.pl and have it exercise all the new
features?
-Chris
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx