From: Eric Anholt Subject: Re: [PATCH] drm/vc4: improve throughput by pipelining binning and rendering jobs Date: Sun, 13 Mar 2016 17:05:59 -0700 Message-ID: <87h9g953fc.fsf@eliezer.anholt.net> References: <1455716301-14586-1-git-send-email-varadgautam@gmail.com> <87twkly9ur.fsf@eliezer.anholt.net> <1457259623.16073.2@smtp.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0803028959==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id D18E16E3D6 for ; Mon, 14 Mar 2016 01:22:44 +0000 (UTC) In-Reply-To: <1457259623.16073.2@smtp.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Varad Gautam Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0803028959== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Varad Gautam writes: > Hi Eric, > > On Sat, Mar 5, 2016 at 7:17 AM, Eric Anholt wrote: > > Varad Gautam writes: > > > >> The hardware provides us with separate threads for binning and > >> rendering, and the existing model waits for them both to complete > >> before submitting the next job. > >> > >> Splitting the binning and rendering submissions reduces idle time > >> and gives us approx 20-30% speedup with several x11perf tests. > > > > This patch is: > > > > Reviewed-by: Eric Anholt > > > Which tests did you find improved, specifically? I'm seeing=20 > openarena > > improved by 1.01897% +/- 0.247857% (n=3D16). x11perf -aa24text and > > -copypixwin looked like they had about the same level of improvement. > > Here's a sample of the speedups I've noticed with x11perf: > > without queue with queue % delta test > -(reps/sec)- -(reps/sec)- --- --- > 1840000 2360000 28.26% 10x10 tiled rectangle (17x15 tile) > 1920000 2440000 27.08% 10x10 tiled rectangle (4x4 tile) > 1340000 1620000 20.90% 10x10 tiled rectangle (216x208 > tile) > 9900000 11900000 20.20% 10-pixel line > 1310000 1570000 19.85% 10x10 tiled rectangle (161x145 > tile) > 2800000 3270000 16.79% 10x10 rectangle > 2720000 3140000 15.44% 100-pixel vertical line segment > 876000 1010000 15.30% 100-pixel line segment (2 kids) > 199000 229000 15.08% Circulate Unmapped window (200 > kids) > 1190000 1350000 13.45% 100-pixel line segment (1 kid) > 176000 199000 13.07% 500-pixel line segment > 172000 194000 12.79% 500-pixel line > 116000 129000 11.21% Destroy window via parent (100 > kids) > 2030000 2250000 10.84% 100-pixel horizontal line segment > 635000 697000 9.76% 100-pixel line segment (3 kids) Some of these results seem to be spurious (ucirculate, for example). However, -line10 and -tilerect10 seem to be good. Pulled for -next. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJW5gBoAAoJELXWKTbR/J7oUVUP/11zmvsiyXsh3TJQJJH0GDfl 9U8nGETxSSrLlm7Ob974RK8R6Chf3hpDAROT55/6byOD7CtuBleaLuENawDr/VJu NLh6ikYuC6W24bJlSACEltG+0GKGmtPyhFyoLPkh9O6pc/SxhZn60fDRfOYBdmgB l+ZZ8DzZyP6MElTGZg/8pgmRiCpWFfcRlwmVLiimiPSI5iIsq1rn5KayKffjuGgN dFy204AJY9gBS35Cc6qKYYZ/6eCoG9bQ99als5/bi7ELSOm7KK1JNHwAHE9+X8BM t1ErL8/nvFoh/5bvPZOCb68Y1T44C1Yd0dQLTWrkyjHluCij1vUiIFp4bV0O/Anv NVdy6ZA2njiWDXEb+YeroMB8rOgnAMJdiPbTIECc5ipbGCXIG/vUPmIFXVr/zKZK L0rptHtOR6m33vGp10suADLxfDlzeS2oOqMr5c2EStJN6/t3+uz58FcAVNVWkwxK PdfB58dSzXq9RGCHkKXP8X/TzLjy/vwPTb+WOuLwWDpuca//HzHrxRqn2zSq5sC6 lwpaomjqQfkLbtlb92lxWjN6iPmC/+lahYeN+w167ECWTTnWr1p51Fu7zQLsmJLV xXWbzJ1FmID+j607fqYz8lls/uptplgksTkLlX9pVpEADFE5IhM9mpc8/DhrTdwg oNGNMr3NfFt/hG9EM+7G =idXr -----END PGP SIGNATURE----- --=-=-=-- --===============0803028959== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0803028959==--