Re: [rt-tests v2 v2 01/20] cyclictest: Always use libnuma
From: John Kacur <jkacur@redhat.com>
Date: 2021-02-19 16:46:41
On Fri, 19 Feb 2021, Kurt Kanzenbach wrote:
Hi, On Fri Dec 18 2020, Daniel Wagner wrote:quoted
libnuma is hard dependency for cyclictest. Thus we can always call numa_initialize(). This allows us to remove the global 'numa' variable to track if libnuma has been initialized or not.
Just a small note, the global 'numa' variable was NOT used to track whether libnuma had been intialized or not. The user used to specify smp or numa, then we decided that we would remove the numa option. What happened was that if numa was available and smp was not specified the program would automatically use numa else it would use smp. If smp was specified then smp was used. The numa variable would track that. the smp option used to just collect a common set of options -a -t and priorities all the same. It made sense way back when, but it's less useful now-a-days
quoted
Signed-off-by: Daniel Wagner <redacted>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? Just tested on a dual core Cyclone V: root@tsn:~/rt-tests# ./cyclictest -S -m -p 99 --secaligned FATAL: Couldn't initialize libnuma root@tsn:~/rt-tests# I've used the current unstable/devel/latest branch. Any suggestions? Thanks, Kurt