Skip to content

fix(sched_core): skip on non-SMT hosts and install C dev headers#4303

Merged
LiliDeng merged 1 commit intomicrosoft:mainfrom
rlmenge:rlmenge/sched_core_fixVMs
Feb 27, 2026
Merged

fix(sched_core): skip on non-SMT hosts and install C dev headers#4303
LiliDeng merged 1 commit intomicrosoft:mainfrom
rlmenge:rlmenge/sched_core_fixVMs

Conversation

@rlmenge
Copy link
Collaborator

@rlmenge rlmenge commented Feb 26, 2026

Tested the changes from #4299 on an AzureLinux Arm VM and hit errors where runtime SMT is not present. Therefore skip. Additionally, need to make sure on a clean VM that the headers are available.

  • Add runtime SMT check before running prctl test; core scheduling returns ENODEV on hosts without hyperthreading (e.g. ARM64 VMs)
  • Install glibc-devel, kernel-headers, and binutils to ensure the C test program compiles on minimal Azure Linux images

Validated on fresh Azure Arm64 and x86 VMs

- Add runtime SMT check before running prctl test; core scheduling
  returns ENODEV on hosts without hyperthreading (e.g. ARM64 VMs)
- Install glibc-devel, kernel-headers, and binutils to ensure the
  C test program compiles on minimal Azure Linux images
@rlmenge rlmenge force-pushed the rlmenge/sched_core_fixVMs branch from 3cccc07 to 1508592 Compare February 26, 2026 22:55
@LiliDeng LiliDeng merged commit ae8ced2 into microsoft:main Feb 27, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants