[PATCH 0/3] Timestamp messages during guestfs_launch
I found this useful when looking at where the time goes during guestfs_launch, and in fact using this I've reduced the launch time from around 12 seconds on my machine to 7 or 8 seconds. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
With this patch, kernel boot messages get prefixed with a timestamp counting from the boot, although in fact early messages (before kernel command line parsing) don't get timestamped. The output looks something like this: [ 0.003999] Calibrating delay loop (skipped) preset value.. 5866.95 BogoMIPS (lpj=2933478) [ 0.007546] Security Framework initialized [ 0.009056] SELinux: Disabled at boot. [ 0.012702] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.016942] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.020233] Mount-cache hash table entries: 256 Of course you only see this when the verbose flag is set. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
The timestamped messages look like this: [00000ms] begin building supermin appliance [02295ms] finished building supermin appliance [02295ms] begin testing qemu features [02313ms] finished testing qemu features Note that the time to build the supermin appliance has somehow grown from a fraction of a second to 2 seconds! That's a separate issue that needs to be investigated. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
participants (1)
-
Richard W.M. Jones