From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tvrtko Ursulin Subject: Re: [PATCH] tests/gem_userptr_blits: Expanded userptr test cases Date: Wed, 22 Jan 2014 11:38:08 +0000 Message-ID: <52DFADA0.50107@linux.intel.com> References: <1390387298-6039-1-git-send-email-tvrtko.ursulin@linux.intel.com> <20140122112119.GE28361@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id CD98FFB88D for ; Wed, 22 Jan 2014 03:38:09 -0800 (PST) In-Reply-To: <20140122112119.GE28361@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Chris Wilson , Intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On 01/22/2014 11:21 AM, Chris Wilson wrote: > On Wed, Jan 22, 2014 at 10:41:38AM +0000, Tvrtko Ursulin wrote: >> From: Tvrtko Ursulin >> >> A set of userptr test cases to support the new feature. > > Oh, and another thing... > > I guess we will want some benchmarks for mmu_notifier scaling since > tracking the performance implications seems important. What would be a realistic benchmark? My first thoughts were something like: for each [unsync, sync] for each N [1, 10, 100, 1000] create N userptr bos benchmark for T seconds: malloc/realloc/free benchmark for T seconds: mmap/unmap ??? Add this as tests/gem_userptr_benchmark ? Tvrtko