On Tue, Aug 07, 2012 at 10:07:24AM -0500, Nick LeRoy wrote: > Can you send the full /proc/cpuinfo? The code that counts the number of CPUs > uses a number of hueristics, and it probably needs another small tweak. I'm > not on the Condor team any longer, but I wrote the above code, and I could > probably fix this pretty easily. Attached are: * full /proc/cpuinfo * extract from dmidecode * condor_config_val output However I'm not sure that /proc/cpuinfo by itself is sufficient. The previous post linked to https://groups.google.com/forum/?fromgroups#!topic/linux.kernel/PzkEUWN05iw where a proposed kernel change to /proc/cpuinfo was rejected. One poster said: "you can't get this info from /proc/cpuinfo output. But /proc/cpuinfo is completely useless to gather entire toplogy information anyway. You should extract most stuff from the topology subdirectory for CPUs." Here's an example of what I see under /sys: $ ls /sys/devices/system/cpu/ cpu0 cpu16 cpu23 cpu30 cpu38 cpu45 cpufreq release cpu1 cpu17 cpu24 cpu31 cpu39 cpu46 cpuidle sched_mc_power_savings cpu10 cpu18 cpu25 cpu32 cpu4 cpu47 kernel_max cpu11 cpu19 cpu26 cpu33 cpu40 cpu5 offline cpu12 cpu2 cpu27 cpu34 cpu41 cpu6 online cpu13 cpu20 cpu28 cpu35 cpu42 cpu7 possible cpu14 cpu21 cpu29 cpu36 cpu43 cpu8 present cpu15 cpu22 cpu3 cpu37 cpu44 cpu9 probe $ ls -l /sys/devices/system/cpu/cpu0/ total 0 drwxr-xr-x 6 root root 0 Aug 7 12:40 cache drwxr-xr-x 3 root root 0 Aug 7 16:21 cpufreq -r-------- 1 root root 4096 Aug 7 16:15 crash_notes lrwxrwxrwx 1 root root 0 Aug 7 16:15 node0 -> ../../node/node0 drwxr-xr-x 2 root root 0 Aug 7 12:40 topology $ head /sys/devices/system/cpu/cpu0/topology/* ==> /sys/devices/system/cpu/cpu0/topology/core_id <== 0 ==> /sys/devices/system/cpu/cpu0/topology/core_siblings <== 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000fff ==> /sys/devices/system/cpu/cpu0/topology/core_siblings_list <== 0-11 ==> /sys/devices/system/cpu/cpu0/topology/physical_package_id <== 0 ==> /sys/devices/system/cpu/cpu0/topology/thread_siblings <== 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 ==> /sys/devices/system/cpu/cpu0/topology/thread_siblings_list <== 0 There is also /sys/devices/system/node[0-7]/ with 6 cpus under each. Regards, Brian.
Attachment:
cpuinfo.gz
Description: application/gunzip
Attachment:
dmidecode.gz
Description: application/gunzip
Attachment:
condorval.gz
Description: application/gunzip