Hi Fabian, As your hint , I use the systemd-analyze to get the machine boot time as below:
real machine: Startup finished in 1.657s (kernel) + 34.576s (initrd) + 38.054s (userspace) = 1min 14.288s virtual machine: Startup finished in 1.382s (kernel) + 2.624s (initrd) + 37.547s (userspace) = 41.554s The main difference is about initrd's load time. And i found a similar problem's discuss post in the opensuse community. Link: http://lists.opensuse.org/opensuse-factory/2013-03/msg00177.html Summary from the post: " With grub2, it loads in 2-3 seconds on an HP dv2815 laptop with a modest AMD Turion CPU at 2 GHz. The difference might be grub2, or it might be due to poor performance for an i7 running in 8686-compatibility mode. I doubt that Intel spent much time optimizing those operations. " > -----Original Message----- > From: Fabian Deutsch [mailto:[email protected]] > Sent: Thursday, August 15, 2013 5:23 PM > To: Bohai (ricky) > Cc: [email protected]; Luohao (A); Haofeng; [email protected] > Subject: Re: [node-devel] about boot time of ovirt-node > > Am Donnerstag, den 15.08.2013, 07:13 +0000 schrieb Bohai (ricky): > > Hi all, > > > > In the use of ovirt-node , I found a strange thing. > > Ovirt-node system boots more faster in a virtual machine than a real > machine. > > (Because of no enough real machine, sometimes I use virtual machine > > to test the setup and install function. And the real machine is absolutely > > more > power > > than the real machine.) > > > > I don't to know why and how to find the reason about it. > > Or whether it's a problem of ovirt-node? > > I suppose you mean the OS part of the boot process? So not including > POST and other bios related stuff. > On the Fedora based node you could run a systemd-analyze to find out > what service is taking how much time. > > Greetings > fabian > > > Any help or hint is welcome. > > > > Best regards to you. > > Ricky > > > > _______________________________________________ > > node-devel mailing list > > [email protected] > > http://lists.ovirt.org/mailman/listinfo/node-devel > _______________________________________________ node-devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-devel
