Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
Comunicados
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

modprobe msr get FATAL: Module msr not found.

wayne_z_
Principiante
12.471 Visualizações

Hello,

In my case, modprobe msr = FATAL: Module msr not found.

I have searched some related topics.

User cannot run PCM even though MSRs are R+W by Public'

Using the PCM without full permissions

I don't have the right to chown or chmod read and write permissions for /dev/cpu/*/msr yet. 

 ~cat /boot/config-2.6.32-220.el6.x86_64 | grep MSR
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_X86_MSR=y
CONFIG_SCSI_ARCMSR=m
CONFIG_SCSI_ARCMSR_AER=y

CONFIG_X86_MSR=y, rather than 'm', does this means that MSR support is compiled into the kernel, not as module? (link)

Is msr module neccessary on linux? should i install msr module?

thanks!

 

 

 

 

 

0 Kudos
1 Solução
Otto_B_Intel
Funcionário
12.471 Visualizações

You can download the software development manual from the Intel website here:

https://www-ssl.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developer-manual-325462.html

Chapter 19 in volume 3 contains all the information that you need.

Ver solução na publicação original

4 Respostas
Otto_B_Intel
Funcionário
12.471 Visualizações
Hi, it is not necessary to have it as a module, it will work perfectly fine if like in your case, the module is built into the kernel. Not being able to change the permissions on the /dev/cpu/*/msr files comes from not being root because by default root owns these files and only root can modify them. Ask your sysadmin to change the permissions for you. Cheers, Otto
Otto_B_Intel
Funcionário
12.471 Visualizações
Hi, it is not necessary to have it as a module, it will work perfectly fine if like in your case, the module is built into the kernel. Not being able to change the permissions on the /dev/cpu/*/msr files comes from not being root because by default root owns these files and only root can modify them. Ask your sysadmin to change the permissions for you. Cheers, Otto
wayne_z_
Principiante
12.471 Visualizações

thanks, Otto.

Another question, I read pcm developer api and code. It seems that i am unable to get Floating Point Unit performance. 

I want to collect detailed performance data about microarchitecture, do you have any suggestions?

Otto_B_Intel
Funcionário
12.472 Visualizações

You can download the software development manual from the Intel website here:

https://www-ssl.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developer-manual-325462.html

Chapter 19 in volume 3 contains all the information that you need.

Responder