Skip to content
Snippets Groups Projects
Commit baa60983 authored by Hyman Huang's avatar Hyman Huang Committed by Dr. David Alan Gilbert
Browse files

softmmu/dirtylimit: Implement virtual CPU throttle


Setup a negative feedback system when vCPU thread
handling KVM_EXIT_DIRTY_RING_FULL exit by introducing
throttle_us_per_full field in struct CPUState. Sleep
throttle_us_per_full microseconds to throttle vCPU
if dirtylimit is in service.

Signed-off-by: default avatarHyman Huang(黄勇) <huangy81@chinatelecom.cn>
Reviewed-by: default avatarPeter Xu <peterx@redhat.com>
Message-Id: <977e808e03a1cef5151cae75984658b6821be618.1656177590.git.huangy81@chinatelecom.cn>
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
parent 4a06a7cc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment