Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Daniel P. Berrange
On Tue, Jan 08, 2008 at 11:13:08AM -0800, Dave Hansen wrote: > On Tue, 2008-01-08 at 12:12 +0530, Amit Shah wrote: > > > BIOS-provided physical RAM map: > > > BIOS-e820: - 0009fc00 (usable) > > > BIOS-e820: 0009fc00 - 000a (reserved) > > > BIOS-e820:

Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Dave Hansen
On Tue, 2008-01-08 at 12:12 +0530, Amit Shah wrote: > > BIOS-provided physical RAM map: > > BIOS-e820: - 0009fc00 (usable) > > BIOS-e820: 0009fc00 - 000a (reserved) > > BIOS-e820: 000e8000 - 0010 (reserved) > > BIOS-e820:

Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Amit Shah
On Tuesday 08 January 2008 18:31:53 Amit Shah wrote: > On Tuesday 08 January 2008 12:12:53 Amit Shah wrote: > > On Tuesday 08 January 2008 03:35:48 Dave Hansen wrote: > > > With kvm-44, I thought my kernel was freezing during boot if I gave it > > > 1G of RAM. But, it boots fine with 512M. > > > >

Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Izik Eidus
On Tue, 2008-01-08 at 18:31 +0530, Amit Shah wrote: > On Tuesday 08 January 2008 12:12:53 Amit Shah wrote: > > On Tuesday 08 January 2008 03:35:48 Dave Hansen wrote: > > > With kvm-44, I thought my kernel was freezing during boot if I gave it > > > 1G of RAM. But, it boots fine with 512M. > > > >

Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Amit Shah
On Tuesday 08 January 2008 12:12:53 Amit Shah wrote: > On Tuesday 08 January 2008 03:35:48 Dave Hansen wrote: > > With kvm-44, I thought my kernel was freezing during boot if I gave it > > 1G of RAM. But, it boots fine with 512M. > > > > So, I instrumented the kernel, and found out that it is just

Re: [kvm-devel] Slow Kernel Boot

2008-01-07 Thread Amit Shah
On Tuesday 08 January 2008 03:35:48 Dave Hansen wrote: > With kvm-44, I thought my kernel was freezing during boot if I gave it > 1G of RAM. But, it boots fine with 512M. > > So, I instrumented the kernel, and found out that it is just taking a > long time to memset a 58MB area of memory for mem_m

Re: [kvm-devel] Slow Kernel Boot

2008-01-07 Thread Dave Hansen
On Tue, 2008-01-08 at 00:46 +0200, Izik Eidus wrote: > Dave Hansen wrote: > > On Tue, 2008-01-08 at 00:16 +0200, Izik Eidus wrote: > > > >> Dave Hansen wrote: > >> > >>> With kvm-44, I thought my kernel was freezing during boot if I gave it > >>> 1G of RAM. But, it boots fine with 512M. >

Re: [kvm-devel] Slow Kernel Boot

2008-01-07 Thread Izik Eidus
Dave Hansen wrote: > On Tue, 2008-01-08 at 00:16 +0200, Izik Eidus wrote: > >> Dave Hansen wrote: >> >>> With kvm-44, I thought my kernel was freezing during boot if I gave it >>> 1G of RAM. But, it boots fine with 512M. >>> >>> So, I instrumented the kernel, and found out that it is just

Re: [kvm-devel] Slow Kernel Boot

2008-01-07 Thread Dave Hansen
On Tue, 2008-01-08 at 00:16 +0200, Izik Eidus wrote: > Dave Hansen wrote: > > With kvm-44, I thought my kernel was freezing during boot if I gave it > > 1G of RAM. But, it boots fine with 512M. > > > > So, I instrumented the kernel, and found out that it is just taking a > > long time to memset a

Re: [kvm-devel] Slow Kernel Boot

2008-01-07 Thread Izik Eidus
Dave Hansen wrote: > With kvm-44, I thought my kernel was freezing during boot if I gave it > 1G of RAM. But, it boots fine with 512M. > > So, I instrumented the kernel, and found out that it is just taking a > long time to memset a 58MB area of memory for mem_map[]. It appears to > be taking a m

[kvm-devel] Slow Kernel Boot

2008-01-07 Thread Dave Hansen
With kvm-44, I thought my kernel was freezing during boot if I gave it 1G of RAM. But, it boots fine with 512M. So, I instrumented the kernel, and found out that it is just taking a long time to memset a 58MB area of memory for mem_map[]. It appears to be taking a mmio_exit for every access of e