Re: [PATCH] xfs: Reduce unnecessary searches when searching for the best extents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux