EnglishFrenchSpanish

OnWorks favicon

perf-kvm - Online in the Cloud

Run perf-kvm in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command perf-kvm that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


perf-kvm - Tool to trace/measure kvm guest os

SYNOPSIS


perf kvm [--host] [--guest] [--guestmount=<path>
[--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]]
{top|record|report|diff|buildid-list} [<options>]
perf kvm [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path>
| --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>]
'perf kvm stat [record|report|live] [<options>]

DESCRIPTION


There are a couple of variants of perf kvm:

'perf kvm [options] top <command>' to generates and displays
a performance counter profile of guest os in realtime
of an arbitrary workload.

'perf kvm record <command>' to record the performance counter profile
of an arbitrary workload and save it into a perf data file. We set the
default behavior of perf kvm as --guest, so if neither --host nor --guest
is input, the perf data file name is perf.data.guest. If --host is input,
the perf data file name is perf.data.kvm. If you want to record data into
perf.data.host, please input --host --no-guest. The behaviors are shown as
following:
Default('') -> perf.data.guest
--host -> perf.data.kvm
--guest -> perf.data.guest
--host --guest -> perf.data.kvm
--host --no-guest -> perf.data.host

'perf kvm report' to display the performance counter profile information
recorded via perf kvm record.

'perf kvm diff' to displays the performance difference amongst two perf.data
files captured via perf record.

'perf kvm buildid-list' to display the buildids found in a perf data file,
so that other tools can be used to fetch packages with matching symbol tables
for use by perf report. As buildid is read from /sys/kernel/notes in os, then
if you want to list the buildid for guest, please make sure your perf data file
was captured with --guestmount in perf kvm record.

'perf kvm stat <command>' to run a command and gather performance counter
statistics.
Especially, perf 'kvm stat record/report' generates a statistical analysis
of KVM events. Currently, vmexit, mmio (x86 only) and ioport (x86 only)
events are supported. 'perf kvm stat record <command>' records kvm events
and the events between start and end <command>.
And this command produces a file which contains tracing results of kvm
events.

'perf kvm stat report' reports statistical data which includes events
handled time, samples, and so on.

'perf kvm stat live' reports statistical data in a live mode (similar to
record + report but with statistical data updated live at a given display
rate).

OPTIONS


-i, --input=<path>
Input file name.

-o, --output=<path>
Output file name.

--host
Collect host side performance profile.

--guest
Collect guest side performance profile.

--guestmount=<path>
Guest os root file system mount directory. Users mounts guest os root directories
under <path> by a specific filesystem access method, typically, sshfs. For example,
start 2 guest os. The one’s pid is 8888 and the other’s is 9999. #mkdir /guestmount;
cd/guestmount #sshfs -o allow_other,direct_io -p 5551 localhost:/ 8888/ #sshfs -o
allow_other,direct_io -p 5552 localhost:/ 9999/ #perf kvm --host --guest
--guestmount=~/guestmount top

--guestkallsyms=<path>
Guest os /proc/kallsyms file copy. perf kvm' reads it to get guest kernel symbols.
Users copy it out from guest os.

--guestmodules=<path>
Guest os /proc/modules file copy. perf kvm' reads it to get guest kernel module
information. Users copy it out from guest os.

--guestvmlinux=<path>
Guest os kernel vmlinux.

-v, --verbose
Be more verbose (show counter open errors, etc).

STAT REPORT OPTIONS


--vcpu=<value>
analyze events which occur on this vcpu. (default: all vcpus)

--event=<value>
event to be analyzed. Possible values: vmexit, mmio (x86 only), ioport (x86 only).
(default: vmexit)

-k, --key=<value>
Sorting key. Possible values: sample (default, sort by samples number), time (sort by
average time).

-p, --pid=
Analyze events only for given process ID(s) (comma separated list).

STAT LIVE OPTIONS


-d, --display
Time in seconds between display updates

-m, --mmap-pages=
Number of mmap data pages (must be a power of two) or size specification with appended
unit character - B/K/M/G. The size is rounded up to have nearest pages power of two
value.

-a, --all-cpus
System-wide collection from all CPUs.

-p, --pid=
Analyze events only for given process ID(s) (comma separated list).

--vcpu=<value>
analyze events which occur on this vcpu. (default: all vcpus)

--event=<value>
event to be analyzed. Possible values: vmexit, mmio (x86 only), ioport (x86 only).
(default: vmexit)

-k, --key=<value>
Sorting key. Possible values: sample (default, sort by samples number), time (sort by
average time).

--duration=<value>
Show events other than HLT (x86 only) or Wait state (s390 only) that take longer than
duration usecs.

--proc-map-timeout
When processing pre-existing threads /proc/XXX/mmap, it may take a long time, because
the file may be huge. A time out is needed in such cases. This option sets the time
out limit. The default value is 500 ms.

Use perf-kvm online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad