From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: kernel bootup slow issue on ovm3.1.1 Date: Thu, 30 Aug 2012 10:03:12 +0100 Message-ID: <20120830090312.GA54290@ocelot.phlegethon.org> References: <5020F003020000780009322C@nat28.tlf.novell.com> <502235E8.9040309@oracle.com> <50229B840200007800093A73@nat28.tlf.novell.com> <5023860E.7080908@oracle.com> <5023AE960200007800093DE8@nat28.tlf.novell.com> <502490A7.7020603@oracle.com> <502535280200007800094322@nat28.tlf.novell.com> <5028B3AB.7060705@oracle.com> <5028E53202000078000946B1@nat28.tlf.novell.com> <503DAA5F.5030306@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <503DAA5F.5030306@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "zhenzhong.duan" Cc: Satish Kantheti , Stefano Stabellini , Konrad Rzeszutek Wilk , Feng Jin , xen-devel , Jan Beulich List-Id: xen-devel@lists.xenproject.org At 13:36 +0800 on 29 Aug (1346247391), zhenzhong.duan wrote: > > > ??? 2012-08-13 17:29, Jan Beulich ??????: > >>>>On 13.08.12 at 09:58, "zhenzhong.duan" > >>>>wrote: > >>??? 2012-08-10 22:22, Jan Beulich ??????: > >>>Going back to your original mail, I wonder however why this > >>>gets done at all. You said it got there via > >>> > >>>mtrr_aps_init() > >>> \-> set_mtrr() > >>> \-> mtrr_work_handler() > >>> > >>>yet this isn't done unconditionally - see the comment before > >>>checking mtrr_aps_delayed_init. Can you find out where the > >>>obviously necessary call(s) to set_mtrr_aps_delayed_init() > >>>come(s) from? > >>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. > >Indeed, and that (in one form or another) has been done > >virtually forever in Linux. I wonder why the problem wasn't > >noticed (or looked into, if it was noticed) so far. > > > >As it's going to be rather difficult to convince the Linux folks > >to change their code (plus this wouldn't help with existing > >kernels anyway), we'll need to find a way to improve this in > >the hypervisor. > Hi Jan, Tim > Is this issue improvable from xen side? Probably; we're looking into the best way to address it. Tim.