Re: [btrfs] fac2f60d5f: fsmark.files_per_sec 62.6% improvement

From: David Sterba
Date: Tue Nov 10 2020 - 09:10:23 EST


On Tue, Nov 10, 2020 at 02:00:12PM +0800, kernel test robot wrote:
> Greeting,
>
> FYI, we noticed a 62.6% improvement of fsmark.files_per_sec due to commit:
>
>
> commit: fac2f60d5fe83fd45ee08a85c2eb7a09659edbe3 ("btrfs: switch extent buffer tree lock to rw_semaphore")

Thanks for the report, that's a significant improvement, confirming the
trend that switching the locks does not regress. I've skimmed other
collected stats and it seems like an overall improvement, so the effects
should be noticeable for other metadata-heavy workloads too.