Skip to content

nvme: Add adaptive PCIe link rate switching function - #16

Open
ghost wants to merge 1 commit into
for-next_basefrom
series/1199823=>for-next
Open

ghost wants to merge 1 commit into
for-next_basefrom
series/1199823=>for-next

Conversation

@ghost

@ghost ghost commented Nov 10, 2026

Copy link
Copy Markdown

Pull request for series with
subject: nvme: Add adaptive PCIe link rate switching function
version: 1
url: https://patchwork.kernel.org/series/1199823/

@ghost

ghost commented Nov 10, 2026

Copy link
Copy Markdown
Author

Upstream branch: de52810
series: https://patchwork.kernel.org/series/1199823/
version: 1

@ghost
ghost force-pushed the for-next_base branch from 8c33852 to 18eb5ad Compare November 10, 2026 10:19
Add support for dynamically adjusting the PCIe link rate of NVMe
devices based on I/O activity. The link is downgraded to a
configurable minimum rate during periods of low activity to save
power, and upgraded to the maximum supported rate as soon as the
workload exceeds a computed threshold, so that peak performance is
maintained under load.

The amount of transferred data is accumulated on the I/O submission
path and aggregated by a per-controller timer. The threshold is
derived from the bandwidth of the minimum and maximum rates such that
the extra time required to transfer the data at the minimum rate does
not exceed the estimated link retraining time.

The feature is currently only supported on Hygon platforms.

Signed-off-by: Liao Xuan <liaoxuan@open-hieco.net>
Signed-off-by: default avatarZheng Tan <tanzheng@kylinos.cn>
@ghost

ghost commented Nov 10, 2026

Copy link
Copy Markdown
Author

Upstream branch: de52810
series: https://patchwork.kernel.org/series/1199823/
version: 1

@ghost
ghost force-pushed the series/1199823=>for-next branch from 003b3cf to cbb50cc Compare November 10, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants