Re: [PATCH 3/8] xfs/*: clean up _cleanup override

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



On Tue, May 24, 2022 at 05:17:44PM +0300, Amir Goldstein wrote:
> On Tue, May 24, 2022 at 4:24 PM Dave Chinner <david@xxxxxxxxxxxxx> wrote:
> > On Tue, May 24, 2022 at 03:55:47PM +0300, Amir Goldstein wrote:
> The work you did is huge and impressive and the review is not easy.

I disagree - it's not huge or impressive, it's just 4 hours of
*basic grunt work*. It's not difficult, it's not complex, it's just
time consuming. *Anyone* can do this.

The problem fstests has is *nobody* is doing these sorts of
maintenance tasks. We keep adding more tests and with them mountains
of technical debt, yet nobody wants to take any responsibility for
addressing the technical debt.

I'm doing this because over the past year auto group runtimes on my
test machines have increased by about 40%. What took a little over 2
hours is now taking 3.5 hours on the same machines running on the
same hardware with the same VM configs. That's not sustainable - we
have to address the problems that ever increasing number of tests is
causing, otherwise fstests slowly loses it's utility for filesysetm
developers. Iteration speed is everything when developing new code,
and fstests runtime is now my biggest impediment to ongoing
productivity.

Everyone should be looking to improve fstests infrastructure and
address tests that take too long on their systems. I've haven't got
to that yet, but about a dozen tests are now responsible for 30% of
the total auto group runtime. Those tests need to be refined so they
don't take 5-10 minutes to run each - they need to be adjusted to
work with TIME_FACTOR and/or LOAD_FACTOR so that they run in a
minute on normal tests and can then run for long times/under high
load when asked to do so with TIME_FACTOR/LOAD_FACTOR.

This is the day-to-day maintenance stuff that just isn't getting
done. Creating new tests is all well and good, but they don't come
for free. As the test count goes up, everyone needs to do their
little bit to streamline the way tests run. Otherwise we just end up
where we are now with ongoing runtime creep and no easy way to
address it.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux