From: Matthew Auld <matthew.auld@intel.com>
To: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>,
christian.koenig@amd.com, dri-devel@lists.freedesktop.org,
intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
amd-gfx@lists.freedesktop.org
Cc: alexander.deucher@amd.com
Subject: Re: [PATCH v7 2/2] gpu/tests/buddy: add dirty tracker performance KUnit test
Date: Thu, 6 Aug 2026 16:39:08 +0100 [thread overview]
Message-ID: <2526801e-1fdf-4386-8f48-99afb5f083a6@intel.com> (raw)
In-Reply-To: <20260731070741.2654251-2-Arunpravin.PaneerSelvam@amd.com>
On 31/07/2026 08:07, Arunpravin Paneer Selvam wrote:
> Add gpu_test_buddy_dirty_tracker_performance to demonstrate the key
> advantage of the decoupled dirty-tracker design over the old dual-tree
> / force_merge approach.
>
> The test runs two scenarios on a 4 GiB pool after alternating
> clear/dirty fragmentation at 4 KiB granularity:
>
> 1. Contiguous 4 GiB alloc: the old design requires __force_merge()
> to rebuild max_order from scratch; the new design coalesces during
> free() so the alloc is O(log N).
>
> old (force_merge) - 71 ms
> dirty tracker design - 17 ms
>
> 2. Repeated 256 KiB alloc throughput: the old design pays
> __force_merge() on every alloc; the new design does not.
>
> old (force_merge) - 95 ms
> dirty tracker design - 24 ms
>
> Assisted-by: Claude:claude-opus-4-8
> Cc: Matthew Auld <matthew.auld@intel.com>
> Cc: Christian König <christian.koenig@amd.com>
> Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
next prev parent reply other threads:[~2026-08-06 15:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-31 7:07 [PATCH v7 1/2] gpu/buddy: replace dual-tree/force_merge with decoupled dirty tracker Arunpravin Paneer Selvam
2026-07-31 7:07 ` [PATCH v7 2/2] gpu/tests/buddy: add dirty tracker performance KUnit test Arunpravin Paneer Selvam
2026-08-06 15:39 ` Matthew Auld [this message]
2026-08-03 8:24 ` [PATCH v7 1/2] gpu/buddy: replace dual-tree/force_merge with decoupled dirty tracker Arunpravin Paneer Selvam
2026-08-06 4:50 ` Arunpravin Paneer Selvam
2026-08-05 17:51 ` Matthew Auld
2026-08-06 16:45 ` Matthew Auld
2026-08-06 17:24 ` Matthew Auld
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=2526801e-1fdf-4386-8f48-99afb5f083a6@intel.com \
--to=matthew.auld@intel.com \
--cc=Arunpravin.PaneerSelvam@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
/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