[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen boot time optimization


  • To: "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Thu, 5 Mar 2020 17:17:11 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s0QfXhzB0SXuoGC1i7oRb7Bt1V3KRco5PGI9UhB/R+g=; b=ZzXwDpNrEZHtP+cUeqry0MzyGVYV1BEVDF9Y8MAgFB4ZI3Vqi2oHp4+Ebx2+L7o4yiT2yL49vLoPuU3jwkG5VQ0z/QTb/bw7HhfYUmxuO/bxnF1Po2dlr/YB8mrhe1DRUQ0Acp/BPDhKuKHhgZtjHPv9BByI4Zq8JTjD59Ry6WQosxfvjhDN1L5jEgMB/28K4E5ihw4SqeqUp+HtWsb/PM0J7xEXeg645DYFy695AoubEOzw9ANE23SgkKNSygICWjl902EbdZCJiznW9gCNXvebHz/6zxoAQuNy+qcdjWo3NVRyuDDraOJVzTV2I2VKPWGEJWK5EWWPbEmLaR77hQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T30Hx/gakrAD3mZji20KoBP7PIfs8BcSW2JwJImd9J+oP3ZgQacWA7ociCAZta7mnGk4aHFiKvMo0/vDQZg8hjNbcNkNyT/hEGUxJQc2IPGNFOhkrad24F8OJjvbsbKoMH+KSIEJKYna/Gy0IxkOhqkkKDa+pQANeLh6ZoZJqY1ui1FoOWqOwpn/GR8zyp4gk5cUlUVTHk4cFGvWVX/lcXctzMbc0EQryhYmI338B8jYnGa8i9hmfC4Whwow5CqKqjfeiBibQNi0lSCfLESCNbaHwXbq6pnvmkoWoz2dkoSENrD+iPZ7NoJX7W0Rl/h2TcM9WSgekp/U0ScrxY6SiA==
  • Authentication-results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.xenproject.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.xenproject.org; dmarc=bestguesspass action=none header.from=arm.com;
  • Authentication-results-original: spf=none (sender IP is ) smtp.mailfrom=Bertrand.Marquis@xxxxxxx;
  • Cc: nd <nd@xxxxxxx>, Subhasree P V <subhasree.pv@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 05 Mar 2020 17:18:37 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bertrand.Marquis@xxxxxxx;
  • Thread-index: AQHV8v/QoARz9sVZ7kq7ll90vTUb/ag6Pc8A
  • Thread-topic: [Xen-users] Xen boot time optimization

Hi,

On 4 Mar 2020, at 10:40, Subhasree P V <subhasree.pv@xxxxxxxxxxxxxxxxxxx> wrote:

Hi,
I have been working with using XEN on ODROID-XU4 board.I would like to optimize the boot time of XEN to 3s. Currently it is taking about 5s to boot.I have disabled the prints.There is about 4s delay before kernel load.
Below is the log before disabling prints.
 
[2020-02-13 12:53:18.791] (XEN) Brought up 8 CPUs
[2020-02-13 12:53:18.791] (XEN) P2M: 40-bit IPA
[2020-02-13 12:53:18.791] (XEN) P2M: 3 levels with order-1 root, VTCR 0x80003558
[2020-02-13 12:53:18.797] (XEN) I/O virtualisation disabled
[2020-02-13 12:53:18.802] (XEN) *** LOADING DOMAIN 0 ***
[2020-02-13 12:53:18.802] (XEN) Loading kernel from boot module @ 0000000060000000
[2020-02-13 12:53:18.808] (XEN) Allocating 1:1 mappings totalling 1024MB for dom0:
[2020-02-13 12:53:19.578] (XEN) BANK[0] 0x00000070000000-0x000000b0000000 (1024MB)
[2020-02-13 12:53:19.578] (XEN) Grant table range: 0x000000be800000-0x000000be861000
[2020-02-13 12:53:19.624] (XEN) Loading zImage from 0000000060000000 to 0000000077c00000-0000000077f08f60
[2020-02-13 12:53:19.649] (XEN) Allocating PPI 16 for event channel interrupt
[2020-02-13 12:53:19.649] (XEN) Loading dom0 DTB to 0x0000000078000000-0x000000007800c2f0
[2020-02-13 12:53:19.654] (XEN) Scrubbing Free RAM on 1 nodes using 8 CPUs

You probably want to disable scrubbing memory to speed up your boot (add bootscrub=no to your command line).

Regards
Bertrand


[2020-02-13 12:53:19.915] (XEN) ..done.
[2020-02-13 12:53:20.168] (XEN) Initial low memory virq threshold set at 0x4000 pages.
[2020-02-13 12:53:20.174] (XEN) Std. Loglevel: All
[2020-02-13 12:53:20.174] (XEN) Guest Loglevel: All
[2020-02-13 12:53:20.174] (XEN) Freed 264kB init memory.
[2020-02-13 12:53:24.274] [    0.000000] [c0] Booting Linux on physical CPU 0x0


I'm getting a delay after Freed 264kB init memory.I'm not able to figure out the reason for delay.Is there any way to reduce the delay?Please help me to solve this.


Thank you.

This message contains confidential information and is intended only for the individual(s) named. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this mail and attached file/s is strictly prohibited. Please notify the sender immediately and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.