> Le 08/06/2017 16:58, Samuel Thibault a ?crit : >> Hello, >> >> Maureen Chew, on jeu. 08 juin 2017 10:51:56 -0400, wrote: >>> Should finding cache & pci info work? >> AFAWK, there is no user-available way to get cache information on >> Solaris, so it's not implemented in hwloc. > > And even if prtpicl reports some information using the PICL API, I don't > think it says how caches are shared between cores. > >> Concerning pci, you need libpciaccess to get PCI information. >> > > And usually you need root access (I think it looks inside /devices/pci* > where files are root-only). > > Brice
Thanks so much Samuel and Brice. Did have libpciaccess and now able to get pci info as root. Will see if an RBAC/pfexec combo could be reasonable # /usr/local/bin/hwloc-info -v depth 0: 1 Machine (type #1) depth 1: 2 NUMANode (type #2) depth 2: 2 Package (type #3) depth 3: 64 Core (type #5) depth 4: 512 PU (type #6) Special depth -3: 16 Bridge (type #9) Special depth -4: 10 PCI Device (type #10) Re: cache relationship… ah… so you’d need to parse both prtpicl(8) (to get sizes) and something like pginfo(8) (perl script) to get relationship….. bash-4.3$ pginfo -v | more 0 (System [system]) CPUs: 0-511 |-- 5 (Data_Pipe_to_memory [socket 0]) CPUs: 0-255 | |-- 4 (L3_Cache) CPUs: 0-31 | | `-- 6 (CPU_PM_Active_Power_Domain) CPUs: 0-31 | | |-- 3 (L2_Cache) CPUs: 0-15 | | | |-- 2 (Floating_Point_Unit [core 0]) CPUs: 0-7 | | | | `-- 1 (Integer_Pipeline [core 0]) CPUs: 0-7 | | | `-- 8 (Floating_Point_Unit [core 1]) CPUs: 8-15 | | | `-- 7 (Integer_Pipeline [core 1]) CPUs: 8-15 | | `-- 11 (L2_Cache) CPUs: 16-31 | | |-- 10 (Floating_Point_Unit [core 2]) CPUs: 16-23 | | | `-- 9 (Integer_Pipeline [core 2]) CPUs: 16-23 | | `-- 13 (Floating_Point_Unit [core 3]) CPUs: 24-31 | | `-- 12 (Integer_Pipeline [core 3]) CPUs: 24-31 | |-- 17 (L3_Cache) CPUs: 32-63 | | `-- 18 (CPU_PM_Active_Power_Domain) CPUs: 32-63 | | |-- 16 (L2_Cache) CPUs: 32-47 | | | |-- 15 (Floating_Point_Unit [core 4]) CPUs: 32-39 | | | | `-- 14 (Integer_Pipeline [core 4]) CPUs: 32-39 | | | `-- 20 (Floating_Point_Unit [core 5]) CPUs: 40-47 | | | `-- 19 (Integer_Pipeline [core 5]) CPUs: 40-47 | | `-- 23 (L2_Cache) CPUs: 48-63 | | |-- 22 (Floating_Point_Unit [core 6]) CPUs: 48-55 | | | `-- 21 (Integer_Pipeline [core 6]) CPUs: 48-55 | | `-- 25 (Floating_Point_Unit [core 7]) CPUs: 56-63 | | `-- 24 (Integer_Pipeline [core 7]) CPUs: 56-63 | |-- 29 (L3_Cache) CPUs: 64-95 | | `-- 30 (CPU_PM_Active_Power_Domain) CPUs: 64-95 | | |-- 28 (L2_Cache) CPUs: 64-79 | | | |-- 27 (Floating_Point_Unit [core 8]) CPUs: 64-71 | | | | `-- 26 (Integer_Pipeline [core 8]) CPUs: 64-71 | | | `-- 32 (Floating_Point_Unit [core 9]) CPUs: 72-79 | | | `-- 31 (Integer_Pipeline [core 9]) CPUs: 72-79 | | `-- 35 (L2_Cache) CPUs: 80-95 | | |-- 34 (Floating_Point_Unit [core 10]) CPUs: 80-87 | | | `-- 33 (Integer_Pipeline [core 10]) CPUs: 80-87 | | `-- 37 (Floating_Point_Unit [core 11]) CPUs: 88-95 | | `-- 36 (Integer_Pipeline [core 11]) CPUs: 88-95 | |-- 41 (L3_Cache) CPUs: 96-127 | | `-- 42 (CPU_PM_Active_Power_Domain) CPUs: 96-127 | | |-- 40 (L2_Cache) CPUs: 96-111 | | | |-- 39 (Floating_Point_Unit [core 12]) CPUs: 96-103 | | | | `-- 38 (Integer_Pipeline [core 12]) CPUs: 96-103 | | | `-- 44 (Floating_Point_Unit [core 13]) CPUs: 104-111 | | | `-- 43 (Integer_Pipeline [core 13]) CPUs: 104-111 | | `-- 47 (L2_Cache) CPUs: 112-127 | | |-- 46 (Floating_Point_Unit [core 14]) CPUs: 112-119 | | | `-- 45 (Integer_Pipeline [core 14]) CPUs: 112-119 | | `-- 49 (Floating_Point_Unit [core 15]) CPUs: 120-127 | | `-- 48 (Integer_Pipeline [core 15]) CPUs: 120-127 | |-- 53 (L3_Cache) CPUs: 128-159 | | `-- 54 (CPU_PM_Active_Power_Domain) CPUs: 128-159 | | |-- 52 (L2_Cache) CPUs: 128-143 | | | |-- 51 (Floating_Point_Unit [core 16]) CPUs: 128-135 | | | | `-- 50 (Integer_Pipeline [core 16]) CPUs: 128-135 | | | `-- 56 (Floating_Point_Unit [core 17]) CPUs: 136-143 | | | `-- 55 (Integer_Pipeline [core 17]) CPUs: 136-143 | | `-- 59 (L2_Cache) CPUs: 144-159 | | |-- 58 (Floating_Point_Unit [core 18]) CPUs: 144-151 | | | `-- 57 (Integer_Pipeline [core 18]) CPUs: 144-151 | | `-- 61 (Floating_Point_Unit [core 19]) CPUs: 152-159 | | `-- 60 (Integer_Pipeline [core 19]) CPUs: 152-159 | |-- 65 (L3_Cache) CPUs: 160-191 | | `-- 66 (CPU_PM_Active_Power_Domain) CPUs: 160-191 | | |-- 64 (L2_Cache) CPUs: 160-175 | | | |-- 63 (Floating_Point_Unit [core 20]) CPUs: 160-167 | | | | `-- 62 (Integer_Pipeline [core 20]) CPUs: 160-167 | | | `-- 68 (Floating_Point_Unit [core 21]) CPUs: 168-175 | | | `-- 67 (Integer_Pipeline [core 21]) CPUs: 168-175 | | `-- 71 (L2_Cache) CPUs: 176-191 | | |-- 70 (Floating_Point_Unit [core 22]) CPUs: 176-183 | | | `-- 69 (Integer_Pipeline [core 22]) CPUs: 176-183 | | `-- 73 (Floating_Point_Unit [core 23]) CPUs: 184-191 | | `-- 72 (Integer_Pipeline [core 23]) CPUs: 184-191 | |-- 77 (L3_Cache) CPUs: 192-223 | | `-- 78 (CPU_PM_Active_Power_Domain) CPUs: 192-223 | | |-- 76 (L2_Cache) CPUs: 192-207 | | | |-- 75 (Floating_Point_Unit [core 24]) CPUs: 192-199 | | | | `-- 74 (Integer_Pipeline [core 24]) CPUs: 192-199 | | | `-- 80 (Floating_Point_Unit [core 25]) CPUs: 200-207 | | | `-- 79 (Integer_Pipeline [core 25]) CPUs: 200-207 | | `-- 83 (L2_Cache) CPUs: 208-223 | | |-- 82 (Floating_Point_Unit [core 26]) CPUs: 208-215 | | | `-- 81 (Integer_Pipeline [core 26]) CPUs: 208-215 | | `-- 85 (Floating_Point_Unit [core 27]) CPUs: 216-223 | | `-- 84 (Integer_Pipeline [core 27]) CPUs: 216-223 | `-- 89 (L3_Cache) CPUs: 224-255 | `-- 90 (CPU_PM_Active_Power_Domain) CPUs: 224-255 | |-- 88 (L2_Cache) CPUs: 224-239 | | |-- 87 (Floating_Point_Unit [core 28]) CPUs: 224-231 | | | `-- 86 (Integer_Pipeline [core 28]) CPUs: 224-231 | | `-- 92 (Floating_Point_Unit [core 29]) CPUs: 232-239 | | `-- 91 (Integer_Pipeline [core 29]) CPUs: 232-239 | `-- 95 (L2_Cache) CPUs: 240-255 | |-- 94 (Floating_Point_Unit [core 30]) CPUs: 240-247 | | `-- 93 (Integer_Pipeline [core 30]) CPUs: 240-247 | `-- 97 (Floating_Point_Unit [core 31]) CPUs: 248-255 | `-- 96 (Integer_Pipeline [core 31]) CPUs: 248-255 `-- 102 (Data_Pipe_to_memory [socket 1]) CPUs: 256-511 |-- 101 (L3_Cache) CPUs: 256-287 | `-- 103 (CPU_PM_Active_Power_Domain) CPUs: 256-287 | |-- 100 (L2_Cache) CPUs: 256-271 | | |-- 99 (Floating_Point_Unit [core 32]) CPUs: 256-263 | | | `-- 98 (Integer_Pipeline [core 32]) CPUs: 256-263 | | `-- 105 (Floating_Point_Unit [core 33]) CPUs: 264-271 | | `-- 104 (Integer_Pipeline [core 33]) CPUs: 264-271 | `-- 108 (L2_Cache) CPUs: 272-287 | |-- 107 (Floating_Point_Unit [core 34]) CPUs: 272-279 | | `-- 106 (Integer_Pipeline [core 34]) CPUs: 272-279 | `-- 110 (Floating_Point_Unit [core 35]) CPUs: 280-287 | `-- 109 (Integer_Pipeline [core 35]) CPUs: 280-287 |-- 114 (L3_Cache) CPUs: 288-319 | `-- 115 (CPU_PM_Active_Power_Domain) CPUs: 288-319 | |-- 113 (L2_Cache) CPUs: 288-303 | | |-- 112 (Floating_Point_Unit [core 36]) CPUs: 288-295 | | | `-- 111 (Integer_Pipeline [core 36]) CPUs: 288-295 | | `-- 117 (Floating_Point_Unit [core 37]) CPUs: 296-303 | | `-- 116 (Integer_Pipeline [core 37]) CPUs: 296-303 | `-- 120 (L2_Cache) CPUs: 304-319 | |-- 119 (Floating_Point_Unit [core 38]) CPUs: 304-311 | | `-- 118 (Integer_Pipeline [core 38]) CPUs: 304-311 | `-- 122 (Floating_Point_Unit [core 39]) CPUs: 312-319 | `-- 121 (Integer_Pipeline [core 39]) CPUs: 312-319 |-- 126 (L3_Cache) CPUs: 320-351 | `-- 127 (CPU_PM_Active_Power_Domain) CPUs: 320-351 | |-- 125 (L2_Cache) CPUs: 320-335 | | |-- 124 (Floating_Point_Unit [core 40]) CPUs: 320-327 | | | `-- 123 (Integer_Pipeline [core 40]) CPUs: 320-327 | | `-- 129 (Floating_Point_Unit [core 41]) CPUs: 328-335 | | `-- 128 (Integer_Pipeline [core 41]) CPUs: 328-335 | `-- 132 (L2_Cache) CPUs: 336-351 | |-- 131 (Floating_Point_Unit [core 42]) CPUs: 336-343 | | `-- 130 (Integer_Pipeline [core 42]) CPUs: 336-343 | `-- 134 (Floating_Point_Unit [core 43]) CPUs: 344-351 | `-- 133 (Integer_Pipeline [core 43]) CPUs: 344-351 |-- 138 (L3_Cache) CPUs: 352-383 | `-- 139 (CPU_PM_Active_Power_Domain) CPUs: 352-383 | |-- 137 (L2_Cache) CPUs: 352-367 | | |-- 136 (Floating_Point_Unit [core 44]) CPUs: 352-359 | | | `-- 135 (Integer_Pipeline [core 44]) CPUs: 352-359 | | `-- 141 (Floating_Point_Unit [core 45]) CPUs: 360-367 | | `-- 140 (Integer_Pipeline [core 45]) CPUs: 360-367 | `-- 144 (L2_Cache) CPUs: 368-383 | |-- 143 (Floating_Point_Unit [core 46]) CPUs: 368-375 | | `-- 142 (Integer_Pipeline [core 46]) CPUs: 368-375 | `-- 146 (Floating_Point_Unit [core 47]) CPUs: 376-383 | `-- 145 (Integer_Pipeline [core 47]) CPUs: 376-383 |-- 150 (L3_Cache) CPUs: 384-415 | `-- 151 (CPU_PM_Active_Power_Domain) CPUs: 384-415 | |-- 149 (L2_Cache) CPUs: 384-399 | | |-- 148 (Floating_Point_Unit [core 48]) CPUs: 384-391 | | | `-- 147 (Integer_Pipeline [core 48]) CPUs: 384-391 | | `-- 153 (Floating_Point_Unit [core 49]) CPUs: 392-399 | | `-- 152 (Integer_Pipeline [core 49]) CPUs: 392-399 | `-- 156 (L2_Cache) CPUs: 400-415 | |-- 155 (Floating_Point_Unit [core 50]) CPUs: 400-407 | | `-- 154 (Integer_Pipeline [core 50]) CPUs: 400-407 | `-- 158 (Floating_Point_Unit [core 51]) CPUs: 408-415 | `-- 157 (Integer_Pipeline [core 51]) CPUs: 408-415 |-- 162 (L3_Cache) CPUs: 416-447 | `-- 163 (CPU_PM_Active_Power_Domain) CPUs: 416-447 | |-- 161 (L2_Cache) CPUs: 416-431 | | |-- 160 (Floating_Point_Unit [core 52]) CPUs: 416-423 | | | `-- 159 (Integer_Pipeline [core 52]) CPUs: 416-423 | | `-- 165 (Floating_Point_Unit [core 53]) CPUs: 424-431 | | `-- 164 (Integer_Pipeline [core 53]) CPUs: 424-431 | `-- 168 (L2_Cache) CPUs: 432-447 | |-- 167 (Floating_Point_Unit [core 54]) CPUs: 432-439 | | `-- 166 (Integer_Pipeline [core 54]) CPUs: 432-439 | `-- 170 (Floating_Point_Unit [core 55]) CPUs: 440-447 | `-- 169 (Integer_Pipeline [core 55]) CPUs: 440-447 |-- 174 (L3_Cache) CPUs: 448-479 | `-- 175 (CPU_PM_Active_Power_Domain) CPUs: 448-479 | |-- 173 (L2_Cache) CPUs: 448-463 | | |-- 172 (Floating_Point_Unit [core 56]) CPUs: 448-455 | | | `-- 171 (Integer_Pipeline [core 56]) CPUs: 448-455 | | `-- 177 (Floating_Point_Unit [core 57]) CPUs: 456-463 | | `-- 176 (Integer_Pipeline [core 57]) CPUs: 456-463 | `-- 180 (L2_Cache) CPUs: 464-479 | |-- 179 (Floating_Point_Unit [core 58]) CPUs: 464-471 | | `-- 178 (Integer_Pipeline [core 58]) CPUs: 464-471 | `-- 182 (Floating_Point_Unit [core 59]) CPUs: 472-479 | `-- 181 (Integer_Pipeline [core 59]) CPUs: 472-479 `-- 186 (L3_Cache) CPUs: 480-511 `-- 187 (CPU_PM_Active_Power_Domain) CPUs: 480-511 |-- 185 (L2_Cache) CPUs: 480-495 | |-- 184 (Floating_Point_Unit [core 60]) CPUs: 480-487 | | `-- 183 (Integer_Pipeline [core 60]) CPUs: 480-487 | `-- 189 (Floating_Point_Unit [core 61]) CPUs: 488-495 | `-- 188 (Integer_Pipeline [core 61]) CPUs: 488-495 `-- 192 (L2_Cache) CPUs: 496-511 |-- 191 (Floating_Point_Unit [core 62]) CPUs: 496-503 | `-- 190 (Integer_Pipeline [core 62]) CPUs: 496-503 `-- 194 (Floating_Point_Unit [core 63]) CPUs: 504-511 `-- 193 (Integer_Pipeline [core 63]) CPUs: 504-511 If there’s any interest in investigating at some point, could possibly line up some kind of cloud access to a SPARC VM —maureen
_______________________________________________ hwloc-users mailing list hwloc-users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users