Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-22 Thread Vivek Goyal
On Mon, Oct 22, 2012 at 03:32:19PM +0900, HATAYAMA Daisuke wrote: [..] > BTW, I feel you basically shows positive attitude to this patch set > itself. I believe that kdump has merits only. Could you tell me what > is needed for this patch set to be acked by you? I don't have any objections to bri

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-22 Thread Michael Holzheu
On Fri, 19 Oct 2012 11:17:53 -0400 Vivek Goyal wrote: [..] > On Fri, Oct 19, 2012 at 12:20:54PM +0900, HATAYAMA Daisuke wrote: > I am skeptical that this approach is going to fly in practice. Dumping > huge images, processing and transferring these is not very practical. > So I would rather narr

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-22 Thread H. Peter Anvin
On 10/15/2012 11:38 PM, HATAYAMA Daisuke wrote: Thanks for pointing out this. And I've recalled my investigation in the past now. So I want to stop retrying your patch v9 now. This NMI method is definitely not applicable to 2nd kernel without any change. Your NMI method assumes BSP thread is ha

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-21 Thread HATAYAMA Daisuke
From: Vivek Goyal Subject: Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Fri, 19 Oct 2012 11:17:53 -0400 > On Fri, Oct 19, 2012 at 12:20:54PM +0900, HATAYAMA Daisuke wrote: > > [..] >> > Instead of capturing the dump of whole memory, isn't it more ef

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-19 Thread Vivek Goyal
On Fri, Oct 19, 2012 at 12:20:54PM +0900, HATAYAMA Daisuke wrote: [..] > > Instead of capturing the dump of whole memory, isn't it more efficient > > to capture the crash dump of VM in question and then if need be just > > take filtered crash dump of host kernel. > > > > I think that trying to t

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-18 Thread HATAYAMA Daisuke
From: Vivek Goyal Subject: Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Thu, 18 Oct 2012 10:14:49 -0400 > On Thu, Oct 18, 2012 at 12:08:05PM +0900, HATAYAMA Daisuke wrote: > > [..] >> > Do you have any rough numbers on what kind of speed up we are looking

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-18 Thread Vivek Goyal
On Thu, Oct 18, 2012 at 12:08:05PM +0900, HATAYAMA Daisuke wrote: [..] > > Do you have any rough numbers on what kind of speed up we are looking > > at. IOW, what % of time is gone compressing a filetered dump. On large > > memory machines, saving huge dump files is anyway not an option due to > >

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-17 Thread Vivek Goyal
On Tue, Oct 16, 2012 at 01:35:17PM +0900, HATAYAMA Daisuke wrote: > Multiple CPUs are useful for CPU-bound processing like compression and > I do want to use compression to generate crash dump quickly. But now > we cannot wakeup the 2nd and later cpus in the kdump 2nd kernel if > crash happens on A

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread HATAYAMA Daisuke
From: "Yu, Fenghua" Subject: RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Tue, 16 Oct 2012 05:14:46 + >> >> My motivation is to use multiple CPUs in order to quickly generate >> >> crash dump on the machine with huge amount of memory. I

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread HATAYAMA Daisuke
From: HATAYAMA Daisuke Subject: Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Tue, 16 Oct 2012 14:03:13 +0900 > From: "Yu, Fenghua" > Subject: RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP > Date: Tue, 16 Oct 2012 04:51:36 + > >

RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread Yu, Fenghua
> >> My motivation is to use multiple CPUs in order to quickly generate > >> crash dump on the machine with huge amount of memory. I assume such > >> machine tends to also have a lot of CPUs. So disabling one CPU would > >> be no problem. > > > > Luckily you don't need to disable any CPU to archive

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread HATAYAMA Daisuke
From: "Yu, Fenghua" Subject: RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Tue, 16 Oct 2012 04:51:36 + >> -Original Message- >> From: HATAYAMA Daisuke [mailto:d.hatay...@jp.fujitsu.com] >> Sent: Monday, October 15, 2012 9:35 PM >>

RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread Yu, Fenghua
Yu, > Fenghua; vgo...@redhat.com; ebied...@xmission.com; > grant.lik...@secretlab.ca; rob.herr...@calxeda.com; > d.hatay...@jp.fujitsu.com > Subject: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP > > Multiple CPUs are useful for CPU-bound processing like compression a

[PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread HATAYAMA Daisuke
Multiple CPUs are useful for CPU-bound processing like compression and I do want to use compression to generate crash dump quickly. But now we cannot wakeup the 2nd and later cpus in the kdump 2nd kernel if crash happens on AP. If crash happens on AP, kexec enters the 2nd kernel with the AP, and th