Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Conversation

@jimmyaxod
Copy link
Contributor

This PR adds an option to disable VolatilityMonitor per device, which can reduce CPU usage.

VolatilityMonitors purpose is to monitor the writes on a per block basis, and then when a migration happens, it is able to send blocks in the best order - from least volatile to most volatile. This reduces the amount of dirty blocks, and reduces the data transfer when we are doing dirty loops.

However, if we just want to 'evacuate' quickly, rather than minimizing downtime, there is no benefit to using volatilityMonitor, and it just increases CPU load.

The PR adds a new device config which can be used in the future to hold any other migration type options. This starts with the bool "AnyOrder". If set to true, then VolatilityMonitor will not be used for the device.

@jimmyaxod jimmyaxod requested a review from lgfa29 April 16, 2025 12:20
Copy link
Contributor

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jimmyaxod jimmyaxod merged commit 5b7d109 into main Apr 16, 2025
4 checks passed
@jimmyaxod jimmyaxod deleted the jamesmoore/arch-354-add-option-to-disable-volatilitymonitor-in-silo branch April 16, 2025 13:42
@github-actions github-actions bot locked and limited conversation to collaborators Apr 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants