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

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

From: Kurt Kanzenbach <hidden>
Date: 2021-02-19 14:40:31

Hi Daniel,

On Fri Feb 19 2021, Daniel Wagner wrote:
Hi Kurt,

On Fri, Feb 19, 2021 at 02:44:36PM +0100, Kurt Kanzenbach wrote:
quoted
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.
I'm using Debian and it provides libnuma.
quoted
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.
quoted
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
Static building with the newest numactl library also doesn't work:

|root@tsn:~/rt-tests# file cyclictest 
|cyclictest: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=248eaf8847544423dc51c6ceea18bbffc487991e, with debug_info, not stripped
|root@tsn:~/rt-tests# ./cyclictest 
|FATAL: Couldn't initialize libnuma
|root@tsn:~/rt-tests#

Hmm.

Thanks,
Kurt

Attachments

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