From: Arunpravin Paneer Selvam <arunpravin.paneerselvam@amd.com>
To: Matthew Auld <matthew.auld@intel.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: Tue, 11 Aug 2026 17:39:22 +0530 [thread overview]
Message-ID: <241984ef-1b3a-4e52-8192-168a1489ee7f@amd.com> (raw)
In-Reply-To: <2526801e-1fdf-4386-8f48-99afb5f083a6@intel.com>
Hi Matthew,
On 8/6/2026 9:09 PM, Matthew Auld wrote:
> 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>
Just to clarify, is this RB for the main buddy allocator changes as well?
Regards,
Arun.
next prev parent reply other threads:[~2026-08-11 12:09 UTC|newest]
Thread overview: 13+ 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-07-31 7:19 ` sashiko-bot
2026-08-06 15:39 ` Matthew Auld
2026-08-11 12:09 ` Arunpravin Paneer Selvam [this message]
2026-07-31 7:21 ` [PATCH v7 1/2] gpu/buddy: replace dual-tree/force_merge with decoupled dirty tracker sashiko-bot
2026-07-31 7:28 ` ✗ Fi.CI.BUILD: failure for series starting with [v7,1/2] " Patchwork
2026-08-03 8:24 ` [PATCH v7 1/2] " 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
2026-08-11 12:07 ` Arunpravin Paneer Selvam
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=241984ef-1b3a-4e52-8192-168a1489ee7f@amd.com \
--to=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 \
--cc=matthew.auld@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.