Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

VTune error=89

Dny
Beginner
448 Views
Hello,
I observed following error for profiling one of my application.

The Activity has been successfully created.
The Activity is running.
Fri Jul 17 09:12:30 2009 127.0.0.1 (Run 0) Setting Sampling CPU mask to 0-15
Fri Jul 17 09:12:30 2009 127.0.0.1 (Run 0) The processor PMU configuration file: pmn.xml
Fri Jul 17 09:12:30 2009 127.0.0.1 (Run 0) Calibration for the following event(s) is being performed:
Fri Jul 17 09:12:30 2009 127.0.0.1 (Run 0) MEM_LOAD_RETIRED.LLC_MISS, MEM_LOAD_RETIRED.LLC_UNSHARED_HIT, MEM_LOAD_RETIRED.OTHER_CORE_L2_HIT_HITM, UOPS_ISSUED.ANY.

Fri Jul 17 09:24:00 2009 127.0.0.1 (Run 0) Setting Sampling CPU mask to 0-15
Fri Jul 17 09:24:00 2009 127.0.0.1 (Run 0) The processor PMU configuration file: pmn.xml
Fri Jul 17 09:24:00 2009 127.0.0.1 (Run 0) Collection for the following event(s) is being performed:
Fri Jul 17 09:24:00 2009 127.0.0.1 (Run 0) CPU_CLK_UNHALTED.THREAD, INST_RETIRED.ANY, MEM_LOAD_RETIRED.LLC_MISS, MEM_LOAD_RETIRED.LLC_UNSHARED_HIT, MEM_LOAD_RETIRED.OTHER_CORE_L2_HIT_HITM, UOPS_ISSUED.ANY.

Remote agent on thimpu (192.168.3.112) port 43303 reports:

[ERROR] Attempt to perform sampling failed.

[ERROR] unable to stop driver (error=89): sample file creation failed

The remote agent on,

thimpu (192.168.3.112) port 43303

reported the following error:

an error occurred during sampling

The Activity has finished running.

Can you please give some suggestion for this error ?

Thanking you,

Regards,
Dny
0 Kudos
6 Replies
Peter_W_Intel
Employee
448 Views
Quoting - Dny
Hello,
I observed following error for profiling one of my application.

The Activity has been successfully created.
The Activity is running.
Fri Jul 17 09:12:30 2009 127.0.0.1 (Run 0) Setting Sampling CPU mask to 0-15
Fri Jul 17 09:12:30 2009 127.0.0.1 (Run 0) The processor PMU configuration file: pmn.xml
Fri Jul 17 09:12:30 2009 127.0.0.1 (Run 0) Calibration for the following event(s) is being performed:
Fri Jul 17 09:12:30 2009 127.0.0.1 (Run 0) MEM_LOAD_RETIRED.LLC_MISS, MEM_LOAD_RETIRED.LLC_UNSHARED_HIT, MEM_LOAD_RETIRED.OTHER_CORE_L2_HIT_HITM, UOPS_ISSUED.ANY.

Fri Jul 17 09:24:00 2009 127.0.0.1 (Run 0) Setting Sampling CPU mask to 0-15
Fri Jul 17 09:24:00 2009 127.0.0.1 (Run 0) The processor PMU configuration file: pmn.xml
Fri Jul 17 09:24:00 2009 127.0.0.1 (Run 0) Collection for the following event(s) is being performed:
Fri Jul 17 09:24:00 2009 127.0.0.1 (Run 0) CPU_CLK_UNHALTED.THREAD, INST_RETIRED.ANY, MEM_LOAD_RETIRED.LLC_MISS, MEM_LOAD_RETIRED.LLC_UNSHARED_HIT, MEM_LOAD_RETIRED.OTHER_CORE_L2_HIT_HITM, UOPS_ISSUED.ANY.

Remote agent on thimpu (192.168.3.112) port 43303 reports:

[ERROR] Attempt to perform sampling failed.

[ERROR] unable to stop driver (error=89): sample file creation failed

The remote agent on,

thimpu (192.168.3.112) port 43303

reported the following error:

an error occurred during sampling

The Activity has finished running.

Can you please give some suggestion for this error ?

Thanking you,

Regards,
Dny

I assume/guess it could be - previous sampling session was not stopped, but next sessionstarted. (You uses many CPU events, they willrun in multiple sessions.)

My recommendations are:
1.Restart machine to ensure that vtune driver is ready
2. Change Sample After Value (SAV) ofevents to large number, sample interval will be bigger - do it on "Sample Configure" dialog.
3. (Optional) Reduce/remove CPU events to be asingle session activity, create new activity for Others.

Regards, Peter
0 Kudos
David_A_Intel1
Employee
448 Views
Another recommendation would be to turn on the verbose option of the remote agent (vtserver) and see if the additional information provides any insight into the problem. See output of "vtserver -h".

0 Kudos
Dny
Beginner
448 Views
Another recommendation would be to turn on the verbose option of the remote agent (vtserver) and see if the additional information provides any insight into the problem. See output of "vtserver -h".


Hello Sir,
Thanks for your reply.
Can you please explain how to turn on verbose option of vtserver ?
Do I need to run "vtserver -v" command after vtl command or need to change any vtl command parameter ?

Thanking you,

Regards,
Dny

0 Kudos
Peter_W_Intel
Employee
448 Views
Quoting - Dny

Hello Sir,
Thanks for your reply.
Can you please explain how to turn on verbose option of vtserver ?
Do I need to run "vtserver -v" command after vtl command or need to change any vtl command parameter ?

Thanking you,

Regards,
Dny


I think that you can use original options for vtserver or vtl command, just add "-v" option which will not impact on other options.

Regards, Peter
0 Kudos
Dny
Beginner
448 Views

I think that you can use original options for vtserver or vtl command, just add "-v" option which will not impact on other options.

Regards, Peter


Hello Sir,

Its strange I found -v option on man page of vtl command but when I tried failed saying unknown option.

VTune Performance Analyzer 9.1 for Linux* build 226
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.

Syntax error: '-v' is an unknown option.
Enter 'vtl -help activity' for valid syntax.

Thanking you,
Regards,
Dny.
0 Kudos
Peter_W_Intel
Employee
448 Views
Quoting - Dny


Hello Sir,

Its strange I found -v option on man page of vtl command but when I tried failed saying unknown option.

VTune Performance Analyzer 9.1 for Linux* build 226
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.

Syntax error: '-v' is an unknown option.
Enter 'vtl -help activity' for valid syntax.

Thanking you,
Regards,
Dny.

Hi,

Here I give you a simple example -

[root@kentsfield-01 ~]# vtl -v activity -c sampling -d 10 run
VTune Performance Analyzer 9.1 for Linux* build 226
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.

The Activity has been successfully created.

Name: Activity41
Duration: 10 sec
Start with data collection paused: no

Data Collectors:
1. Sampling (127.0.0.1)
Collector type: Sampling
Master: no
Enabled: yes
Options:
-avail-cpu-mask all
-si 1
-sb 2000
-sd 0
-term yes
-ttc yes
-sm ebs
-sterm yes
-msc 0
-ec en='CPU_CLK_UNHALTED.CORE':sa=1998000,en='INST_RETIRED.ANY':sa=1998000

Running 'Activity41'....

The Activity is running.
Thu Jul 23 09:41:50 2009 127.0.0.1 (Run 0) Setting Sampling CPU mask to 0-3
Thu Jul 23 09:41:50 2009 127.0.0.1 (Run 0) The processor PMU configuration file: pmp.xml
Thu Jul 23 09:41:51 2009 127.0.0.1 (Run 0) Collection for the following event(s) is being performed:
Thu Jul 23 09:41:51 2009 127.0.0.1 (Run 0) CPU_CLK_UNHALTED.CORE, INST_RETIRED.ANY.

Thu Jul 23 09:42:01 2009 127.0.0.1 (Run 0) Sampling data was successfully collected.
The Activity has finished running.

[root@kentsfield-01 ~]#

Regards, Peter

0 Kudos
Reply