- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to get VTune installed in a virtual environ. Specifically, an Amazon EC2 instance running ubuntu. I understand not all hardware counters are exposed, so functionality may be limited (Per Thomas Wilham's response). But all I need to get is a system wide hotspot (which process->function takes most time). I tried to install the drivers and have the following error throw up.
sudo ./insmod-sep3 -r -g users
ERROR: XEN dom0 is not supported ... exiting.
grep: /proc/xen/capabilities: No such file or directory
So the question is can Vtune be run in such an environment at all ? I would imagine there must be a way to just get function hotspots.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VTune Amplifier XE 2016 Update 2 requirements (in Release Notes) state:
- XEN 4.0 and higher for User Domain (domU)'
What version of XEN are you trying to use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not 100% sure my commands are right. But though there is an error, from following it looks like 4.2 ?
sudo xm info
ERROR: Can't find version 4.2 of xen utils, bailing out!
sudo xl info
ERROR: Can't find version 4.2 of xen utils, bailing out!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
For hardware EBS analysis on VMs specified in Release Notes - you don't need sampling driver registration, analysis runs a driverless sampling collection via Linux Perf* tool.
Can you please try to run a simple EBS analysis and see if it works?
>amplxe-cl -c advanced-hotspots -d 5
If it doesn't work - please provide output of below command:
>amplxe-runss --context-value-list
Regards, Katya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Katya - it didn't work. Here's the log
targetOS: Linux
OS: Linux
isPtraceScopeLimited: true
isTSXAvailable: false
isHTEnabled: true
isSGXAvailable: false
LinuxRelease: 3.13.0-74-generic
Hypervisor: XenVMMXenVMM
isPtraceAvailable: true
areGpuHardwareMetricsAvailable: UnsupportedInterfaceVersion
ETW: NA
isEtwDxSupported: no
isEtwCLRSupported: no
isPowerAnalysisAvailable: PlatformError
isPowerKernelStacksAvailable: false
isFtraceAvailable: notAccesible
isMdfEtwAvailable: false
isCSwitchAvailable: no
isGpuBusynessAvailable: unsupportedHardware
isGpuBusynessDetailsAvailable: unsupportedHardware
isGpuWaitAvailable: no
isFunctionTracingAvailable: no
isIowaitTracingAvailable: no
isVSyncAvailable: no
isSEPDriverAvailable: false
platformType: 99
CPU_NAME: Intel(R) Xeon(R) E5/E7 v3 processor
PMU: haswell_server
referenceFrequency: 2400000000
isVTSSPPDriverAvailable: false
isNMIWatchDogTimerRunning: true
LinuxPerfCredentials: Kernel
LinuxPerfCapabilities: breakpoint:raw;software:raw;tracepoint:raw
LinuxPerfStackCapabilities: fp,dwarf
isTPSSAvailable: true
isPytraceAvailable: true
isGENDebugInfoAvailable: false
------------Error below during the run-------------------
amplxe: Error: Cannot enable Hardware Event-based Sampling: problem with the driver (sep*/sepdrv*). Check that the driver is running and the driver group is in the current user group list. See "Building and Managing the Sampling Driver" help topic for further details.
amplxe: Error: Cannot enable advanced capabilities for Hardware Event-based Sampling: problem with the driver (vtss/vtsspp). Check that the driver is running and the driver group is in the current user group list. See "Building and Managing the Sampling Driver" help topic for further details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Dom0 is not supported - PMU virtualization is currently under construction there.
Only User Domains (DomU) can be profiled by VTune for now.
Regards, Alex

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page