From: Eric Anholt Subject: BO size distribution Date: Fri, 18 Jun 2010 19:12:52 -0700 Message-ID: <87ljabg47v.fsf@pollan.anholt.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0695915046==" Return-path: Received: from annarchy.freedesktop.org (annarchy.freedesktop.org [131.252.210.176]) by gabe.freedesktop.org (Postfix) with ESMTP id A24679E74F for ; Fri, 18 Jun 2010 19:13:09 -0700 (PDT) Received: from pollan.anholt.net (annarchy.freedesktop.org [127.0.0.1]) by annarchy.freedesktop.org (Postfix) with ESMTP id 7719B13006F for ; Fri, 18 Jun 2010 19:13:09 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0695915046== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Keithp was asking me about how many buffers of what sizes we create when I was working on the libdrm changes for memory management, so I figured I'd post some numbers I took. Here's firefox-talos-gfx under cairo-gl: 4kb: 123163 8kb: 7247 12kb: 21319 16kb: 69737 24kb: 291 32kb: 14 40kb: 441 44kb: 1 52kb: 3 220kb: 6 2528kb: 365 2624kb: 3 2944kb: 154 2976kb: 445 3072kb: 266 4096kb: 1 Note the lovely 3MB buffers that gave us big wins with the libdrm buckets. Constant state objects cause some of the 4kb. 16KB is mostly batchbuffers and VBOs. Now here's ET:QW (not even a full run of the ~30 second demo I use!): 4kb: 98718 8kb: 3801 12kb: 2023 16kb: 27568 20kb: 340 24kb: 1642 28kb: 912 32kb: 967 36kb: 23 40kb: 350 44kb: 131 48kb: 46 52kb: 170 56kb: 32 60kb: 10 64kb: 14 68kb: 8 72kb: 7 76kb: 6 80kb: 4 84kb: 5 88kb: 2 92kb: 5 96kb: 20 100kb: 102 104kb: 12 108kb: 1 112kb: 2 116kb: 1 120kb: 4 124kb: 1 128kb: 24282 132kb: 1 136kb: 3 140kb: 2 160kb: 9 192kb: 2 196kb: 22 200kb: 2 208kb: 4 216kb: 2 228kb: 1 236kb: 1 240kb: 1 208kb: 4 216kb: 2 228kb: 1 236kb: 1 240kb: 1 256kb: 2 356kb: 54 384kb: 2 388kb: 11 432kb: 1 512kb: 2 644kb: 1 772kb: 4 784kb: 1 1024kb: 3 1200kb: 2 1536kb: 2 1544kb: 3 2048kb: 4 3072kb: 3 3080kb: 5 3088kb: 3 6144kb: 1 128kb is the size of ETQW's VBOs. Sadly, it likes to subdata in changes to its VBO while it's using it. If only it had known about ARB_map_buffer_range, it could save a whole lot of those small-page allocations that we use to blit VBO changes in. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkwcJ6QACgkQHUdvYGzw6vd/hgCfRqYHqPwabQDCNhpgO2F6KbB/ DcYAnjSte8a32ibDtwspLuhJG3mC6SJw =S/pm -----END PGP SIGNATURE----- --=-=-=-- --===============0695915046== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0695915046==--