[LTP] [PATCH v2 1/1] swapoff01: Define max_runtime 45s

Li Wang liwang@redhat.com
Wed Sep 4 11:26:30 CEST 2024


On Wed, Sep 4, 2024 at 4:53 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
> Hi!
> > > So yes it looks like the actual test needs some runtime defined,
> > > although I'm not sure how long it should be. We probably need a
> > > reference machine to callibrate this on. I would avoid any emulated CPU
> > > and choose a real hardware. I guess one of the RPis e.g. Pi Zero would
> > > be a good choice since they are widely available and slow by any modern
> > > standards.
> >
> > This makes sense.
>
> So I dusted off my Pi Zero and indeed the test timeouts there as well.
> The ntfs filesystem takes 78s, ext2 29s, exfat 20s. So I would say that

I'm wondering which distribution (and kernel version) did you use on raspi-0?

My raspi4(ubuntu-24, 6.8.0-1010, Cortex-A72) takes a little faster.

ext2: 12s
ext3: 12s
ext4: 0.4s
ntfs: 46s
exfat: skip

> max_runtime should be at least a minute. I guess I will try to run the

Agree.

> whole run there before the release and check for timeouts so that we are
> sure that the runtime is set reasonably even for very slow hardware.

+1



-- 
Regards,
Li Wang



More information about the ltp mailing list