Lines Matching full:cores
30 * -sockets/cores/threads
36 .has_cores = hc, .cores = c, \
45 .cores = c, \
52 * -sockets/dies/modules/cores/threads
61 .has_cores = he, .cores = e, \
68 * -sockets/clusters/cores/threads
75 .has_cores = hd, .cores = d, \
82 * -drawers/books/sockets/cores/threads
91 .has_cores = he, .cores = e, \
99 * -drawers/books/sockets/dies/clusters/modules/cores/threads
110 .has_cores = true, .cores = h, \
118 * valid configuration, when sockets are preferred over cores
120 * valid configuration, when cores are preferred over sockets
133 * topology parameters (i.e. cpus/maxcpus/sockets/cores/threads),
140 * expect: cpus=1,sockets=1,cores=1,threads=1,maxcpus=1 */
146 * prefer_sockets: cpus=8,sockets=8,cores=1,threads=1,maxcpus=8
147 * prefer_cores: cpus=8,sockets=1,cores=8,threads=1,maxcpus=8 */
153 * expect: cpus=2,sockets=2,cores=1,threads=1,maxcpus=2 */
158 /* config: -smp cores=4
159 * expect: cpus=4,sockets=1,cores=4,threads=1,maxcpus=4 */
165 * expect: cpus=2,sockets=1,cores=1,threads=2,maxcpus=2 */
171 * prefer_sockets: cpus=16,sockets=16,cores=1,threads=1,maxcpus=16
172 * prefer_cores: cpus=16,sockets=1,cores=16,threads=1,maxcpus=16 */
178 * expect: cpus=8,sockets=2,cores=4,threads=1,maxcpus=8 */
183 /* config: -smp 8,cores=4
184 * expect: cpus=8,sockets=2,cores=4,threads=1,maxcpus=8 */
190 * prefer_sockets: cpus=8,sockets=4,cores=1,threads=2,maxcpus=8
191 * prefer_cores: cpus=8,sockets=1,cores=4,threads=2,maxcpus=8 */
197 * prefer_sockets: cpus=8,sockets=16,cores=1,threads=1,maxcpus=16
198 * prefer_cores: cpus=8,sockets=1,cores=16,threads=1,maxcpus=16 */
203 /* config: -smp sockets=2,cores=4
204 * expect: cpus=8,sockets=2,cores=4,threads=1,maxcpus=8 */
210 * expect: cpus=4,sockets=2,cores=1,threads=2,maxcpus=4 */
216 * expect: cpus=16,sockets=2,cores=8,threads=1,maxcpus=16 */
221 /* config: -smp cores=4,threads=2
222 * expect: cpus=8,sockets=1,cores=4,threads=2,maxcpus=8 */
227 /* config: -smp cores=4,maxcpus=16
228 * expect: cpus=16,sockets=4,cores=4,threads=1,maxcpus=16 */
234 * prefer_sockets: cpus=16,sockets=8,cores=1,threads=2,maxcpus=16
235 * prefer_cores: cpus=16,sockets=1,cores=8,threads=2,maxcpus=16 */
240 /* config: -smp 8,sockets=2,cores=4
241 * expect: cpus=8,sockets=2,cores=4,threads=1,maxcpus=8 */
247 * expect: cpus=8,sockets=2,cores=2,threads=2,maxcpus=8 */
253 * expect: cpus=8,sockets=2,cores=8,threads=1,maxcpus=16 */
258 /* config: -smp 8,cores=4,threads=2
259 * expect: cpus=8,sockets=1,cores=4,threads=2,maxcpus=8 */
264 /* config: -smp 8,cores=4,maxcpus=16
265 * expect: cpus=8,sockets=4,cores=4,threads=1,maxcpus=16 */
271 * prefer_sockets: cpus=8,sockets=8,cores=1,threads=2,maxcpus=16
272 * prefer_cores: cpus=8,sockets=1,cores=8,threads=2,maxcpus=16 */
277 /* config: -smp sockets=2,cores=4,threads=2
278 * expect: cpus=16,sockets=2,cores=4,threads=2,maxcpus=16 */
283 /* config: -smp sockets=2,cores=4,maxcpus=16
284 * expect: cpus=16,sockets=2,cores=4,threads=2,maxcpus=16 */
290 * expect: cpus=16,sockets=2,cores=4,threads=2,maxcpus=16 */
295 /* config: -smp cores=4,threads=2,maxcpus=16
296 * expect: cpus=16,sockets=2,cores=4,threads=2,maxcpus=16 */
301 /* config: -smp 8,sockets=2,cores=4,threads=1
302 * expect: cpus=8,sockets=2,cores=4,threads=1,maxcpus=8 */
307 /* config: -smp 8,sockets=2,cores=4,maxcpus=16
308 * expect: cpus=8,sockets=2,cores=4,threads=2,maxcpus=16 */
314 * expect: cpus=8,sockets=2,cores=4,threads=2,maxcpus=16 */
319 /* config: -smp 8,cores=4,threads=2,maxcpus=16
320 * expect: cpus=8,sockets=2,cores=4,threads=2,maxcpus=16 */
325 /* config: -smp sockets=2,cores=4,threads=2,maxcpus=16
326 * expect: cpus=16,sockets=2,cores=4,threads=2,maxcpus=16 */
331 /* config: -smp 8,sockets=2,cores=4,threads=2,maxcpus=16
332 * expect: cpus=8,sockets=2,cores=4,threads=2,maxcpus=16 */
341 * cores=2,threads=2,maxcpus=8
342 * expect: cpus=8,sockets=2,cores=2,threads=2,maxcpus=8 */
375 /* config: -smp 8,sockets=2,cores=4,threads=2,maxcpus=8 */
379 "sockets (2) * cores (4) * threads (2) "
382 /* config: -smp 18,sockets=2,cores=4,threads=2,maxcpus=16 */
386 "sockets (2) * cores (4) * threads (2) "
411 /* config: -smp 16,sockets=2,modules=2,cores=4,threads=2,maxcpus=16 */
416 "sockets (2) * modules (2) * cores (4) * threads (2) "
419 /* config: -smp 34,sockets=2,modules=2,cores=4,threads=2,maxcpus=32 */
424 "sockets (2) * modules (2) * cores (4) * threads (2) "
431 /* config: -smp 16,sockets=2,dies=2,cores=4,threads=2,maxcpus=16 */
436 "sockets (2) * dies (2) * cores (4) * threads (2) "
439 /* config: -smp 34,sockets=2,dies=2,cores=4,threads=2,maxcpus=32 */
444 "sockets (2) * dies (2) * cores (4) * threads (2) "
452 * config: -smp 200,sockets=3,dies=5,modules=2,cores=4,\
460 "cores (4) * threads (2) != maxcpus (200)",
463 * config: -smp 242,sockets=3,dies=5,modules=2,cores=4,\
471 "cores (4) * threads (2) "
478 /* config: -smp 16,sockets=2,clusters=2,cores=4,threads=2,maxcpus=16 */
482 "sockets (2) * clusters (2) * cores (4) * threads (2) "
485 /* config: -smp 34,sockets=2,clusters=2,cores=4,threads=2,maxcpus=32 */
489 "sockets (2) * clusters (2) * cores (4) * threads (2) "
496 /* config: -smp 16,books=2,sockets=2,cores=4,threads=2,maxcpus=16 */
501 "books (2) * sockets (2) * cores (4) * threads (2) "
504 /* config: -smp 34,books=2,sockets=2,cores=4,threads=2,maxcpus=32 */
509 "books (2) * sockets (2) * cores (4) * threads (2) "
516 /* config: -smp 16,drawers=2,sockets=2,cores=4,threads=2,maxcpus=16 */
521 "drawers (2) * sockets (2) * cores (4) * threads (2) "
524 /* config: -smp 34,drawers=2,sockets=2,cores=4,threads=2,maxcpus=32 */
529 "drawers (2) * sockets (2) * cores (4) * threads (2) "
537 * config: -smp 200,drawers=3,books=5,sockets=2,cores=4,\
545 "cores (4) * threads (2) != maxcpus (200)",
548 * config: -smp 242,drawers=3,books=5,sockets=2,cores=4,\
556 "cores (4) * threads (2) "
565 * clusters=2,modules=3,cores=7,threads=2,\
572 "clusters (2) * modules (3) * cores (7) * threads (2) "
577 * clusters=2,modules=3,cores=2,threads=2,
586 "cores (2) * threads (2) == maxcpus (2880) "
591 * clusters=2,modules=3,cores=3,threads=3,\
605 * clusters=1,modules=1,cores=1,threads=1,\
615 * clusters=1,modules=1,cores=1,threads=1,\
625 * clusters=1,modules=1,cores=1,threads=1,\
635 * clusters=1,modules=1,cores=1,threads=1,
645 * clusters=1,modules=1,cores=1,threads=1,\
655 * clusters=0,modules=1,cores=1,threads=1,\
665 * clusters=1,modules=0,cores=1,threads=1,\
673 * Test "cores=0".
675 * clusters=1,modules=1,cores=0,threads=1,
685 * clusters=1,modules=1,cores=1,threads=0,\
695 * clusters=1,modules=1,cores=1,threads=1,\
715 " .has_cores = %5s, cores = %" PRId64 ",\n" in smp_config_to_string()
726 config->has_cores ? "true" : "false", config->cores, in smp_config_to_string()
767 " .cores = %u,\n" in cpu_topology_to_string()
776 topo->modules, topo->cores, topo->threads, in cpu_topology_to_string()
821 (ms->smp.cores == expect_topo->cores) && in check_parse()