HI Brice, On Wednesday, November 10, 2010 02:28:46 pm Brice Goglin wrote: > Le 10/11/2010 14:09, Jirka Hladky a écrit : > > Hi Brice, > > > > I have found couple of issues with 1.1rc2 > > > > 1) man hwloc-bind > > Following example does not work: > > $ hwloc-bind --cpubind node:1 --membind:0 echo hello > > Unrecognized option: --membind:0 > > Obvious typo in the manpage (should be --membind node:0), I am fixing this. Thanks!
> > > 2) hwloc-bind --get --membind is not working for me (RHEL 6.0) > > $ hwloc-bind --membind node:1 --mempolicy interleave -- hwloc-bind --get > > -- membind > > hwloc_get_membind failed (errno 22 Invalid argument) > > You get the same error when running only "hwloc-bind --get --membind", > right? Yes: $ hwloc-bind --get --membind hwloc_get_membind failed (errno 22 Invalid argument) > I am not sure about this one. Do you have NUMA support in your kernel? > Is your machine NUMA? Can you send the gather-topology tarball ? (if we > don't have it already :)) Yes, it's a NUMA box with NUMA support in kernel. Both numactl --membind=0 --physcpubind=1 stream/stream and hwloc-bind --cpubind node:1 --membind node:0 stream/stream works nicely. I have attached gather-topology tarball. Thanks for looking into it! Let me know if you need more information. > > 3) > > $ hwloc-calc --single socket:0 > > Unrecognized option: --single > > Oops, I removed it by mistake, fixing this too. Great:-) Thanks Jirka
2.6.32-71.el6.x86_64_dell-per610-02.lab.bos.redhat.com_gather-topology.tar.bz2
Description: application/bzip-compressed-tar
Machine (phys=0 total=12572768KB DMIProductName="PowerEdge R610"
DMIProductVersion= DMIProductSerial=G5QLHN1
DMIProductUUID=44454C4C-3500-1051-804C-C7C04F484E31 DMIBoardVendor="Dell Inc."
DMIBoardName=0F0XJ6 DMIBoardVersion=A02 DMIBoardSerial=..CN7016304L00M3.
DMIBoardAs)
NUMANode #0 (phys=0 local=6291456KB total=6291456KB)
Socket #0 (phys=1)
L3Cache #0 (12288KB line=64)
L2Cache #0 (256KB line=64)
L1Cache #0 (32KB line=64)
Core #0 (phys=0)
PU #0 (phys=0)
PU #1 (phys=8)
L2Cache #1 (256KB line=64)
L1Cache #1 (32KB line=64)
Core #1 (phys=1)
PU #2 (phys=2)
PU #3 (phys=10)
L2Cache #2 (256KB line=64)
L1Cache #2 (32KB line=64)
Core #2 (phys=9)
PU #4 (phys=4)
PU #5 (phys=12)
L2Cache #3 (256KB line=64)
L1Cache #3 (32KB line=64)
Core #3 (phys=10)
PU #6 (phys=6)
PU #7 (phys=14)
NUMANode #1 (phys=1 local=6281312KB total=6281312KB)
Socket #1 (phys=0)
L3Cache #1 (12288KB line=64)
L2Cache #4 (256KB line=64)
L1Cache #4 (32KB line=64)
Core #4 (phys=0)
PU #8 (phys=1)
PU #9 (phys=9)
L2Cache #5 (256KB line=64)
L1Cache #5 (32KB line=64)
Core #5 (phys=1)
PU #10 (phys=3)
PU #11 (phys=11)
L2Cache #6 (256KB line=64)
L1Cache #6 (32KB line=64)
Core #6 (phys=9)
PU #12 (phys=5)
PU #13 (phys=13)
L2Cache #7 (256KB line=64)
L1Cache #7 (32KB line=64)
Core #7 (phys=10)
PU #14 (phys=7)
PU #15 (phys=15)
depth 0: 1 Machine (type #1)
depth 1: 2 NUMANodes (type #2)
depth 2: 2 Sockets (type #3)
depth 3: 2 Caches (type #4)
depth 4: 8 Caches (type #4)
depth 5: 8 Caches (type #4)
depth 6: 8 Cores (type #5)
depth 7: 16 PUs (type #6)
Topology not from this system
