1boot-benchmark(1) Virtualization Support boot-benchmark(1)
2
3
4
6 boot-benchmark - Benchmark the time taken to boot the libguestfs
7 appliance
8
10 ./run utils/boot-benchmark/boot-benchmark
11
13 Benchmark the time taken to boot the libguestfs appliance.
14
15 It is essentially the same as doing:
16
17 time guestfish -a /dev/null run
18
19 except that it warms up the caches and repeats the test many times,
20 printing out the mean time and standard deviation.
21
22 This needs to be run on a quiet machine, so that other processes
23 disturb the timing as little as possible. The program is completely
24 safe to run at any time. It doesn't read or write any external files,
25 and it doesn't require root.
26
27 You can run it from the build directory on the built copy of libguestfs
28 like this:
29
30 make
31 ./run utils/boot-benchmark/boot-benchmark
32
33 If you omit "./run" then it is run on the installed copy of libguestfs.
34
36 --help
37 Display brief help.
38
39 --append "OPTIONS"
40 Append "OPTIONS" to the kernel command line.
41
42 -m MB
43 --memsize MB
44 Set the appliance memory size in MB.
45
46 --smp N
47 Enable "N" virtual CPUs.
48
50 guestfs-performance(1), http://libguestfs.org/.
51
53 Richard W.M. Jones http://people.redhat.com/~rjones/
54
56 Copyright (C) 2016 Red Hat Inc.
57
59 This program is free software; you can redistribute it and/or modify it
60 under the terms of the GNU General Public License as published by the
61 Free Software Foundation; either version 2 of the License, or (at your
62 option) any later version.
63
64 This program is distributed in the hope that it will be useful, but
65 WITHOUT ANY WARRANTY; without even the implied warranty of
66 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
67 General Public License for more details.
68
69 You should have received a copy of the GNU General Public License along
70 with this program; if not, write to the Free Software Foundation, Inc.,
71 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
72
74 To get a list of bugs against libguestfs, use this link:
75 https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools
76
77 To report a new bug against libguestfs, use this link:
78 https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools
79
80 When reporting a bug, please supply:
81
82 · The version of libguestfs.
83
84 · Where you got libguestfs (eg. which Linux distro, compiled from
85 source, etc)
86
87 · Describe the bug accurately and give a way to reproduce it.
88
89 · Run libguestfs-test-tool(1) and paste the complete, unedited output
90 into the bug report.
91
92
93
94libguestfs-1.38.2 2018-05-15 boot-benchmark(1)