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

Cyril Hrubis chrubis@suse.cz
Wed Sep 4 10:52:11 CEST 2024


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
max_runtime should be at least a minute. I guess I will try to run the
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.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list