intel/numatop

Minimum required versions for dependencies?

Closed this issue · 6 comments

I was trying to run numatop on a centos 5 machine which currently runs numactl-devel 0.9.8. Unsurprisingly, it failed out.

My question is: What's the minimum version of the dependencies (numactl-devel, libncurses and libpthread) that's required for numatop to be run on a machine?

It is not only about the libnuma version, but more important the kernel that you have with centos 5. Are you using the default kernel 2.6.32?

Hey @pousa , I'm running a 3.10 kernel.

Hi @simar7, could you please provide more information about the error that you got? Have you tried with newer libnuma?

@pousa , below is the ldd trace. This is glibc 2.5 and numactl-devel 0.9.8
/usr/bin/numatop: /usr/lib64/libnuma.so.1: no version information available (required by /usr/bin/numatop)
/usr/bin/numatop: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/bin/numatop)
linux-vdso.so.1 => (0x00007fffbc0ad000)
libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x0000003071200000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003067e00000)
libnuma.so.1 => /usr/lib64/libnuma.so.1 (0x0000003066e00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003067200000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003067a00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003066a00000)

It works perfectly fine when I run a 3.10 machine and 2.0+ numactl-devel libs. Just wanted to know what's the minimum threshold before this will start to fail and if so, is it worth the effort to backport new features to older versions to make it run?

ping :)

Hi @simar7 , sorry for the delay.

Thanks for the ldd trace. I'm not sure about the minimum for libncurses and libpthread, but for libnuma it looks like version 2.0. Numatop uses functions that is only present on this version (e.g. numa_move_pages).

About backporting, it could be done. But the question is, does it make sense?