[LTP] [PATCH] set_mempolicy01: cancel the limit of maximum runtime
Richard Palethorpe
rpalethorpe@suse.de
Wed Dec 28 11:21:38 CET 2022
Hello,
Li Wang <liwang@redhat.com> writes:
> On Tue, Dec 20, 2022 at 10:15 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
>> Hi!
>> > It needs more time for running on multiple numa nodes system.
>> > Here propose to cancel the limit of max_runtime.
>> >
>> > ========= test log on 16 nodes system =========
>> > ...
>> > set_mempolicy01.c:80: TPASS: child: Node 15 allocated 16
>> > tst_numa.c:25: TINFO: Node 0 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 1 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 2 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 3 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 4 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 5 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 6 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 7 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 8 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 9 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 10 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 11 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 12 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 13 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 14 allocated 0 pages
>> > tst_numa.c:25: TINFO: Node 15 allocated 16 pages
>> > set_mempolicy01.c:80: TPASS: parent: Node 15 allocated 16
>> >
>> > Summary:
>> > passed 393210
>> > failed 0
>> > broken 0
>> > skipped 0
>> > warnings 0
>> >
>> > real 6m15.147s
>> > user 0m33.641s
>> > sys 0m44.553s
>>
>> Can't we just set the default to 30 minutes or something large enough?
>>
>
> Yes, I thought about a fixed larger value before, but seems the test
> time go increased extremely faster when the test matrix doubled.
>
> I don't have a system with more than 32 nodes to check if 30mins
> enough, so I guess probably canceling the limitation like what we
> did for oom tests would make sense, that timeout value depends
> on real system configurations.
IMO, this is what the timeout multiplier is for. So if you have a
computer with 512 CPUs or a tiny embedded device, you can adjust the
timeouts upwards.
The default timeouts are for workstations, commodity servers and
VMs. Although I suppose as this is a NUMA test the average machine will
be bigger, but 32 nodes on a physical machine would be 128-512 CPUs?
>
>
> --
> Regards,
> Li Wang
--
Thank you,
Richard.
More information about the ltp
mailing list