The widening gap between processor and memory speeds makes cache an important issue in the computer system design. Compared with work set of programs, cache resource is often rare. Therefore, it is very important for ...The widening gap between processor and memory speeds makes cache an important issue in the computer system design. Compared with work set of programs, cache resource is often rare. Therefore, it is very important for a computer system to use cache efficiently. Toward a dynamically reconfigurable cache proposed recently, DOOC (Data- Object Oriented Cache), this paper proposes a quantitative framework for analyzing the cache requirement of data-objects, which includes cache capacity, block size, associativity and coherence protocol. And a kind of graph coloring algorithm dealing with the competition between data-objects in the DOOC is proposed as well. Finally, we apply our approaches to the compiler management of DOOC. We test our approaches on both a single-core platform and a four-core platform. Compared with the traditional caches, the DOOC in both platforms achieves an average reduction of 44.98% and 49.69% in miss rate respectively. And its performance is very close to the ideal optimal cache.展开更多
如何将数据库中的数据以图形的方式直观地显示出来,一直是程序开发人员努力解决的问题.作者阐述了基于ADO(ActiveX Data Objects)对象的,利用Visual Basic开发环境自带的MSChart控件生成动态统计图的方法,介绍生成动态统计图的具体步骤...如何将数据库中的数据以图形的方式直观地显示出来,一直是程序开发人员努力解决的问题.作者阐述了基于ADO(ActiveX Data Objects)对象的,利用Visual Basic开发环境自带的MSChart控件生成动态统计图的方法,介绍生成动态统计图的具体步骤,指出MSChart控件在生成动态统计图方面的不足之处,并提出相关的改进方法.结合河南省航道基础地理信息系统的开发实例进行分析,表明这种方法具有很好的应用价值.展开更多
基金supported in part by the National Natural Science Foundation of China under Grant Nos.60621003,60873014.
文摘The widening gap between processor and memory speeds makes cache an important issue in the computer system design. Compared with work set of programs, cache resource is often rare. Therefore, it is very important for a computer system to use cache efficiently. Toward a dynamically reconfigurable cache proposed recently, DOOC (Data- Object Oriented Cache), this paper proposes a quantitative framework for analyzing the cache requirement of data-objects, which includes cache capacity, block size, associativity and coherence protocol. And a kind of graph coloring algorithm dealing with the competition between data-objects in the DOOC is proposed as well. Finally, we apply our approaches to the compiler management of DOOC. We test our approaches on both a single-core platform and a four-core platform. Compared with the traditional caches, the DOOC in both platforms achieves an average reduction of 44.98% and 49.69% in miss rate respectively. And its performance is very close to the ideal optimal cache.
文摘如何将数据库中的数据以图形的方式直观地显示出来,一直是程序开发人员努力解决的问题.作者阐述了基于ADO(ActiveX Data Objects)对象的,利用Visual Basic开发环境自带的MSChart控件生成动态统计图的方法,介绍生成动态统计图的具体步骤,指出MSChart控件在生成动态统计图方面的不足之处,并提出相关的改进方法.结合河南省航道基础地理信息系统的开发实例进行分析,表明这种方法具有很好的应用价值.