From: Hannes Diethelm <hannes.diethelm@gmail.com>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@lists.linux.dev
Subject: Re: EVL: hectic test fails when to many CPUs are available
Date: Sun, 12 Jul 2026 22:17:51 +0200 [thread overview]
Message-ID: <8311d15c-e582-4351-8d92-a143a69a8359@gmail.com> (raw)
In-Reply-To: <87h5max6sb.fsf@xenomai.org>
Am 07.07.26 um 15:34 schrieb Philippe Gerum:
> Hannes Diethelm <hannes.diethelm@gmail.com> writes:
>
>> Hello
>>
>> This is the reason for the patch for evl-test. I guess a beginners mistake / edge case but
>> if you want to look into it:
>>
>> If I don't set evl.oobcpus in my VM or just use to many OOB CPUs, the hectic test crashes and
>> never exits. I have to use kill -9 to stop it.
>>
>> evl_attach(): Resource temporarily unavailable: This is probably not handled correctly.
>>
>> evl.oobcpus=0-15 -> Freeze
>> evl.oobcpus=1-15 -> Freeze
>> evl.oobcpus=2-15 -> Ok
>>
>> /usr/libexec/evl/tests/hectic -T 5
>>
>> rtus_ufps11-10 rtuo11-11 rtuo11-12 rtuo_ufpp11-13 rtuo_ufpp11-14
>> rtuo_ufps11-15 rtuo_ufps11-16 rtuo_ufpp_ufps11-17 rtuo_ufpp_ufps11-18
>> fpu_stress_ufps11-19 switcher_ufps12-0 rtk12-1 rtk12-2 rtup12-3
>> revl_attach(): Resource temporarily unavailable
>>
>
> Mm, ok. This one is indeed an old and obscure issue which has never been
> cared of. Increasing CONFIG_EVL_COREMEM_SIZE and CONFIG_EVL_NR_THREADS
> in order to account for the massive amount of threads involved in large
> CPU configurations should fix it.
>
> At any rate, the test should unwind and exit cleanly when that fails,
> so there is still this issue to solve at some point.
>
The supplied patch should fix the issue with the forever running hectic
test. It looks like the main thread waited forever for the task_init semaphore.
Probably not a fully clean way of doing it but it exits now with a many error messages
in case there is not enough memory instead of running forever.
prev parent reply other threads:[~2026-07-12 20:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 11:43 EVL: hectic test fails when to many CPUs are available Hannes Diethelm
2026-07-07 13:34 ` Philippe Gerum
2026-07-12 20:07 ` [PATCH] test: hectic: sem_post task_init on failure Hannes Diethelm
2026-07-13 6:55 ` Philippe Gerum
2026-07-12 20:17 ` Hannes Diethelm [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8311d15c-e582-4351-8d92-a143a69a8359@gmail.com \
--to=hannes.diethelm@gmail.com \
--cc=rpm@xenomai.org \
--cc=xenomai@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.