From: Carlos Maiolino <cem@kernel.org>
To: djwong@kernel.org, Chi Zhiling <chizhiling@163.com>
Cc: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org,
Chi Zhiling <chizhiling@kylinos.cn>
Subject: Re: [PATCH] xfs: Reduce unnecessary searches when searching for the best extents
Date: Sat, 02 Nov 2024 08:43:09 +0100 [thread overview]
Message-ID: <173053338963.1934091.14116776076321174850.b4-ty@kernel.org> (raw)
In-Reply-To: <20241025023320.591468-1-chizhiling@163.com>
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@kernel.org>
prev parent reply other threads:[~2024-11-02 7:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-25 2:33 Chi Zhiling
2024-10-25 7:09 ` Dave Chinner
2024-10-27 4:05 ` Chi Zhiling
2024-11-02 7:43 ` Carlos Maiolino [this message]
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=173053338963.1934091.14116776076321174850.b4-ty@kernel.org \
--to=cem@kernel.org \
--cc=chizhiling@163.com \
--cc=chizhiling@kylinos.cn \
--cc=djwong@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.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
all inboxes | Powered by JetHome®