From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ozlabs.org ([103.22.144.67]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XvBLk-0008BZ-Ey for kexec@lists.infradead.org; Sun, 30 Nov 2014 20:44:09 +0000 Date: Mon, 1 Dec 2014 07:43:19 +1100 From: Anton Blanchard Subject: Re: [PATCH 3/5]: ipr: kexec boot speed improvements Message-ID: <20141201074319.7ded3d8e@kryten> In-Reply-To: <20140827140630.1f0ee455@kryten> References: <53D6B2A4.4010102@linux.vnet.ibm.com> <20140827140630.1f0ee455@kryten> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Brian King Cc: kexec@lists.infradead.org, Wendy Xiong , linux-scsi , "James E.J. Bottomley" Hi Brian, > > Currently when performing a kexec boot with an ipr adapter, > > the adapter gets shutdown completely, flushing all write > > cache, as well as performing a full hardware reset of the card > > during the shutdown phase of the old kernel. This forces > > the new kernel to then wait for the adapter firmware to > > reinitialize, which slows down kexec boot. There is no > > need to do all of this on the newer ipr adapters, since they > > support the ability to cancel outstanding error buffers. > > > > This patch adds a special case for kexec boot to simply > > cancel these outstanding error buffers, and as long as > > there is no other I/O outstanding to the adapter, which > > there shouldn't be, place the adapter into a state > > where it has no memory of any DMA addresses from the old > > kernel, then disable the device. This significantly > > speeds up kexec boot, particularly in configurations with > > multiple ipr adapters. > > > > Signed-off-by: Brian King > > --- > > This reduces boot time on my box from 80 seconds to 34 seconds. ppc64 > kernel developers (who boot boxes continually) thank you! > > Tested-by: Anton Blanchard Just checking on this series. I'm very keen to see it go in since it is a huge improvement in boot time. Anton _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec