1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
GET_CPUS_RESULT = [('cpu', 'physical', 'number', 2),
('cpu', 'physical_0', 'vendor', 'AuthenticAMD'),
('cpu', 'physical_0', 'product',
'AMD: EPYC 7451 24-Core Processor'),
('cpu', 'physical_0', 'cores', 24),
('cpu', 'physical_0', 'threads', 48),
('cpu', 'physical_0', 'family', 23),
('cpu', 'physical_0', 'model', 1),
('cpu', 'physical_0', 'stepping', 2),
('cpu', 'physical_0', 'architecture', 'x86_64'),
('cpu', 'physical_0', 'l1d cache', '32K'),
('cpu', 'physical_0', 'l1i cache', '64K'),
('cpu', 'physical_0', 'l2 cache', '512K'),
('cpu', 'physical_0', 'l3 cache', '8192K'),
('cpu', 'physical_0', 'min_Mhz', 1200.0),
('cpu', 'physical_0', 'max_Mhz', 2300.0),
('cpu', 'physical_0', 'current_Mhz', 1197.549),
('cpu', 'physical_0', 'flags',
'fpu vme de pse tsc msr pae mce cx8 apic sep mtrr '
'pge mca cmov pat pse36 clflush mmx fxsr sse sse2 '
'ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp '
'lm constant_tsc rep_good nopl nonstop_tsc '
'cpuid extd_apicid amd_dcm aperfmperf pni pclmulqdq '
'monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes '
'xsave avx f16c rdrand lahf_lm cmp_legacy svm '
'extapic cr8_legacy abm sse4a misalignsse '
'3dnowprefetch osvw skinit wdt tce topoext '
'perfctr_core perfctr_nb bpext perfctr_llc '
'mwaitx cpb hw_pstate ssbd ibpb vmmcall '
'fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap '
'clflushopt sha_ni xsaveopt xsavec xgetbv1 '
'xsaves clzero irperf xsaveerptr arat npt lbrv '
'svm_lock nrip_save tsc_scale vmcb_clean '
'flushbyasid decodeassists pausefilter '
'pfthreshold avic v_vmsave_vmload vgif '
'overflow_recov succor smca'),
('cpu', 'physical_0', 'threads_per_core', 2),
('cpu', 'physical_1', 'vendor', 'AuthenticAMD'),
('cpu', 'physical_1', 'product',
'AMD: EPYC 7451 24-Core Processor'),
('cpu', 'physical_1', 'cores', 24),
('cpu', 'physical_1', 'threads', 48),
('cpu', 'physical_1', 'family', 23),
('cpu', 'physical_1', 'model', 1),
('cpu', 'physical_1', 'stepping', 2),
('cpu', 'physical_1', 'architecture', 'x86_64'),
('cpu', 'physical_1', 'l1d cache', '32K'),
('cpu', 'physical_1', 'l1i cache', '64K'),
('cpu', 'physical_1', 'l2 cache', '512K'),
('cpu', 'physical_1', 'l3 cache', '8192K'),
('cpu', 'physical_1', 'min_Mhz', 1200.0),
('cpu', 'physical_1', 'max_Mhz', 2300.0),
('cpu', 'physical_1', 'current_Mhz', 1197.549),
('cpu', 'physical_1', 'flags',
'fpu vme de pse tsc msr pae mce cx8 apic sep mtrr '
'pge mca cmov pat pse36 clflush mmx fxsr sse sse2 '
'ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp '
'lm constant_tsc rep_good nopl nonstop_tsc '
'cpuid extd_apicid amd_dcm aperfmperf pni pclmulqdq '
'monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes '
'xsave avx f16c rdrand lahf_lm cmp_legacy svm '
'extapic cr8_legacy abm sse4a misalignsse '
'3dnowprefetch osvw skinit wdt tce topoext '
'perfctr_core perfctr_nb bpext perfctr_llc '
'mwaitx cpb hw_pstate ssbd ibpb vmmcall '
'fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap '
'clflushopt sha_ni xsaveopt xsavec xgetbv1 '
'xsaves clzero irperf xsaveerptr arat npt lbrv '
'svm_lock nrip_save tsc_scale vmcb_clean '
'flushbyasid decodeassists pausefilter '
'pfthreshold avic v_vmsave_vmload vgif '
'overflow_recov succor smca'),
('cpu', 'physical_1', 'threads_per_core', 2),
('cpu', 'logical', 'number', 1),
('numa', 'nodes', 'count', 8),
('numa', 'node_0', 'cpu_count', 12),
('numa', 'node_0', 'cpu_mask', '0x3f00000000003f'),
('numa', 'node_1', 'cpu_count', 12),
('numa', 'node_1', 'cpu_mask', '0xfc0000000000fc0'),
('numa', 'node_2', 'cpu_count', 12),
('numa', 'node_2', 'cpu_mask', '0x3f00000000003f000'),
('numa', 'node_3', 'cpu_count', 12),
('numa', 'node_3', 'cpu_mask', '0xfc0000000000fc0000'),
('numa', 'node_4', 'cpu_count', 12),
('numa', 'node_4', 'cpu_mask', '0x3f00000000003f000000'),
('numa', 'node_5', 'cpu_count', 12),
('numa', 'node_5', 'cpu_mask', '0xfc0000000000fc0000000'),
('numa', 'node_6', 'cpu_count', 12),
('numa', 'node_6', 'cpu_mask', '0x3f00000000003f000000000'),
('numa', 'node_7', 'cpu_count', 12),
('numa', 'node_7', 'cpu_mask',
'0xfc0000000000fc0000000000')]
GET_CPUS_7302_RESULT = [('cpu', 'physical', 'number', 1),
('cpu', 'physical_0', 'vendor', 'AuthenticAMD'),
('cpu', 'physical_0', 'product',
'AMD EPYC 7302P 16-Core Processor'),
('cpu', 'physical_0', 'cores', 16),
('cpu', 'physical_0', 'threads', 32),
('cpu', 'physical_0', 'family', 23),
('cpu', 'physical_0', 'model', 49),
('cpu', 'physical_0', 'stepping', 0),
('cpu', 'physical_0', 'architecture', 'x86_64'),
('cpu', 'physical_0', 'l1d cache', '32K'),
('cpu', 'physical_0', 'l1i cache', '32K'),
('cpu', 'physical_0', 'l2 cache', '512K'),
('cpu', 'physical_0', 'l3 cache', '16384K'),
('cpu', 'physical_0', 'min_Mhz', 1500.0),
('cpu', 'physical_0', 'max_Mhz', 3000.0),
('cpu', 'physical_0', 'current_Mhz', 1794.163),
('cpu', 'physical_0', 'flags',
'fpu vme de pse tsc msr pae mce cx8 apic sep mtrr '
'pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht '
'syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm '
'constant_tsc rep_good nopl nonstop_tsc cpuid extd_'
'apicid aperfmperf pni pclmulqdq monitor ssse3 fma '
'cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx '
'f16c rdrand lahf_lm cmp_legacy svm extapic cr8_'
'legacy abm sse4a misalignsse 3dnowprefetch osvw ibs '
'skinit wdt tce topoext perfctr_core perfctr_nb '
'bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_'
'pstate sme ssbd mba sev ibrs ibpb stibp vmmcall '
'fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx '
'smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 '
'xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_'
'local clzero irperf xsaveerptr wbnoinvd arat npt '
'lbrv svm_lock nrip_save tsc_scale vmcb_clean '
'flushbyasid decodeassists pausefilter pfthreshold '
'avic v_vmsave_vmload vgif umip rdpid overflow_recov '
'succor smca'),
('cpu', 'physical_0', 'threads_per_core', 2),
('cpu', 'logical', 'number', 32),
('numa', 'nodes', 'count', 8),
('numa', 'node_0', 'cpu_count', 4),
('numa', 'node_0', 'cpu_mask', '0xf0000000f'),
('numa', 'node_1', 'cpu_count', 4),
('numa', 'node_1', 'cpu_mask', '0xf0000000f0'),
('numa', 'node_2', 'cpu_count', 4),
('numa', 'node_2', 'cpu_mask', '0xf0000000f00'),
('numa', 'node_3', 'cpu_count', 4),
('numa', 'node_3', 'cpu_mask', '0xf0000000f000'),
('numa', 'node_4', 'cpu_count', 4),
('numa', 'node_4', 'cpu_mask', '0xf0000000f0000'),
('numa', 'node_5', 'cpu_count', 4),
('numa', 'node_5', 'cpu_mask', '0xf0000000f00000'),
('numa', 'node_6', 'cpu_count', 4),
('numa', 'node_6', 'cpu_mask', '0xf0000000f000000'),
('numa', 'node_7', 'cpu_count', 4),
('numa', 'node_7', 'cpu_mask', '0xf0000000f0000000')]
GET_CPUS_VM_RESULT = [('cpu', 'physical', 'number', 1),
('cpu', 'physical_0', 'vendor', 'GenuineIntel'),
('cpu', 'physical_0', 'product',
'Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz'),
('cpu', 'physical_0', 'cores', 2),
('cpu', 'physical_0', 'threads', 2),
('cpu', 'physical_0', 'family', 6),
('cpu', 'physical_0', 'model', 142),
('cpu', 'physical_0', 'stepping', 10),
('cpu', 'physical_0', 'architecture', 'x86_64'),
('cpu', 'physical_0', 'l1d cache', '32K'),
('cpu', 'physical_0', 'l1i cache', '32K'),
('cpu', 'physical_0', 'l2 cache', '256K'),
('cpu', 'physical_0', 'l3 cache', '8192K'),
('cpu', 'physical_0', 'current_Mhz', 2112.002),
('cpu', 'physical_0', 'flags',
'fpu vme de pse tsc msr pae mce cx8 apic sep '
'mtrr pge mca cmov pat pse36 clflush mmx fxsr '
'sse sse2 ht syscall nx rdtscp lm constant_tsc '
'rep_good nopl xtopology nonstop_tsc pni '
'pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic '
'movbe popcnt aes xsave avx rdrand hypervisor '
'lahf_lm abm 3dnowprefetch fsgsbase avx2 '
'invpcid rdseed clflushopt'),
('cpu', 'physical_0', 'threads_per_core', 1),
('cpu', 'logical', 'number', 2),
('numa', 'nodes', 'count', 1),
('numa', 'node_0', 'cpu_count', 2),
('numa', 'node_0', 'cpu_mask', '0x3')]
GET_CPUS_AARCH64_RESULT = [('cpu', 'physical', 'number', 4),
('cpu', 'physical_0', 'vendor', 'APM'),
('cpu', 'physical_0', 'product', 'X-Gene'),
('cpu', 'physical_0', 'cores', 2),
('cpu', 'physical_0', 'threads', 2),
('cpu', 'physical_0', 'model', 0),
('cpu', 'physical_0', 'stepping', 0),
('cpu', 'physical_0', 'architecture', 'aarch64'),
('cpu', 'physical_0', 'l1d cache', 'unknown size'),
('cpu', 'physical_0', 'l1i cache', 'unknown size'),
('cpu', 'physical_0', 'l2 cache', 'unknown size'),
('cpu', 'physical_0', 'flags',
'fp asimd evtstrm cpuid'),
('cpu', 'physical_0', 'threads_per_core', 1),
('cpu', 'physical_1', 'vendor', 'APM'),
('cpu', 'physical_1', 'product', 'X-Gene'),
('cpu', 'physical_1', 'cores', 2),
('cpu', 'physical_1', 'threads', 2),
('cpu', 'physical_1', 'model', 0),
('cpu', 'physical_1', 'stepping', 0),
('cpu', 'physical_1', 'architecture', 'aarch64'),
('cpu', 'physical_1', 'l1d cache', 'unknown size'),
('cpu', 'physical_1', 'l1i cache', 'unknown size'),
('cpu', 'physical_1', 'l2 cache', 'unknown size'),
('cpu', 'physical_1', 'flags',
'fp asimd evtstrm cpuid'),
('cpu', 'physical_1', 'threads_per_core', 1),
('cpu', 'physical_2', 'vendor', 'APM'),
('cpu', 'physical_2', 'product', 'X-Gene'),
('cpu', 'physical_2', 'cores', 2),
('cpu', 'physical_2', 'threads', 2),
('cpu', 'physical_2', 'model', 0),
('cpu', 'physical_2', 'stepping', 0),
('cpu', 'physical_2', 'architecture', 'aarch64'),
('cpu', 'physical_2', 'l1d cache', 'unknown size'),
('cpu', 'physical_2', 'l1i cache', 'unknown size'),
('cpu', 'physical_2', 'l2 cache', 'unknown size'),
('cpu', 'physical_2', 'flags',
'fp asimd evtstrm cpuid'),
('cpu', 'physical_2', 'threads_per_core', 1),
('cpu', 'physical_3', 'vendor', 'APM'),
('cpu', 'physical_3', 'product', 'X-Gene'),
('cpu', 'physical_3', 'cores', 2),
('cpu', 'physical_3', 'threads', 2),
('cpu', 'physical_3', 'model', 0),
('cpu', 'physical_3', 'stepping', 0),
('cpu', 'physical_3', 'architecture', 'aarch64'),
('cpu', 'physical_3', 'l1d cache', 'unknown size'),
('cpu', 'physical_3', 'l1i cache', 'unknown size'),
('cpu', 'physical_3', 'l2 cache', 'unknown size'),
('cpu', 'physical_3', 'flags',
'fp asimd evtstrm cpuid'),
('cpu', 'physical_3', 'threads_per_core', 1),
('cpu', 'logical', 'number', 8),
('numa', 'nodes', 'count', 1),
('numa', 'node_0', 'cpu_count', 8),
('numa', 'node_0', 'cpu_mask', 'ff')]
GET_CPUS_PPC64LE = [('cpu', 'physical', 'number', 2),
('cpu', 'physical_0', 'product',
'POWER9, altivec supported'),
('cpu', 'physical_0', 'cores', 18),
('cpu', 'physical_0', 'threads', 72),
('cpu', 'physical_0', 'model', '2.2 (pvr 004e 1202)'),
('cpu', 'physical_0', 'architecture', 'ppc64le'),
('cpu', 'physical_0', 'l1d cache', '32K'),
('cpu', 'physical_0', 'l1i cache', '32K'),
('cpu', 'physical_0', 'l2 cache', '512K'),
('cpu', 'physical_0', 'l3 cache', '10240K'),
('cpu', 'physical_0', 'min_Mhz', 2300.0),
('cpu', 'physical_0', 'max_Mhz', 3800.0),
('cpu', 'physical_0', 'threads_per_core', 4),
('cpu', 'physical_1', 'product',
'POWER9, altivec supported'),
('cpu', 'physical_1', 'cores', 18),
('cpu', 'physical_1', 'threads', 72),
('cpu', 'physical_1', 'model', '2.2 (pvr 004e 1202)'),
('cpu', 'physical_1', 'architecture', 'ppc64le'),
('cpu', 'physical_1', 'l1d cache', '32K'),
('cpu', 'physical_1', 'l1i cache', '32K'),
('cpu', 'physical_1', 'l2 cache', '512K'),
('cpu', 'physical_1', 'l3 cache', '10240K'),
('cpu', 'physical_1', 'min_Mhz', 2300.0),
('cpu', 'physical_1', 'max_Mhz', 3800.0),
('cpu', 'physical_1', 'threads_per_core', 4),
('cpu', 'logical', 'number', 144),
('numa', 'nodes', 'count', 6),
('numa', 'node_0', 'cpu_count', 72),
('numa', 'node_0', 'cpu_mask', 'ffffffffffffffffff'),
('numa', 'node_8', 'cpu_count', 72),
('numa', 'node_8', 'cpu_mask',
'ffffffffffffffffff000000000000000000'),
('numa', 'node_252', 'cpu_count', 0),
('numa', 'node_252', 'cpu_mask', '0'),
('numa', 'node_253', 'cpu_count', 0),
('numa', 'node_253', 'cpu_mask', '0'),
('numa', 'node_254', 'cpu_count', 0),
('numa', 'node_254', 'cpu_mask', '0'),
('numa', 'node_255', 'cpu_count', 0),
('numa', 'node_255', 'cpu_mask', '0')]
|