[Piglit] [PATCH] piglit-run: Add option to enable/disable concurrent test runs
Chad Versace
chad at chad-versace.us
Fri Jun 17 15:48:17 PDT 2011
On Fri, 17 Jun 2011 12:14:19 -0700, Eric Anholt <eric at anholt.net> wrote:
Non-text part: multipart/signed
> On Fri, 17 Jun 2011 10:57:30 -0700, Chad Versace <chad at chad-versace.us> wrote:
> > -c bool, --concurrent=bool Enable/disable concurrent test runs. Valid
> > option values are: 0, 1, on, off. (default: on)
> >
> > CC: Ben Widawsky <ben at bwidawsk.net>
FYI, this patch if for Ben, so he can deterministically investigate
GPU hangs and stalls in Piglit runs.
> > Signed-off-by: Chad Versace <chad at chad-versace.us>
>
> I could kind of go for another knob of "spawn in parallel up to number
> of CPUs, don't bother single-threading all the GPU tests." Most of the
> time I'm testing, my driver should be reliable in the presence of other
> things using the GPU, right? :)
Something like this?
./piglit-run.py -j1 # Use one thread, no concurrency.
./piglit-run.py -j9 # Use 9 threads.
./piglit-run.py -j # Set number of threads to number of cpus.
I'm open to any suggestions here.
> (And, of course, testing is CPU-bound not GPU-bound in general)
Non-text part: application/pgp-signature
----
Chad Versace
chad at chad-versace.us
More information about the Piglit
mailing list