[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173053338963.1934091.14116776076321174850.b4-ty@kernel.org>
Date: Sat, 02 Nov 2024 08:43:09 +0100
From: Carlos Maiolino <cem@...nel.org>
To: djwong@...nel.org, Chi Zhiling <chizhiling@....com>
Cc: linux-xfs@...r.kernel.org, linux-kernel@...r.kernel.org,
Chi Zhiling <chizhiling@...inos.cn>
Subject: Re: [PATCH] xfs: Reduce unnecessary searches when searching for
the best extents
On Fri, 25 Oct 2024 10:33:20 +0800, Chi Zhiling wrote:
> Recently, we found that the CPU spent a lot of time in
> xfs_alloc_ag_vextent_size when the filesystem has millions of fragmented
> spaces.
>
> The reason is that we conducted much extra searching for extents that
> could not yield a better result, and these searches would cost a lot of
> time when there were millions of extents to search through. Even if we
> get the same result length, we don't switch our choice to the new one,
> so we can definitely terminate the search early.
>
> [...]
Applied to for-next, thanks!
[1/1] xfs: Reduce unnecessary searches when searching for the best extents
commit: 3ef22684038aa577c10972ee9c6a2455f5fac941
Best regards,
--
Carlos Maiolino <cem@...nel.org>
Powered by blists - more mailing lists