{ "probe": "windows_processor_groups_affinity_probe.py", "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.", "timestamp_local": "2026-10-03 21:37:17 \u6771\u4eac (\u6a19\u6e96\u6642)", "os": { "platform": "Windows-11-10.0.26300-SP0", "version": "10.0.26300", "python": "3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]", "pointer_bits": 64, "processor_count": 128 }, "helper_main_thread_affinity": { "group": 1, "mask_hex": "0xFFFFFFFFFFFFFFFF", "mask_processors": [ 0, 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 ], "current_processor": { "group": 0, "number": 36 } }, "groups": { "active_group_count": 2, "active_processors_per_group": [ 64, 64 ], "total_active_processors_api": 128, "physical_core_records": 64, "cores_by_group": { "0": { "physical_core_records": 32, "logical_processors_in_core_records": 64, "representative_physical_core_logical_ids": [ 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62 ], "first_4_core_smt_masks": [ [ 0, 1 ], [ 2, 3 ], [ 4, 5 ], [ 6, 7 ] ], "last_2_core_smt_masks": [ [ 60, 61 ], [ 62, 63 ] ] }, "1": { "physical_core_records": 32, "logical_processors_in_core_records": 64, "representative_physical_core_logical_ids": [ 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62 ], "first_4_core_smt_masks": [ [ 0, 1 ], [ 2, 3 ], [ 4, 5 ], [ 6, 7 ] ], "last_2_core_smt_masks": [ [ 60, 61 ], [ 62, 63 ] ] } } }, "numa_nodes_relation_numa_node_ex": [ { "node": 0, "groups": [ { "group": 0, "mask_hex": "0xFFFFFFFFFFFFFFFF", "processors": [ 0, 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 ] }, { "group": 1, "mask_hex": "0xFFFFFFFFFFFFFFFF", "processors": [ 0, 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 ] } ], "record_size": 64 } ], "legacy_set_thread_affinity_tests": [ { "case": "legacy_mask_for_flattened_group0_core_on_inherited_primary_group", "target_group": 0, "target_processor": 0, "move_group_first": false, "result": { "before": { "group": 1, "mask_hex": "0xFFFFFFFFFFFFFFFF", "mask_processors": [ 0, 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 ], "current_processor": { "group": 0, "number": 37 } }, "set_thread_affinity_mask": { "requested_hex": "0x0000000000000001", "succeeded": true, "returned_previous_hex": "0xFFFFFFFFFFFFFFFF", "error": null }, "after": { "group": 1, "mask_hex": "0x0000000000000001", "mask_processors": [ 0 ], "current_processor": { "group": 1, "number": 0 } }, "expected_processor": { "group": 0, "number": 0 } } }, { "case": "group1_explicit_group_affinity_then_legacy_mask", "target_group": 1, "target_processor": 0, "move_group_first": true, "result": { "before": { "group": 1, "mask_hex": "0x0000000000000001", "mask_processors": [ 0 ], "current_processor": { "group": 1, "number": 0 } }, "set_thread_affinity_mask": { "requested_hex": "0x0000000000000001", "succeeded": true, "returned_previous_hex": "0x0000000000000001", "error": null }, "after": { "group": 1, "mask_hex": "0x0000000000000001", "mask_processors": [ 0 ], "current_processor": { "group": 1, "number": 0 } }, "expected_processor": { "group": 1, "number": 0 } } } ], "source_notes": { "core_mask_parsing": "SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX RelationProcessorCore; all GROUP_AFFINITY records read.", "numa_mask_parsing": "RelationNumaNodeEx (relationship 6); variable GroupCount and full per-group masks read.", "affinity_scope": "SetThreadGroupAffinity and SetThreadAffinityMask applied only to test threads created by this script. GetThreadGroupAffinity and GetCurrentProcessorNumberEx read back their placement." } }