xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Stabellini <sstabellini@kernel.org>
To: Yessine Daoud <da.yessine@gmail.com>
Cc: anthony.perard@citrix.com, xen-devel@lists.xenproject.org,
	sstabellini@kernel.org, wei.liu2@citrix.com,
	ian.jackson@eu.citrix.com
Subject: Slow HVM boot time, was "HVM boot time optimization"
Date: Thu, 8 Feb 2018 08:31:40 -0800 (PST)	[thread overview]
Message-ID: <alpine.DEB.2.10.1802080826470.15787@sstabellini-ThinkPad-X260> (raw)
In-Reply-To: <CABLtV0BqS_Y6oMt8TyCx55Nf9mB=-L7To+xY2on76p+1KDyXSQ@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1975 bytes --]

CC'ing xen-devel and a few relevant people

On Thu, 8 Feb 2018, Yessine Daoud wrote:
> Dear Sir,
> I need your help please.
> 
> I am using a direct kernel boot (HVM guest) with kernel + ramdisk.
> At boot, seabios is bloqued about 20 seconds (or more) at the following state:
> 
> (d4) RamSizeOver4G: 0x0000000000000000 [cmos]
> (d4) boot order:
> (d4) 1: /rom@genroms/linuxboot.bin
> (d4) Found 4 PCI devices (max PCI bus is 00)
> (d4) Allocated Xen hypercall page at ffff000
> (d4) Detected Xen v4.9-unstable
> (d4) xen: copy BIOS tables...
> (d4) Copying SMBIOS entry point from 0x00010020 to 0x000f69b0
> (d4) Copying MPTABLE from 0xfc001170/fc001180 to 0x000f68b0
> (d4) Copying PIR from 0x00010040 to 0x000f6830
> (d4) CPU Mhz=1335
> (d4) Scan for VGA option rom
> (d4) ATA controller 1 at 1f0/3f4/c100 (irq 14 dev 9)
> (d4) ATA controller 2 at 170/374/c108 (irq 15 dev 9)
> (d4) Found 0 lpt ports
> (d4) Found 1 serial ports
> (d4) PS2 keyboard initialized
> (d4) All threads complete.
> (d4) Scan for option roms
> (d4) Running option rom at c000:0003
> (d4) Searching bootorder for: /rom@genroms/linuxboot.bin
> (d4) Searching bootorder for: HALT
> (d4) Space available for UMB: c0800-ec800, f61d0-f67f0
> (d4) Returned 258048 bytes of ZoneHigh
> (d4) e820 map has 6 items:
> (d4)   0: 0000000000000000 - 000000000009fc00 = 1 RAM
> (d4)   1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
> (d4)   2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
> (d4)   3: 0000000000100000 - 000000000ffff000 = 1 RAM
> (d4)   4: 000000000ffff000 - 0000000010000000 = 2 RESERVED
> (d4)   5: 00000000fc000000 - 0000000100000000 = 2 RESERVED
> (d4) enter handle_19:
> (d4)   NULL
> (d4) Booting from ROM...
> (d4) Booting from c000:00
> 
> 
> Then (after 20 seconds) the kernel starts booting.
> Any idea about this behavior?

I am guessing one of the ROMs take a long time to run. It might be
waiting for a timeout, like ipxe. Does anybody know about this issue?

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

       reply	other threads:[~2018-02-08 16:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABLtV0BqS_Y6oMt8TyCx55Nf9mB=-L7To+xY2on76p+1KDyXSQ@mail.gmail.com>
2018-02-08 16:31 ` Stefano Stabellini [this message]
2018-02-08 16:38   ` Slow HVM boot time, was "HVM boot time optimization" George Dunlap
2018-02-08 16:48   ` Wei Liu
2018-02-08 16:56     ` Anthony PERARD
2018-02-08 17:32       ` Wei Liu
2018-02-12  8:27         ` Yessine Daoud
2018-02-12 14:42           ` Wei Liu
2018-02-15 16:02             ` Yessine Daoud
2018-02-16  2:08               ` Alexey G
     [not found]                 ` <CABLtV0CnWM2fKQgCQSXdMDK57sOL1LRnLCXgd9ETkkdv4oJj2A@mail.gmail.com>
2018-02-16 10:40                   ` Alexey G

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1802080826470.15787@sstabellini-ThinkPad-X260 \
    --to=sstabellini@kernel.org \
    --cc=anthony.perard@citrix.com \
    --cc=da.yessine@gmail.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).