From: "Amit K. Arora" Subject: Results after applying the patch Date: Mon, 2 Mar 2009 18:57:35 +0530 Message-ID: <20090302132735.GC32416@amitarora.in.ibm.com> References: <20090302130546.GA31167@amitarora.in.ibm.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20090302130546.GA31167@amitarora.in.ibm.com> Sender: linux-numa-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-numa@vger.kernel.org Cc: aarora@linux.vnet.ibm.com On Mon, Mar 02, 2009 at 06:35:46PM +0530, Amit K. Arora wrote: > # ls /sys/devices/system/node > has_cpu has_normal_memory node0 node1 node4 node5 online possible > # numactl --hardware > available: 6 nodes (0-5) > node 0 cpus: 0 1 2 3 > node 0 size: 15232 MB > node 0 free: 2265 MB > node 1 cpus: 4 5 6 7 > node 1 size: 16256 MB > node 1 free: 3108 MB > libnuma: Warning: /sys not mounted or invalid. Assuming one node: No > such file or directory > node 2 cpus: > node 2 size: > node 2 free: > node 3 cpus: > node 3 size: > node 3 free: > node 4 cpus: 8 9 10 11 > node 4 size: 16000 MB > node 4 free: 9292 MB > node 5 cpus: 12 13 14 15 > node 5 size: 16128 MB > node 5 free: 9479 MB > node distances: > node 0 1 2 3 4 5 > 0: 10 20 20 20 20 10 > 1: 20 10 20 20 0 0 > 2: 0 0 0 0 0 0 > 3: 0 0 0 0 0 0 > 4: 0 0 0 1112145 1024 2607344 > 5: 1024 2607344 1024 2607344 0 0 After applying the two patches, we see following result on the same system: # export LD_LIBRARY_PATH=`pwd` # ./numactl --hardware available: 4 nodes (0-1,4-5) node 0 cpus: 0 1 2 3 node 0 size: 15232 MB node 0 free: 2273 MB node 1 cpus: 4 5 6 7 node 1 size: 16256 MB node 1 free: 3108 MB node 4 cpus: 8 9 10 11 node 4 size: 16000 MB node 4 free: 9292 MB node 5 cpus: 12 13 14 15 node 5 size: 16128 MB node 5 free: 9479 MB node distances: node 0 1 2 3 4 5 0: 10 20 0 0 20 20 1: 20 10 0 0 20 20 2: 0 0 0 0 0 0 3: 0 0 0 0 0 0 4: 20 20 0 0 10 20 5: 20 20 0 0 20 10 -- Regards, Amit Arora