On Tue, Jun 25, 2024 at 10:53:41AM -0400, Peter Xu wrote: > Then the question is how should we suggest the user to specify these two > parameters. > > The cover letter used: > > migrate_set_parameter downtime-limit 300 > migrate_set_parameter switchover-limit 10
What this means is that in practice the total downtime limit is 310 ms, however, expressing this as two parameters is incredibly inflexible. If the actual RAM transfer downtime only took 50 ms, then why should the switchover downtime still be limited to 10ms, when we've still got a budget of 250 ms that was unused. IOW, if my VM tolerates a downtime of 310ms, then I want that 310ms spread across the RAM transfer downtime and switchover downtime in *any* ratio. ALl that matters is the overall completion time. IMHO exposing 2 distinct parameters is horrible from a usability POV. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|