|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] kernel bootup slow issue on ovm3.1.1
Ccing satish who first find this issue. ä 2012-08-10 22:22, Jan Beulich åé: On 10.08.12 at 06:40, "zhenzhong.duan"<zhenzhong.duan@xxxxxxxxxx> wrote:ä 2012-08-09 18:35, Jan Beulich åé:On 09.08.12 at 11:42, "zhenzhong.duan"<zhenzhong.duan@xxxxxxxxxx> wrote:ä 2012-08-08 23:01, Jan Beulich åé:On 08.08.12 at 11:48, "zhenzhong.duan"<zhenzhong.duan@xxxxxxxxxx> wrote:ä 2012-08-07 16:37, Jan Beulich åé: Some spin at stop_machine after finish their job.And here you'd need to find out what they're waiting for, and what those CPUs are doing.They are waiting the vcpu calling generic_set_all and those spin at set_atomicity_lock. In fact, all are waiting generic_set_allI think we're moving in circles - what is the vCPU currently generic_set_all() then doing?Add some debug print, generic_set_all->prepare_set->write_cr0 took much time, all else are quick. set_atomicity_lock serialized this process between cpus, make it worse. One iteration: MTRR: CPU 2 prepare_set: before read_cr0 prepare_set: before write_cr0 ------*block here* At bootup stage, set_mtrr_aps_delayed_init is called by native_smp_prepare_cpus. mtrr_aps_delayed_init is always set to ture for intel processor in upstream code.
From VMCS dump, looks PAUSE exiting is 0, PLE is 1. (XEN) *** Control State *** (XEN) PinBased=0000003f CPUBased=b6a065fe SecondaryExec=000004eb zduan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |