CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2019/12/11 20:53:38

Modified files:
        usr.sbin/vmctl : vmctl.c 
        usr.sbin/vmd   : parse.y vm.conf.5 vmd.c vmd.h 

Log message:
vmd: start vms defined in vm.conf in a staggered fashion

This addresses 'thundering herd' problem when a lot of
vms are configured in vm.conf.  A lot of vms booting in parallel can
overload the host and also mess up tsc calibration in openbsd guests as
it uses PIT which doesn't fire reliably if the host is overloaded.

We default to starting vms with parallelism of ncpuonline and a delay 30 seconds
between batches.  This is configurable in vm.conf.

ok mlarkin@ (also addressed comments from cheloha@)

Reply via email to