From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753380AbbBMPe7 (ORCPT ); Fri, 13 Feb 2015 10:34:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52172 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753254AbbBMPe6 (ORCPT ); Fri, 13 Feb 2015 10:34:58 -0500 Date: Fri, 13 Feb 2015 23:34:38 +0800 From: Baoquan He To: Joerg Roedel Cc: Joerg Roedel , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Konrad Rzeszutek Wilk , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] x86, crash: Allocate enough low-mem when crashkernel=high Message-ID: <20150213153438.GA4483@dhcp-17-102.nay.redhat.com> References: <1420555874-11506-1-git-send-email-joro@8bytes.org> <1420555874-11506-4-git-send-email-joro@8bytes.org> <20150123084453.GL2461@dhcp-16-105.nay.redhat.com> <20150126120756.GF30345@8bytes.org> <20150201084103.GB1573@dhcp-17-102.nay.redhat.com> <20150204141020.GB10078@suse.de> <20150209122042.GA29106@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150209122042.GA29106@8bytes.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/09/15 at 01:20pm, Joerg Roedel wrote: > Hi Baoquan, > > On Wed, Feb 04, 2015 at 03:10:20PM +0100, Joerg Roedel wrote: > > That makes sense. I also asked the customer to test intermediate values, > > we already know that it works with 256MB but also that 128MB are not > > enough. I will report back when I have the results of the intermediate > > values in 32MB steps. > > I got the results from the customer, and it turns out that a value of > 192MB is sufficient to make the kdump succeed. It fails with 128MB and > 160MB. > > So I think we can settle in 192MB for now. What do you think? Hi Joerg, Sorry for late reply. So that machine need eat memory between 160M and 192M. Then how about setting it as 256M? Since 192M seems very close to the brink, and setting it larger can keep enough space to extend for increasing dma device on larger machines, otherwise this value could be increased soon. Wasting some low memory is better than kdump kernel can't bootup caused by not enough low memory. If someone grudge the low mem they can specify crashkernel=size,low manually. Conclusively, I like 256M since the testing data showed it's sufficient now and should be save for a long time. Thanks Baoquan