|
发表于 2005-7-12 22:13:02
|
显示全部楼层
来自 中国–重庆–重庆
另外,LZ说的第11点关于修改SecondLevelDataCache的所谓技巧完全是胡说八道。别低估了微软的Programmer的智力,这种简单的东西如果还需要你来优化,微软关门算了。
实际上修改SecondLevelDataCache键的值与提高系统性能根本无关。二级缓存的数值由操作系统检测并且完全不受SecondLevelDataCache值的影响。只有在检测失败的时候,该键值才会被OS使用。更重要的是,该键值只会影响使用直接映射缓存机制的CPU,而这种CPU已经是老古董了。推荐LZ仔细看看微软知识库的文章。下面应用两段:
SecondLevelDataCache records the size of the processor cache, also known as the secondary or L2 cache. If the value of this entry is 0, the system attempts to retrieve the L2 cache size from the Hardware Abstraction Layer (HAL) for the platform. If it fails, it uses a default L2 cache size of 256 KB. If the value of this entry is not 0, it uses this value as the L2 cache size. This entry is designed as a secondary source of cache size information for computers on which the HAL cannot detect the L2 cache.
This is not related to the hardware; it is only useful for computers with direct-mapped L2 caches. Pentium II and later processors do not have direct- mapped L2 caches. |
|