Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-13 Thread Stefano Garzarella
Hi all, this is an update of QEMU/NEMU booting time. After the preliminary results, Rob found the reason of NEMU delays: they were related to the PIT and the PCI initialization. (He sent me a temporary hack to fix the issues) Afterward, he discovered that there is a huge difference between the 4.1

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-10 Thread Stefano Garzarella
Hi Maran, On Wed, Dec 5, 2018 at 7:04 PM Maran Wilson wrote: > > On 12/5/2018 5:20 AM, Stefan Hajnoczi wrote: > > On Tue, Dec 04, 2018 at 02:44:33PM -0800, Maran Wilson wrote: > >> On 12/3/2018 8:35 AM, Stefano Garzarella wrote: > >>> On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford > >>> wrote: > >

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-07 Thread Stefan Hajnoczi
On Thu, Dec 06, 2018 at 06:47:54AM -0800, Maran Wilson wrote: > On 12/6/2018 2:38 AM, Stefan Hajnoczi wrote: > > On Wed, Dec 05, 2018 at 10:04:36AM -0800, Maran Wilson wrote: > > > On 12/5/2018 5:20 AM, Stefan Hajnoczi wrote: > > > > On Tue, Dec 04, 2018 at 02:44:33PM -0800, Maran Wilson wrote: > >

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-06 Thread Maran Wilson
On 12/6/2018 2:38 AM, Stefan Hajnoczi wrote: On Wed, Dec 05, 2018 at 10:04:36AM -0800, Maran Wilson wrote: On 12/5/2018 5:20 AM, Stefan Hajnoczi wrote: On Tue, Dec 04, 2018 at 02:44:33PM -0800, Maran Wilson wrote: On 12/3/2018 8:35 AM, Stefano Garzarella wrote: On Mon, Dec 3, 2018 at 4:44 PM

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-06 Thread Stefan Hajnoczi
On Wed, Dec 05, 2018 at 10:04:36AM -0800, Maran Wilson wrote: > On 12/5/2018 5:20 AM, Stefan Hajnoczi wrote: > > On Tue, Dec 04, 2018 at 02:44:33PM -0800, Maran Wilson wrote: > > > On 12/3/2018 8:35 AM, Stefano Garzarella wrote: > > > > On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford > > > > wrote: >

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-05 Thread Maran Wilson
On 12/5/2018 5:20 AM, Stefan Hajnoczi wrote: On Tue, Dec 04, 2018 at 02:44:33PM -0800, Maran Wilson wrote: On 12/3/2018 8:35 AM, Stefano Garzarella wrote: On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford wrote: Hi Stefano, thanks for capturing all these numbers, On Mon, 2018-12-03 at 15:27 +0100,

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-05 Thread Stefano Garzarella
Hi Philippe, On Wed, Dec 5, 2018 at 1:26 PM Philippe Mathieu-Daudé wrote: > > Hi Stefano, > > On 3/12/18 17:35, Stefano Garzarella wrote: > > On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford > > wrote: > >> > >> Hi Stefano, thanks for capturing all these numbers, > >> > >> On Mon, 2018-12-03 at 15:2

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-05 Thread Boris Ostrovsky
On 12/5/18 8:20 AM, Stefan Hajnoczi wrote: > On Tue, Dec 04, 2018 at 02:44:33PM -0800, Maran Wilson wrote: >> >> Since then, we have put together an alternative solution that would allow >> Qemu to boot an uncompressed Linux binary via the x86/HVM direct boot ABI >> (https://xenbits.xen.org/docs/un

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-05 Thread Stefan Hajnoczi
On Tue, Dec 04, 2018 at 02:44:33PM -0800, Maran Wilson wrote: > On 12/3/2018 8:35 AM, Stefano Garzarella wrote: > > On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford > > wrote: > > > Hi Stefano, thanks for capturing all these numbers, > > > > > > On Mon, 2018-12-03 at 15:27 +0100, Stefano Garzarella w

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-05 Thread Philippe Mathieu-Daudé
Hi Stefano, On 3/12/18 17:35, Stefano Garzarella wrote: > On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford wrote: >> >> Hi Stefano, thanks for capturing all these numbers, >> >> On Mon, 2018-12-03 at 15:27 +0100, Stefano Garzarella wrote: >>> Hi Rob, >>> I continued to investigate the boot time, and a

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-05 Thread Stefano Garzarella
On Tue, Dec 4, 2018 at 11:45 PM Maran Wilson wrote: > > On 12/3/2018 8:35 AM, Stefano Garzarella wrote: > > On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford > > wrote: > >> Hi Stefano, thanks for capturing all these numbers, > >> > >> On Mon, 2018-12-03 at 15:27 +0100, Stefano Garzarella wrote: > >>>

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-04 Thread Maran Wilson
On 12/3/2018 8:35 AM, Stefano Garzarella wrote: On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford wrote: Hi Stefano, thanks for capturing all these numbers, On Mon, 2018-12-03 at 15:27 +0100, Stefano Garzarella wrote: Hi Rob, I continued to investigate the boot time, and as you suggested I looked a

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-03 Thread Stefano Garzarella
On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford wrote: > > Hi Stefano, thanks for capturing all these numbers, > > On Mon, 2018-12-03 at 15:27 +0100, Stefano Garzarella wrote: > > Hi Rob, > > I continued to investigate the boot time, and as you suggested I > > looked also at qemu-lite 2.11.2 > > (http

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-03 Thread Rob Bradford
Hi Stefano, thanks for capturing all these numbers, On Mon, 2018-12-03 at 15:27 +0100, Stefano Garzarella wrote: > Hi Rob, > I continued to investigate the boot time, and as you suggested I > looked also at qemu-lite 2.11.2 > (https://github.com/kata-containers/qemu) and NEMU "virt" machine. I > d

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-12-03 Thread Stefano Garzarella
Hi Rob, I continued to investigate the boot time, and as you suggested I looked also at qemu-lite 2.11.2 (https://github.com/kata-containers/qemu) and NEMU "virt" machine. I did the following tests using the Kata kernel configuration (https://github.com/kata-containers/packaging/blob/master/kernel/

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-11-27 Thread Stefano Garzarella
Hi Rob, On Tue, Nov 27, 2018 at 10:57 AM Rob Bradford wrote: > > Hi Stefano, > > On Mon, 2018-11-26 at 17:40 +0100, Stefano Garzarella wrote: > > Hi Samuel, Rob, > > I'm proceeding to compare several x86 firmwares in order to > > understand > > which suits better with -kernel option to have a fas

Re: [Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-11-27 Thread Rob Bradford
Hi Stefano, On Mon, 2018-11-26 at 17:40 +0100, Stefano Garzarella wrote: > Hi Samuel, Rob, > I'm proceeding to compare several x86 firmwares in order to > understand > which suits better with -kernel option to have a fast boot with > QEMU/NEMU. > > For your use cases, what boot time do you expect

[Qemu-devel] QEMU/NEMU boot time with several x86 firmwares

2018-11-26 Thread Stefano Garzarella
Hi Samuel, Rob, I'm proceeding to compare several x86 firmwares in order to understand which suits better with -kernel option to have a fast boot with QEMU/NEMU. For your use cases, what boot time do you expect? I compared SeaBIOS, qboot, and OVMF. I started each test using this qemu parameters: