Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Nov 2016 18:12:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-virtualization@FreeBSD.org
Subject:   [Bug 203682] Slow boot under VMware Fusion w/ UEFI firmware and SMP -- until APs are launched
Message-ID:  <bug-203682-27103-MiIkrW67R2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203682-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203682-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203682

--- Comment #8 from John Baldwin <jhb@FreeBSD.org> ---
The problem with monitor/mwait is that it has to be emulated by the hypervi=
sor
(you get a VM-exit for it), but that's actually hard to do because the
hypervisor can't tell when the relevant line is going to be updated (I'm pr=
etty
sure that bhyve just returns immediately from mwait for example).  We can
however put the APs to sleep while spinning on aps_ready via hlt and use an=
 IPI
to resume them.  This should work with most if not all hypervisors.  That s=
aid,
I do plan to enable EARLY_AP_STARTUP in 12 anyway (perhaps I'll do it at the
vendor summit later this week).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203682-27103-MiIkrW67R2>