阅读:1797回复:5
关于Cpu Cache line
how do i know the size of each specified CPU cache line.
And does the CPU also cache the register pertains to a PCI device but not main memory? Sorry for the stupidity |
|
沙发#
发布于:2002-03-30 13:12
hurry up , gurus.
|
|
板凳#
发布于:2002-04-05 15:19
hurry up. gurus
|
|
地板#
发布于:2002-04-06 16:09
有一个变通的方法,程序中使用汇编指令CPUID,检查当前所用CPU是何种类型,从而判断该CPU的缓冲行有多大,具体用法及返回信息可参考INTEL的开发手册
|
|
地下室#
发布于:2002-04-06 16:18
第二个问题可以看看PCI规格说明书2.3版,其中关于PCI配置空间中好像有一个参数用来设定是否使用缓冲,具体记不清了,就我看来,一般是对PCI设备所占用的内存进行缓冲,而不是对其寄存器,但也不一定,查查资料吧
|
|
5楼#
发布于:2002-04-06 22:28
pci have cache-line register in 64 dword configuration space ,use memory ,no cpu cache-line.
After Pentiunm cpu,almost cpu have cache rigister. You can know detail to find \"www.intel.com -> developer\" and search \"developer manual\",above five or six manual,specical tell you cpu arth. Goodluck. |
|