File: boot-benchmark.pod

package info (click to toggle)
libguestfs 1%3A1.40.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 123,660 kB
  • sloc: ansic: 460,074; ml: 63,059; sh: 14,955; java: 9,512; makefile: 9,133; cs: 6,300; haskell: 5,652; python: 3,856; perl: 3,619; erlang: 2,435; xml: 1,683; ruby: 350; pascal: 255; lex: 135; yacc: 128; cpp: 10
file content (69 lines) | stat: -rw-r--r-- 1,356 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69

=head1 名前

boot-benchmark - Benchmark the time taken to boot the libguestfs appliance

=head1 書式

 ./run utils/boot-benchmark/boot-benchmark

=head1 説明

Benchmark the time taken to boot the libguestfs appliance.

It is essentially the same as doing:

 time guestfish -a /dev/null run

except that it warms up the caches and repeats the test many times, printing
out the mean time and standard deviation.

This needs to be run on a quiet machine, so that other processes disturb the
timing as little as possible.  The program is completely safe to run at any
time.  It doesn't read or write any external files, and it doesn't require
root.

You can run it from the build directory on the built copy of libguestfs like
this:

 make
 ./run utils/boot-benchmark/boot-benchmark

If you omit C<./run> then it is run on the installed copy of libguestfs.

=head1 オプション

=over 4

=item B<--help>

簡単なヘルプを表示します。

=item B<--append> "OPTIONS"

Append C<OPTIONS> to the kernel command line.

=item B<-m> MB

=item B<--memsize> MB

Set the appliance memory size in MB.

=item B<--smp> N

Enable C<N> virtual CPUs.

=back

=head1 関連項目

L<guestfs-performance(1)>, L<http://libguestfs.org/>.

=head1 著者

Richard W.M. Jones L<http://people.redhat.com/~rjones/>

=head1 COPYRIGHT

Copyright (C) 2016 Red Hat Inc.