Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

Reading QPI Routing Table

robchip
初学者
3,504 次查看

Hi there!

Is there a way to read out the QPI routing table of a processor? I'm looking for something similar to the "cpuid" instruction that can be used to query the hardware directly. Since I'm not working with either Linux, or Windows I cannot use already existing programs...

Is there a way to get this information from the hardware? -  I guess this is done differently for different processors, at the moment I'm especially interested in the XEON 7500 Series...

Thank's in advance for any input!

Robert

0 项奖励
9 回复数
Patrick_F_Intel1
3,504 次查看
Hello Robchip, There is a way to do this but it is not published. The manual http://www.intel.com/Assets/en_US/PDF/datasheet/323341.pdf mentions an overview of how to do it in section 13.2.1.1 'System Discovery' but the detail is not sufficient to actually decode the routing tables. It will probably take a lot of work to get the information public. Why do you want the information? Pat
0 项奖励
Bernard
重要分销商 I
3,505 次查看
You can consult relevant to QPI chipset specification.
0 项奖励
wonjun_s_
初学者
3,505 次查看

Hi. 

Could you tell me how to access the control register for Routing Layer in QPI ??

I want to modify RTA(Router Table Array) for research purpose.

Now I'm using CentOS6, but I couldn't find any piece of codes and "base address" related with QPI.

any hints? 

Thanks.

0 项奖励
Bernard
重要分销商 I
3,505 次查看

I suppose that the access is done by MSR address space.

0 项奖励
wonjun_s_
初学者
3,505 次查看

thanks for reply. :-)

as you said. I also think so.

wrmsr(), rdmsr() may be used to control that.

But what I want to know what is the base address (or offset) to access registers for Routing Layer

0 项奖励
Patrick_F_Intel1
3,505 次查看

Hello Wonjun,

As I mentioned in the other thread, this info has not been publicly disclosed.

Pat

0 项奖励
Bernard
重要分销商 I
3,505 次查看

wonjun s. wrote:

thanks for reply. :-)

as you said. I also think so.

wrmsr(), rdmsr() may be used to control that.

But what I want to know what is the base address (or offset) to access registers for Routing Layer

An option of last resort will be hooking kernel debugger and try to locate MSR register with the help of kd.Not an easy task when the address is not available or disclosed.

0 项奖励
Patrick_F_Intel1
3,505 次查看

Just to save the time of anyone thinking of pursuing the kernel debugger route...I doubt that using the kernel debugger will be fruitful in this case.

Pat

0 项奖励
Bernard
重要分销商 I
3,505 次查看

Yes that's true.For exmaple access to this feature can be available from SMM mode only.

0 项奖励
回复