[LTP] [PATCH v2 1/1] swapoff01: Define max_runtime 45s
Li Wang
liwang@redhat.com
Sat Sep 7 04:05:38 CEST 2024
On Wed, Sep 4, 2024 at 10:00 PM Cyril Hrubis <chrubis@suse.cz> wrote:
> Hi!
> > I'm wondering which distribution (and kernel version) did you use on
> raspi-0?
>
> The default raspbian. The difference I guess is that RPi Zero is a
> single ARMv6 if I'm looking right it's the same CPU as on the original
> RPi. That's way slower than quad Cortex-A72 on RPi 4.
>
> > 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
>
> I suppose that this is stil slow on RPi 4 because the rootfs is on a SD
> card, since the CPU on RPi 4 is way faster than RPi Zero.
>
Yes, exactly.
@Petr, if you planning to send out V3, I think it is better to set a proper
value
for max_runtime in swapon01 simultaneously. Since our CI jobs catch that one
timeout out sporadically too.
7 tst_device.c:96: TINFO: Found free device 0 '/dev/loop0'
8 tst_test.c:1733: TINFO: LTP version: 20240524
9 tst_test.c:1617: TINFO: Timeout per run is 0h 01m 00s
10 tst_supported_fs_types.c:96: TINFO: Kernel supports ext2
11 tst_supported_fs_types.c:61: TINFO: mkfs.ext2 does exist
61 tst_test.c:1693: TINFO: === Testing on vfat ===
62 tst_test.c:1106: TINFO: Formatting /dev/loop0 with vfat opts=''
extra opts=''
63 tst_test.c:1120: TINFO: Mounting /dev/loop0 to
/mnt/testarea/ltp-ukK7X0nhcs/LTP_swakCd462/mntpoint fstyp=vfat flags=0
64 libswap.c:198: TINFO: create a swapfile size of 1 megabytes (MB)
65 tst_ioctl.c:26: TINFO: FIBMAP ioctl is supported
66 swapon01.c:41: TINFO: create a swapfile size of 128 megabytes (MB)
67 swapon01.c:27: TPASS: tst_syscall(__NR_swapon, SWAP_FILE, 0) passed
68 tst_test.c:1671: TINFO: If you are running on slow machine, try
exporting LTP_TIMEOUT_MUL > 1
69 tst_test.c:1673: TBROK: Test killed! (timeout?)
--
Regards,
Li Wang
More information about the ltp
mailing list