On Thu, Aug 31, 2017 at 11:31:55AM +0800, Peter Xu wrote: > Before getting to an conclusion, just want to make sure we have got a > consensus on that at least we should start to move the monitor command > handling into a separate thread rather than main thread, am I correct?
Certainly agree on that, moving dispatch of monitor commands out of the main thread is critical IMHO. The main thread should only ever be doing work that is gauranteed non-blockable and completable in a short, finite amount of time. This means at most it should do I/O only for the monitor. 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 :|