stabilize =sys-process/numad-0.5 target keywords: amd64 x86
Builds fine on x86. No hardware to test: # numactl --show physcpubind: 0 No NUMA support available on this system. Please mark stable for x86.
I made some trivial changes but I don't use numad. I only have one node. sysfs standard kernel file system has /sys/devices/system/node/node0/hugepages but no redhat_ something... it's a pity that redhat hardcode and pollute the code with none portable aberration. --- /usr/portage/sys-process/numad/numad-0.5.ebuild 2012-06-14 07:28:06.000000000 +0200 +++ numad-0.5.ebuild 2012-07-08 18:40:16.638932478 +0200 @@ -31,6 +31,8 @@ src_prepare() { EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${FILESDIR}" \ epatch + + sed -i 's/redhat_transparent_hugepage/transparent_hugepage/' numad.c || die } src_configure() { @@ -39,4 +41,6 @@ src_install() { emake prefix="${ED}/usr" install + insinto /etc + doins numad.conf I tested the daemon as follows, /usr/bin/numad -i 15 -D /sys/fs/cgroup -l 7& # numactl --show policy: default preferred node: current physcpubind: 0 1 2 cpubind: 0 nodebind: 0 membind: 0 Wed Jul 18 22:13:07 2012 Nodes: 1 Node 0: MBs_total 3966, MBs_free 873, CPUs_total 300, CPUs_free 139, Distance: 10 CPUs: 0-2 Understand who can
(In reply to comment #2) > I made some trivial changes but I don't use numad. I only have one node. > This is a stabilization bug, no changes here. Post a new bug and wait for it to be assigned to a maintainer.
amd64: builds fine, don't have hw to test either
x86 stable, thanks Myckel. I had a friend with a NUMA-ified Gentoo system test for me and it seems to work for him on a stable system.
@cardoe, it ignores CC and CFLAGS, please fix it.
amd64 stable