public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Damien Lespiau <damien.lespiau@intel.com>
To: "Gore, Tim" <tim.gore@intel.com>
Cc: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: Re: [RFC] tests/gem_ring_sync_copy: reduce memory usage
Date: Fri, 28 Nov 2014 16:04:14 +0000	[thread overview]
Message-ID: <20141128160414.GC8425@strange.ger.corp.intel.com> (raw)
In-Reply-To: <8FCC70911F3E9548866CA0E51893BCC31A2A0486@IRSMSX105.ger.corp.intel.com>

On Fri, Nov 28, 2014 at 03:47:01PM +0000, Gore, Tim wrote:
> N_buffers_load is still used. I am still submitting 1000 buffers to the ring, its just
> that I use the same buffers over and over (hence the "i % NUM_BUSY_BUFFERS").
> So I only allocate 32 buffers, and each gets copied 1000/32 times, so the ring is kept
> busy for as long as previously.

Ah oops, yes, indeed. Looks good then, pushed, thanks for the patch.

-- 
Damien
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2014-11-28 16:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28 14:46 [RFC] tests/gem_ring_sync_copy: reduce memory usage tim.gore
2014-11-28 15:39 ` Damien Lespiau
2014-11-28 15:47   ` Gore, Tim
2014-11-28 16:04     ` Damien Lespiau [this message]
2014-11-28 16:19       ` Chris Wilson
2014-11-28 16:34         ` Gore, Tim
2014-11-28 16:47           ` Chris Wilson
2014-11-28 17:05             ` Gore, Tim
2014-11-28 17:34               ` Chris Wilson
2014-11-28 18:24                 ` Daniel Vetter
2014-11-28 18:49                   ` Ville Syrjälä

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141128160414.GC8425@strange.ger.corp.intel.com \
    --to=damien.lespiau@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=tim.gore@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox