Thread (44 messages) 44 messages, 6 authors, 2021-02-19

Re: [rt-tests v2 v2 01/20] cyclictest: Always use libnuma

From: Daniel Wagner <hidden>
Date: 2021-02-19 14:13:40

Hi Kurt,

On Fri, Feb 19, 2021 at 02:44:36PM +0100, Kurt Kanzenbach wrote:
It seems like with this particular commit, it's not possible to run
cyclictest on arm32 systems anymore. I guess due to missing NUMA
support?
Yes, your distro needs to provide libnuma. cyclictest runs fine on arm32
with the library.
Just tested on a dual core Cyclone V:

root@tsn:~/rt-tests# ./cyclictest -S -m -p 99 --secaligned
FATAL: Couldn't initialize libnuma
I think you would see the same error when trying to use the '-a' option
without the patch. The dependency is not new.
I've used the current unstable/devel/latest branch. Any suggestions?
The simplest thing is obviously to get libnuma on your system. I assume
this is not so simple in your case. In this case you could build
cyclictest a static binary.

First, build numactl as static libary:

  ./configure --enable-static && make

and then rt-tests with

  CFLAGS="-static -L../numactl/.libs/" make

Thanks,
Daniel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help