From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Date: Fri, 07 Aug 2009 19:50:23 +0000 Subject: Re: [Patch 0/7] Implement crashkernel=auto Message-Id: List-Id: References: <20090805112123.6552.73574.sendpatchset@localhost.localdomain> <20090805140408.GJ7259@hmsreliant.think-freely.org> <4A7A3A78.7080200@redhat.com> <4A7A506B.2060008@redhat.com> <4A7A70E5.2010204@redhat.com> <4A7A7A0F.6070906@redhat.com> <4A7A9E54.60705@redhat.com> In-Reply-To: <4A7A9E54.60705@redhat.com> (Amerigo Wang's message of "Thu\, 06 Aug 2009 17\:11\:48 +0800") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Amerigo Wang Cc: Neil Horman , linux-kernel@vger.kernel.org, tony.luck@intel.com, linux-ia64@vger.kernel.org, akpm@linux-foundation.org, Ingo Molnar , Anton Vorontsov , Andi Kleen , Bernhard Walle , Kexec Mailing List Let me put this concrete proposal on the table. The problem: With the current set of crashkernel= options we are asking the distribution installer to perform magic. Moving as much of this logic into a normal init script for better maintenance is desirable. My proposal: Implement crashkernel=max which reserves as much memory as is reasonable for a crash kernel, without seriously affecting stability, performance, and reliability. As an initial approximation I would use a 32nd of low memory. In addition implement: /sys/kernel/crash_size That can be written to (with enough privileges when no crash kernel is loaded) reduce the amount of memory reserved by the crash kernel. Bernhard does that sound useful to you? Amerigo does that seem reasonable? Eric