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

getting started: summary information can not be obtained

sparc1998
Beginner
954 Views
I am just getting started using vtune. I have installed it for linux on a Celeron M cpu. I am trying to follow the getting started guide and am attempting to use the First-Use Wizard to try to collect data about the gsexample that comes with vtune (/opt/intel/vtune/samples/gsexample). I ran gsexample2a using the First-Use Wizard with datafile.txt as a parameter, and I get a dialog that responds with "Summary information can not be obtained." Am I doing something wrong? Is this normal.

In the terminal where I launched vtlec it outputs:
----------------------------------------------
Command Line: /opt/intel/vtune/samples/gsexample/gsexample2a datafile.txt

Processing 'datafile.txt' at Thu Oct 8 23:45:14 2009

Done at Thu Oct 8 23:45:24 2009

***************************************
* Elapsed time was 10 seconds
* CRC calculated: 0x5
* File character count: 10126
* File processed 89529 times
* Total characters counted: 905734720
*
* Average characters/sec: 9.0573e+07
* Average loop iterations/sec: 8952.90
***************************************
----------------------------------------------------

In the tuning console it says:
----------------------------------------
Thu Oct 8 23:45:13 2009 x (Run 0) Setting Sampling CPU mask to 0
Thu Oct 8 23:45:14 2009 x (Run 0) The processor PMU configuration file: pmm.xml
Thu Oct 8 23:45:14 2009 x (Run 0) Collection for the following event(s) is being performed:
Thu Oct 8 23:45:14 2009 x (Run 0) CPU_CLK_UNHALTED.CORE.
Thu Oct 8 23:45:25 2009 x (Run 0) Sampling data was successfully collected.
----------------------------------------------

Regards,
Sparc
0 Kudos
1 Solution
Peter_W_Intel
Employee
954 Views
Quoting - sparc1998

After reading some vtune documentation, I am wondering if the reason that the First-Use wizard is saying that it can't obtain summary information is because I don't have an uncompressed kernel on my machine. Since the First-Use wizard ranks hotspots, perhaps its refusing to do so because it can't read the symbols in the kernel? Does that sound like it could be the problem?

If that seams like the problem, then I will try to install an uncompressed kernel, although I have to admit I have no experience compiling the kernel.

Regards,
Sparc1998


What is different for First-Use wizard and regular sampling wizard?

First-use wizard only uses CPU_CLK_UNHALTED.CORE event only. After sampling data collecting, VTune Analyzer will analyze and display hot functions for your application.
However If you add INST_RETIRED.ANY event, it becomes regular sampling wizard mode. After sampling data collecting, VTune Analyzer will NOT display hot functions. The user should find hot process first, then hot thread, hot module, hot function by themselves.

For some reasons, It displayed ""Summary information can not be obtained." for First-use wizard, because one of below reasons:
1) No hot process (enough samples captured) found during sampling collecting
2) No hot function (enough samples captured) found in your app during sampling collecting

So, please disable /O2 or /O3 to avoid inline optimization; increase workload in your application - enough samples; or ignore warning message, sampling result still is correct.

You can try vtunedemo (which is buy app) with First-use wizard.

Regards, Peter

View solution in original post

0 Kudos
13 Replies
Peter_W_Intel
Employee
954 Views
Quoting - sparc1998
I am just getting started using vtune. I have installed it for linux on a Celeron M cpu. I am trying to follow the getting started guide and am attempting to use the First-Use Wizard to try to collect data about the gsexample that comes with vtune (/opt/intel/vtune/samples/gsexample). I ran gsexample2a using the First-Use Wizard with datafile.txt as a parameter, and I get a dialog that responds with "Summary information can not be obtained." Am I doing something wrong? Is this normal.

In the terminal where I launched vtlec it outputs:
----------------------------------------------
Command Line: /opt/intel/vtune/samples/gsexample/gsexample2a datafile.txt

Processing 'datafile.txt' at Thu Oct 8 23:45:14 2009

Done at Thu Oct 8 23:45:24 2009

***************************************
* Elapsed time was 10 seconds
* CRC calculated: 0x5
* File character count: 10126
* File processed 89529 times
* Total characters counted: 905734720
*
* Average characters/sec: 9.0573e+07
* Average loop iterations/sec: 8952.90
***************************************
----------------------------------------------------

In the tuning console it says:
----------------------------------------
Thu Oct 8 23:45:13 2009 x (Run 0) Setting Sampling CPU mask to 0
Thu Oct 8 23:45:14 2009 x (Run 0) The processor PMU configuration file: pmm.xml
Thu Oct 8 23:45:14 2009 x (Run 0) Collection for the following event(s) is being performed:
Thu Oct 8 23:45:14 2009 x (Run 0) CPU_CLK_UNHALTED.CORE.
Thu Oct 8 23:45:25 2009 x (Run 0) Sampling data was successfully collected.
----------------------------------------------

Regards,
Sparc

Hi Spac,

If the user uses the First-Use Wizard, VTune Analyzer will try to list hot functions in summary.

You said there is "Summary information can not be obtained" dialog - I doubt that hot function was optimized as an inline function which can't berecognized by VTune Performance Analyzer.

I suggest youto review Makefile and remove "-O2" option then rebuild gsexample2a - the problem should be gone.

Regards, Peter
0 Kudos
sparc1998
Beginner
954 Views

Peter, thanks for you reply! I tried what you said, but it didn't seam to help. After I reran the First Use wizard on the non-optimized version of gsexample2a, I recieved the same message. I tried messing around in the gui and displayed the module for gsexample2a and was then able to the hot spots for the gsexample2a module. It listed them as:

Name CPU_CLK_UNHALTED.CORE %
---------------- -----------------------------------
ProcessBuffer 78.3%
Store2Load 16.94%
GenDenormals 2.9%
DoSomeWork 1.7%
ProcessFile .12%
...

One other curious point is that in the summary results it keeps listing the cpu as a Pentium Core 2 Duo, when in fact it is a Celeron M. I'm not sure if that's a problem or not.

One last note is that I installed vtune under the latest kernel that Ubuntu 8.04 has released, which is 2.6.24-24-generic. In the released notes it mentions that vtune supports linux kernel 2.6.24-16-generic on Ubuntu 8.04. Do I need to reinstall using the 2.6.24-16-generic kernel?

Thanks,
Sparc
0 Kudos
Peter_W_Intel
Employee
954 Views
Quoting - sparc1998


Name CPU_CLK_UNHALTED.CORE %
---------------- -----------------------------------
ProcessBuffer 78.3%
Store2Load 16.94%
GenDenormals 2.9%
DoSomeWork 1.7%
ProcessFile .12%
...

One other curious point is that in the summary results it keeps listing the cpu as a Pentium Core 2 Duo, when in fact it is a Celeron M. I'm not sure if that's a problem or not.

One last note is that I installed vtune under the latest kernel that Ubuntu 8.04 has released, which is 2.6.24-24-generic. In the released notes it mentions that vtune supports linux kernel 2.6.24-16-generic on Ubuntu 8.04. Do I need to reinstall using the 2.6.24-16-generic kernel?


The hot functions are expected, but I don't know why you still saw a warning dialog. Maybe you can use common Sampling Wizard instead of First-Use Wizard.

It's strange for CPU displayed as Pentium Core 2 Duo, I don't know what exact your CPU used, but Intel Celeron M Processor Family - the latest Celeron design is based on the Core 2 Duo. This design features independent processing cores (CPUs), but with only 25% as much cache memory as the comparable Core 2 Duo

You can try the product on kernel 2.6.24-16-generic, but you have to rebuild vtune driver undervtune/vdk/src.

Regards, Peter

0 Kudos
sparc1998
Beginner
954 Views

The hot functions are expected, but I don't know why you still saw a warning dialog. Maybe you can use common Sampling Wizard instead of First-Use Wizard.

It's strange for CPU displayed as Pentium Core 2 Duo, I don't know what exact your CPU used, but Intel Celeron M Processor Family - the latest Celeron design is based on the Core 2 Duo. This design features independent processing cores (CPUs), but with only 25% as much cache memory as the comparable Core 2 Duo

You can try the product on kernel 2.6.24-16-generic, but you have to rebuild vtune driver undervtune/vdk/src.

Regards, Peter


My processor is a Celeron M 520 (1.6 GHz, not multi-core, 32-bit). Do you think that I can have confidence in the results despite the fact that the processor is showing up as a Core 2 Duo and the fact that I am seeing the warning dialog from the First Use wizard?

Thank you for you Help!
0 Kudos
TimP
Honored Contributor III
954 Views
I don't believe VTune distinguishes on number of cores. As long as your Celeron uses instructions supported by Core 2 Duo, it should be OK.
0 Kudos
sparc1998
Beginner
954 Views

The hot functions are expected, but I don't know why you still saw a warning dialog. Maybe you can use common Sampling Wizard instead of First-Use Wizard.

It's strange for CPU displayed as Pentium Core 2 Duo, I don't know what exact your CPU used, but Intel Celeron M Processor Family - the latest Celeron design is based on the Core 2 Duo. This design features independent processing cores (CPUs), but with only 25% as much cache memory as the comparable Core 2 Duo

You can try the product on kernel 2.6.24-16-generic, but you have to rebuild vtune driver undervtune/vdk/src.

Regards, Peter


After reading some vtune documentation, I am wondering if the reason that the First-Use wizard is saying that it can't obtain summary information is because I don't have an uncompressed kernel on my machine. Since the First-Use wizard ranks hotspots, perhaps its refusing to do so because it can't read the symbols in the kernel? Does that sound like it could be the problem?

If that seams like the problem, then I will try to install an uncompressed kernel, although I have to admit I have no experience compiling the kernel.

Regards,
Sparc1998

0 Kudos
Peter_W_Intel
Employee
955 Views
Quoting - sparc1998

After reading some vtune documentation, I am wondering if the reason that the First-Use wizard is saying that it can't obtain summary information is because I don't have an uncompressed kernel on my machine. Since the First-Use wizard ranks hotspots, perhaps its refusing to do so because it can't read the symbols in the kernel? Does that sound like it could be the problem?

If that seams like the problem, then I will try to install an uncompressed kernel, although I have to admit I have no experience compiling the kernel.

Regards,
Sparc1998


What is different for First-Use wizard and regular sampling wizard?

First-use wizard only uses CPU_CLK_UNHALTED.CORE event only. After sampling data collecting, VTune Analyzer will analyze and display hot functions for your application.
However If you add INST_RETIRED.ANY event, it becomes regular sampling wizard mode. After sampling data collecting, VTune Analyzer will NOT display hot functions. The user should find hot process first, then hot thread, hot module, hot function by themselves.

For some reasons, It displayed ""Summary information can not be obtained." for First-use wizard, because one of below reasons:
1) No hot process (enough samples captured) found during sampling collecting
2) No hot function (enough samples captured) found in your app during sampling collecting

So, please disable /O2 or /O3 to avoid inline optimization; increase workload in your application - enough samples; or ignore warning message, sampling result still is correct.

You can try vtunedemo (which is buy app) with First-use wizard.

Regards, Peter
0 Kudos
sparc1998
Beginner
954 Views

What is different for First-Use wizard and regular sampling wizard?

First-use wizard only uses CPU_CLK_UNHALTED.CORE event only. After sampling data collecting, VTune Analyzer will analyze and display hot functions for your application.
However If you add INST_RETIRED.ANY event, it becomes regular sampling wizard mode. After sampling data collecting, VTune Analyzer will NOT display hot functions. The user should find hot process first, then hot thread, hot module, hot function by themselves.

For some reasons, It displayed ""Summary information can not be obtained." for First-use wizard, because one of below reasons:
1) No hot process (enough samples captured) found during sampling collecting
2) No hot function (enough samples captured) found in your app during sampling collecting

So, please disable /O2 or /O3 to avoid inline optimization; increase workload in your application - enough samples; or ignore warning message, sampling result still is correct.

You can try vtunedemo (which is buy app) with First-use wizard.

Regards, Peter

Thanks for the help Peter. Everything is working well for me now.
0 Kudos
Charles_Martin
Beginner
954 Views
Hi Peter -

This doesn't work for me. I tried your suggestion (even though I think this stuff should just work, but clearly does not), and got this output. This is when I'm running the vtunedemo out of the box:

Wed Jun 9 17:59:19 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 17:59:19 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 17:59:20 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 17:59:20 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 17:59:20 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:00:24 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:00:24 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:00:24 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:00:24 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 18:00:24 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:00:25 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:00:25 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:00:25 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:00:25 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 18:00:25 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:00:26 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:00:26 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:00:26 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:00:26 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 18:00:26 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:00:27 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:00:27 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:00:27 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:00:27 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 18:00:27 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:00:28 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:00:28 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:00:28 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:00:28 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 18:00:28 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:12:01 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:12:01 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:12:01 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:12:01 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE, INST_RETIRED.ANY.
Wed Jun 9 18:12:01 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:12:28 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:12:28 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:12:28 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:12:28 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE, INST_RETIRED.ANY.
Wed Jun 9 18:12:28 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:21:14 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:21:14 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:21:14 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:21:14 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE, INST_RETIRED.ANY.
Wed Jun 9 18:21:14 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:21:59 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:21:59 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:21:59 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:21:59 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 18:21:59 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:31:51 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:31:51 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:31:51 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:31:51 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 18:31:51 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:31:53 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:31:53 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:31:53 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:31:53 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 18:31:53 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:35:42 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:35:42 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:35:42 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:35:42 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE.
Wed Jun 9 18:35:42 2010 ERROR: shazbot (Run 0) No memory (26)
Wed Jun 9 18:41:34 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Wed Jun 9 18:41:34 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Wed Jun 9 18:41:34 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Wed Jun 9 18:41:34 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE, INST_RETIRED.ANY.
Wed Jun 9 18:41:34 2010 ERROR: shazbot (Run 0) No memory (26)

So what's going on?

Thanks, Charles.
0 Kudos
Peter_W_Intel
Employee
954 Views
Hi Charles,

I don't know what you didthen got above error message.

Please check if you work on supported processors, see release notes.

Duringinstalling the product,did you see any error message? Check /var/log/vtune_install.log

Have youbuilt/installed vtune driver in the system? -"lsmod | grep vtune"

Is sampling data collector workable inyour system? - "vtl query -lc"

A simplest vtl command line to test - "vtlactivity -c sampling -app /bin/ls run"


Regards, Peter
0 Kudos
Charles_Martin
Beginner
954 Views
Hi Charles,

Please check if you work on supported processors, see release notes.

See attached cpuinfo.txt. It LOOKS like I'm using supported CPU

Duringinstalling the product,did you see any error message? Check /var/log/vtune_install.log

I didn't see anything that stood out. See attached log file

Have youbuilt/installed vtune driver in the system? -"lsmod | grep vtune"

Yes

Is sampling data collector workable inyour system? - "vtl query -lc"

Yes

A simplest vtl command line to test - "vtlactivity -c sampling -app /bin/ls run"

Problem still persists.

bash-4.0$ /opt/intel/vtune/bin/vtl activity -c sampling -app /bin/ls run
VTune Performance Analyzer 9.1 for Linux*. 30 DAY EVALUATION LICENSE build 432
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.

The Activity has been successfully created.
The Activity is running.
Thu Jun 10 12:05:32 2010 shazbot (Run 0) Setting Sampling CPU mask to 0-7
Thu Jun 10 12:05:32 2010 shazbot (Run 0) The processor PMU configuration file: pmp.xml
Thu Jun 10 12:05:32 2010 shazbot (Run 0) Collection for the following event(s) is being performed:
Thu Jun 10 12:05:32 2010 shazbot (Run 0) CPU_CLK_UNHALTED.CORE, INST_RETIRED.ANY.
Thu Jun 10 12:05:32 2010 ERROR: shazbot (Run 0) No memory (26)
Some errors occurred during the collection. The Activity was cancelled.



Regards, Peter

I will also add that I'm running this on the following configuration, if you want to try to reproduce:

System type: Dell Precision T7400 with 8 Xeon CPUs, 4 GB RAM

OS: Red Hat Fedora Core 11

Other: The T7400 has a RAID accelerator card installed, and a RAID-1 array active on 2 drives

Let me know if you need further infos.

Thanks, Charles.

0 Kudos
Charles_Martin
Beginner
954 Views
Hi Peter -

I think this problem has something to do with the OS. I tried installing vtune on my work laptop, which houses a Celeron 2 chip.
I installed Ubuntu 10.04, and saw the same problem; similar issue for RH Fedora 11. However, when I downgraded to Ubuntu 9.04,
the problem went away. I can now run the demo programs.

It's a start!

As a note, it would be helpful to compile a database of machine models (e.g. Dell Latitude E6500) as working with this product, with
the required OS/CPU combinations.

Thanks, Charles.
0 Kudos
Peter_W_Intel
Employee
954 Views
Thanks Charles, for comments.

Ubuntu* 9.04 is much stable that VTune Analyzer works on.

Regards, Peter

0 Kudos
Reply