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

About the operation on the core of vTune

gray_heron
Beginner
1,477 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
1,371 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

0 Kudos
5 Replies
JaideepK_Intel
Moderator
1,434 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

 

0 Kudos
gray_heron
Beginner
1,382 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.

 

0 Kudos
JaideepK_Intel
Moderator
1,413 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


0 Kudos
JaideepK_Intel
Moderator
1,372 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

 

 

0 Kudos
JaideepK_Intel
Moderator
1,348 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

 

0 Kudos
Reply