Skip to content
  • Keqian Zhu's avatar
    cbbf8182
    migration/throttle: Add cpu-throttle-tailslow migration parameter · cbbf8182
    Keqian Zhu authored
    
    
    At the tail stage of throttling, the Guest is very sensitive to
    CPU percentage while the @cpu-throttle-increment is excessive
    usually at tail stage.
    
    If this parameter is true, we will compute the ideal CPU percentage
    used by the Guest, which may exactly make the dirty rate match the
    dirty rate threshold. Then we will choose a smaller throttle increment
    between the one specified by @cpu-throttle-increment and the one
    generated by ideal CPU percentage.
    
    Therefore, it is compatible to traditional throttling, meanwhile
    the throttle increment won't be excessive at tail stage. This may
    make migration time longer, and is disabled by default.
    
    Signed-off-by: default avatarKeqian Zhu <zhukeqian1@huawei.com>
    Message-Id: <20200413101508.54793-1-zhukeqian1@huawei.com>
    Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
    Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
    cbbf8182
    migration/throttle: Add cpu-throttle-tailslow migration parameter
    Keqian Zhu authored
    
    
    At the tail stage of throttling, the Guest is very sensitive to
    CPU percentage while the @cpu-throttle-increment is excessive
    usually at tail stage.
    
    If this parameter is true, we will compute the ideal CPU percentage
    used by the Guest, which may exactly make the dirty rate match the
    dirty rate threshold. Then we will choose a smaller throttle increment
    between the one specified by @cpu-throttle-increment and the one
    generated by ideal CPU percentage.
    
    Therefore, it is compatible to traditional throttling, meanwhile
    the throttle increment won't be excessive at tail stage. This may
    make migration time longer, and is disabled by default.
    
    Signed-off-by: default avatarKeqian Zhu <zhukeqian1@huawei.com>
    Message-Id: <20200413101508.54793-1-zhukeqian1@huawei.com>
    Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
    Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Loading