canonical / canonical/multipass

[Hyper-V] Use I/O scheduler noop/none for better disk I/O performance

Open
#4,677 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

**What are you trying to do?**
When running on Hyper-V, the recommendation is to _[pass] the scheduling decisions to the underlying Hyper-V hypervisor_: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/best-practices-for-running-linux-on-hyper-v#use-io-scheduler-noopnone-for-better-disk-io-performance.

We'd still better measure first, considering 2 cases:

- Hyper-V on bare metal
- Hyper-V running nested on KVM

Users should be able to do this manually too, so not the highest priority.

Contributor guide

Open the contributing guide

Research direction

Start by measuring I/O scheduler behavior in the two environments named in the issue: Hyper-V on bare metal and Hyper-V nested on KVM. Then inspect the existing Hyper-V handling and scheduler configuration paths. Done should include evidence from both cases and a clear way for users to apply the scheduler choice manually or automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
infrastructure, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.