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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 19 Feb 2021, Kurt Kanzenbach wrote:

> Hi,
> 
> On Fri Dec 18 2020, Daniel Wagner wrote:
> > 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

> >
> > Signed-off-by: Daniel Wagner <dwagner@xxxxxxx>
> 
> 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
> 



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux