Mailing List Archive

XEN 4.6-Delay Loading Domains
Hi,
I'm using xen 4.6 version as PV hypervisor.
The boot log has an unexpected delay of 4 sec before loading Domains.
Logs are attached below.
Could you please provide some patches to reduce this delay?


**** LOADING DOMAIN 0 ****
[2020-03-13 09:53:18.797] (XEN) I/O virtualisation disabled
[2020-03-13 09:53:18.802] (XEN) *** LOADING DOMAIN 0 ***
[2020-03-13 09:53:18.802] (XEN) Loading kernel from boot module @
0000000060000000
[2020-03-13 09:53:18.808] (XEN) Allocating 1:1 mappings totalling 1024MB
for dom0:
[2020-03-13 09:53:19.578] (XEN) BANK[0] 0x00000070000000-0x000000b0000000
(1024MB)
[2020-03-13 09:53:19.578] (XEN) Grant table range:
0x000000be800000-0x000000be861000
[2020-03-13 09:53:19.624] (XEN) Loading zImage from 0000000060000000 to
0000000077c00000-0000000077f08f60
[2020-03-13 09:53:19.649] (XEN) Allocating PPI 16 for event channel
interrupt
[2020-03-13 09:53:19.649] (XEN) Loading dom0 DTB to
0x0000000078000000-0x000000007800c2f0
[2020-03-13 09:53:19.654] (XEN) Scrubbing Free RAM on 1 nodes using 8 CPUs
[2020-03-13 09:53:19.915] (XEN) ..done.
[2020-03-13 09:53:20.168] (XEN) Initial low memory virq threshold set at
0x4000 pages.
[2020-03-13 09:53:20.174] (XEN) Std. Loglevel: All
[2020-03-13 09:53:20.174] (XEN) Guest Loglevel: All

*[2020-03-13 09:53:20.174] (XEN) Freed 264kB init memory.[2020-03-13
09:53:24.274] [ 0.000000] [c0] Booting Linux on physical CPU 0x0*


**** LOADING DOMAIN U ****
[2020-03-13 10:31:58.960] domainbuilder: detail: domain builder memory
footprint
[2020-03-13 10:31:58.965] domainbuilder: detail: allocated
[2020-03-13 10:31:58.971] domainbuilder: detail: malloc :
1626 kB
[2020-03-13 10:31:58.977] domainbuilder: detail: anon mmap :
0 bytes
[2020-03-13 10:31:58.982] domainbuilder: detail: mapped
[2020-03-13 10:31:58.982] domainbuilder: detail: file mmap :
4136 kB
[2020-03-13 10:31:58.988] domainbuilder: detail: domU mmap :
4144 kB
[2020-03-13 10:31:58.993] domainbuilder: detail: vcpu_arm32: called
[2020-03-13 10:31:58.999] domainbuilder: detail: Initial state CPSR 0x1d3
PC 0x40008000
[2020-03-13 10:31:59.024] domainbuilder: detail: launch_vm: called,
ctxt=0xb6f86004
[2020-03-13 10:31:59.024] domainbuilder: detail: xc_dom_gnttab_hvm_seed:
called, pfn=0x38000

*[2020-03-13 10:31:59.036] domainbuilder: detail: xc_dom_release:
called[2020-03-13 10:32:02.223] [ 0.000000] Booting Linux on physical
CPU 0x0*


*Thanks in advance,*

*Gopika BG*
Re: XEN 4.6-Delay Loading Domains [ In reply to ]
On 13/03/2020 05:23, gopika bg wrote:
> Hi,

Hello,

> I'm using xen 4.6 version as PV hypervisor.

I am slightly confused, your log below suggests you are booting Xen on
Arm. However, we never had PV guest support.

But, may I ask why you are using Xen 4.6? This is a bit an out-of-date
version of Xen (5 years old). The latest stable (Xen 4.13) contains a
lot of improvement and bug fixes.

> The boot log has an unexpected delay of 4 sec before loading Domains.
> Logs are attached below.

Without more details your setup (hardware used, guest configuration...),
it is difficult to know where the delay comes from. So can you please
provide more information?

> Could you please provide some patches to reduce this delay?

I would strongly recommend to move to at least the latest stable (Xen
4.13). But if you are trying to optimize your boot time, then switching
to master (upcoming release) will bring you up-to-date will all the new
improvements we may have done.

Cheers,

--
Julien Grall

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