okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
cc86ad90d
main
1{ 2"probe" :"windows_processor_groups_affinity_probe.py" , 3"safety" :"Separate helper process. Affinity modified only on its own short-lived Python test threads; no Strata/model/server/process affinity was queried or changed." , 4"timestamp_local" :"2026-10-03 21:37:17 \u6771\u4eac (\u6a19\u6e96\u6642)" , 5"os" : { 6"platform" :"Windows-11-10.0.26300-SP0" , 7"version" :"10.0.26300" , 8"python" :"3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]" , 9"pointer_bits" :64 , 10"processor_count" :128 11 }, 12"helper_main_thread_affinity" : { 13"group" :1 , 14"mask_hex" :"0xFFFFFFFFFFFFFFFF" , 15"mask_processors" : [ 160 , 171 , 182 , 193 , 204 , 215 , 226 , 237 , 248 , 259 , 2610 , 2711 , 2812 , 2913 , 3014 , 3115 , 3216 , 3317 , 3418 , 3519 , 3620 , 3721 , 3822 , 3923 , 4024 , 4125 , 4226 , 4327 , 4428 , 4529 , 4630 , 4731 , 4832 , 4933 , 5034 , 5135 , 5236 , 5337 , 5438 , 5539 , 5640 , 5741 , 5842 , 5943 , 6044 , 6145 , 6246 , 6347 , 6448 , 6549 , 6650 , 6751 , 6852 , 6953 , 7054 , 7155 , 7256 , 7357 , 7458 , 7559 , 7660 , 7761 , 7862 , 7963 80 ], 81"current_processor" : { 82"group" :0 , 83"number" :36 84 } 85 }, 86"groups" : { 87"active_group_count" :2 , 88"active_processors_per_group" : [ 8964 , 9064 91 ], 92"total_active_processors_api" :128 , 93"physical_core_records" :64 , 94"cores_by_group" : { 95"0" : { 96"physical_core_records" :32 , 97"logical_processors_in_core_records" :64 , 98"representative_physical_core_logical_ids" : [ 990 , 1002 , 1014 , 1026 , 1038 , 10410 , 10512 , 10614 , 10716 , 10818 , 10920 , 11022 , 11124 , 11226 , 11328 , 11430 , 11532 , 11634 , 11736 , 11838 , 11940 , 12042 , 12144 , 12246 , 12348 , 12450 , 12552 , 12654 , 12756 , 12858 , 12960 , 13062 131 ], 132"first_4_core_smt_masks" : [ 133 [ 1340 , 1351 136 ], 137 [ 1382 , 1393 140 ], 141 [ 1424 , 1435 144 ], 145 [ 1466 , 1477 148 ] 149 ], 150"last_2_core_smt_masks" : [ 151 [ 15260 , 15361 154 ], 155 [ 15662 , 15763 158 ] 159 ] 160 }, 161"1" : { 162"physical_core_records" :32 , 163"logical_processors_in_core_records" :64 , 164"representative_physical_core_logical_ids" : [ 1650 , 1662 , 1674 , 1686 , 1698 , 17010 , 17112 , 17214 , 17316 , 17418 , 17520 , 17622 , 17724 , 17826 , 17928 , 18030 , 18132 , 18234 , 18336 , 18438 , 18540 , 18642 , 18744 , 18846 , 18948 , 19050 , 19152 , 19254 , 19356 , 19458 , 19560 , 19662 197 ], 198"first_4_core_smt_masks" : [ 199 [ 2000 , 2011 202 ], 203 [ 2042 , 2053 206 ], 207 [ 2084 , 2095 210 ], 211 [ 2126 , 2137 214 ] 215 ], 216"last_2_core_smt_masks" : [ 217 [ 21860 , 21961 220 ], 221 [ 22262 , 22363 224 ] 225 ] 226 } 227 } 228 }, 229"numa_nodes_relation_numa_node_ex" : [ 230 { 231"node" :0 , 232"groups" : [ 233 { 234"group" :0 , 235"mask_hex" :"0xFFFFFFFFFFFFFFFF" , 236"processors" : [ 2370 , 2381 , 2392 , 2403 , 2414 , 2425 , 2436 , 2447 , 2458 , 2469 , 24710 , 24811 , 24912 , 25013 , 25114 , 25215 , 25316 , 25417 , 25518 , 25619 , 25720 , 25821 , 25922 , 26023 , 26124 , 26225 , 26326 , 26427 , 26528 , 26629 , 26730 , 26831 , 26932 , 27033 , 27134 , 27235 , 27336 , 27437 , 27538 , 27639 , 27740 , 27841 , 27942 , 28043 , 28144 , 28245 , 28346 , 28447 , 28548 , 28649 , 28750 , 28851 , 28952 , 29053 , 29154 , 29255 , 29356 , 29457 , 29558 , 29659 , 29760 , 29861 , 29962 , 30063 301 ] 302 }, 303 { 304"group" :1 , 305"mask_hex" :"0xFFFFFFFFFFFFFFFF" , 306"processors" : [ 3070 , 3081 , 3092 , 3103 , 3114 , 3125 , 3136 , 3147 , 3158 , 3169 , 31710 , 31811 , 31912 , 32013 , 32114 , 32215 , 32316 , 32417 , 32518 , 32619 , 32720 , 32821 , 32922 , 33023 , 33124 , 33225 , 33326 , 33427 , 33528 , 33629 , 33730 , 33831 , 33932 , 34033 , 34134 , 34235 , 34336 , 34437 , 34538 , 34639 , 34740 , 34841 , 34942 , 35043 , 35144 , 35245 , 35346 , 35447 , 35548 , 35649 , 35750 , 35851 , 35952 , 36053 , 36154 , 36255 , 36356 , 36457 , 36558 , 36659 , 36760 , 36861 , 36962 , 37063 371 ] 372 } 373 ], 374"record_size" :64 375 } 376 ], 377"legacy_set_thread_affinity_tests" : [ 378 { 379"case" :"legacy_mask_for_flattened_group0_core_on_inherited_primary_group" , 380"target_group" :0 , 381"target_processor" :0 , 382"move_group_first" :false , 383"result" : { 384"before" : { 385"group" :1 , 386"mask_hex" :"0xFFFFFFFFFFFFFFFF" , 387"mask_processors" : [ 3880 , 3891 , 3902 , 3913 , 3924 , 3935 , 3946 , 3957 , 3968 , 3979 , 39810 , 39911 , 40012 , 40113 , 40214 , 40315 , 40416 , 40517 , 40618 , 40719 , 40820 , 40921 , 41022 , 41123 , 41224 , 41325 , 41426 , 41527 , 41628 , 41729 , 41830 , 41931 , 42032 , 42133 , 42234 , 42335 , 42436 , 42537 , 42638 , 42739 , 42840 , 42941 , 43042 , 43143 , 43244 , 43345 , 43446 , 43547 , 43648 , 43749 , 43850 , 43951 , 44052 , 44153 , 44254 , 44355 , 44456 , 44557 , 44658 , 44759 , 44860 , 44961 , 45062 , 45163 452 ], 453"current_processor" : { 454"group" :0 , 455"number" :37 456 } 457 }, 458"set_thread_affinity_mask" : { 459"requested_hex" :"0x0000000000000001" , 460"succeeded" :true , 461"returned_previous_hex" :"0xFFFFFFFFFFFFFFFF" , 462"error" :null 463 }, 464"after" : { 465"group" :1 , 466"mask_hex" :"0x0000000000000001" , 467"mask_processors" : [ 4680 469 ], 470"current_processor" : { 471"group" :1 , 472"number" :0 473 } 474 }, 475"expected_processor" : { 476"group" :0 , 477"number" :0 478 } 479 } 480 }, 481 { 482"case" :"group1_explicit_group_affinity_then_legacy_mask" , 483"target_group" :1 , 484"target_processor" :0 , 485"move_group_first" :true , 486"result" : { 487"before" : { 488"group" :1 , 489"mask_hex" :"0x0000000000000001" , 490"mask_processors" : [ 4910 492 ], 493"current_processor" : { 494"group" :1 , 495"number" :0 496 } 497 }, 498"set_thread_affinity_mask" : { 499"requested_hex" :"0x0000000000000001" , 500"succeeded" :true , 501"returned_previous_hex" :"0x0000000000000001" , 502"error" :null 503 }, 504"after" : { 505"group" :1 , 506"mask_hex" :"0x0000000000000001" , 507"mask_processors" : [ 5080 509 ], 510"current_processor" : { 511"group" :1 , 512"number" :0 513 } 514 }, 515"expected_processor" : { 516"group" :1 , 517"number" :0 518 } 519 } 520 } 521 ], 522"source_notes" : { 523"core_mask_parsing" :"SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX RelationProcessorCore; all GROUP_AFFINITY records read." , 524"numa_mask_parsing" :"RelationNumaNodeEx (relationship 6); variable GroupCount and full per-group masks read." , 525"affinity_scope" :"SetThreadGroupAffinity and SetThreadAffinityMask applied only to test threads created by this script. GetThreadGroupAffinity and GetCurrentProcessorNumberEx read back their placement." 526 } 527}