Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
4821 Discussions

About the operation on the core of vTune

gray_heron
Beginner
661 Views

Hi.

Please tell me about the placement of vTune core on Ubuntu.
Is vTune running on a fixed core? Or does it depend on the behavior of the OS?

 

Thanks

0 Kudos
1 Solution
JaideepK_Intel
Moderator
555 Views

Hi @gray_heron -san,

 

If we did not specify a CPU mask, by default, the application which you are profiling utilizes all the cores(Vtune doesn't use any cores while profiling). Have a great day ahead.

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues.

 

Thanks,

Jaideep

 

 

View solution in original post

5 Replies
JaideepK_Intel
Moderator
618 Views

Hi,

 

Thank you for posting in Intel Communities.

 

The application that we are profiling with Vtune is going to use all the CPU cores. During data collection (after profiling), Vtune is going to use a very small percentage of the CPU. It doesn't depend on the OS.

JaideepK_Intel_0-1655986212132.png

 

During profiling time, we can make our application run on the desired number of cores with the below command.

The command-line argument is:

-cpu-mask= Specify CPU(s) to collect data on (for example: 2-8,10,12-14). applicable to hardware event-based analysis types only.

In the GUI, in the What pane, expand Advanced and scroll down to "CPU Mask" and enter the CPU core mask value.

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!

 

Thanks,

Jaideep

 

gray_heron
Beginner
566 Views

Hi,Jaideep-san.

 

I understand that you specify a cpu to collect data by specifying "-cpu-mask".
Which CPU will be used if "-cpu-mask" is not specified?

Thanks.

 

JaideepK_Intel
Moderator
597 Views

Hi,


If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!


Regards,

Jaideep


JaideepK_Intel
Moderator
556 Views

Hi @gray_heron -san,

 

If we did not specify a CPU mask, by default, the application which you are profiling utilizes all the cores(Vtune doesn't use any cores while profiling). Have a great day ahead.

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues.

 

Thanks,

Jaideep

 

 

JaideepK_Intel
Moderator
532 Views

Hi @gray_heron  -san,

 

Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Thanks,

Jaideep

 

Reply