Java处理器异构多核系统的基准测试与性能优化
发布时间:2019-06-27 08:10
【摘要】:如今,嵌入式技术的发展十分迅速,使其数量与日俱增,应用也逐步渗入到人们生活的各个角落。与此同时,Java以其突出的优点在嵌入式中扮演的角色也越来越重。Java处理器免除了把Java字节码转换为机器代码的工作同时还可以针对Java虚拟机的各项特点提供特殊的硬件支持,因此具有能够直接硬件执行Java字节码、高效率执行、占用较少内存、使用功耗低等特点,有更适合用于资源受限的嵌入式设备的特点,并且适用于异构方式,以提升系统的性能。 JOP处理器每个时钟周期仅取一条Java字节码,并且考虑到WCET(worstcase execution time)分析的需要,对指令Cache进行了针对性的特别设计,使其成为目前为止消耗资源最少的一款Java处理器。总体而言,对于资源紧缺的嵌入式环境来说选取JOP来进行应用较为适合。 而SPARC架构由于其良好的可扩展性,非常适合与JOP核构建异构多核系统,提升系统性能,满足人们更多的需求。 对于构建好的异构多核系统,,进行基准测试是非常必要的,现行的Caffeinemark基准测试仅仅测试几项Java特性,不包括浮点运算、垃圾收集和多线程这些项目,而这些测试对于嵌入式开发人员来说可能很重要。Jembench基准测试中又不包含逻辑测试,并且Jembench中包含的应用测试与流测试过于复杂,对于小型嵌入式Java处理器来说并不需要太复杂的应用程序测试,因此,如何设计出更好基准测试来进行性能测试更是当前研究的热点。 此外,基准测试的流程也很重要,清晰的测试流程使得测试进行更加有目的性,防止冗余测试的产生,并且可以为他人的使用提供便利。对于测试中可能存在的问题在流程设计时都要予以考虑。 本文在分析SPARC架构,JOP核结构的基础上,对单核和多核模式进行了系统设计,并且对现行的Caffeinemark基准测试与Jembench基准测试进行了研究,结合两者的优点,完成了新基准测试Newbench的设计编写,完善了基准测试方案,更能进一步的进行Java兼容性评估。 最后,本文拟定了预期的性能指标,并设计了详细的基准测试流程,通过模拟和开发板的实际执行获得准确的性能参数结果,为系统的性能优化提供了更好的支持。
[Abstract]:Nowadays, with the rapid development of embedded technology, the number of embedded technology is increasing day by day, and the application is gradually infiltrated into every corner of people's life. At the same time, Java plays a more and more important role in embedded because of its outstanding advantages. Java processor eliminates the work of converting Java bytecode into machine code, and can also provide special hardware support according to the characteristics of Java virtual machine, so it has the characteristics of direct hardware execution of Java bytecode, high efficiency execution, less memory consumption and low power consumption. It is more suitable for embedded devices with limited resources, and is suitable for heterogeneous methods to improve the performance of the system. The JOP processor takes only one Java bytecode per clock cycle, and considering the needs of WCET (worstcase execution time) analysis, the instruction Cache is specially designed to make it the least resource consuming Java processor so far. Generally speaking, it is more suitable to select JOP for embedded environment with shortage of resources. Because of its good scalability, SPARC architecture is very suitable for building heterogeneous multi-core system with JOP core to improve system performance and meet more needs of people. Benchmarking is necessary for a built heterogeneous multi-core system. The current Caffeinemark benchmark tests only a few Java features, excluding floating-point operations, garbage collection and multithreading, which may be important to embedded developers. Jembench benchmark does not include logical tests, and the application tests and flow tests included in Jembench are too complex. For small embedded Java processors, there is no need for complex application testing, so how to design a better benchmark to carry out performance testing is the focus of current research. In addition, the process of benchmark testing is also very important. A clear test process makes the test more purposeful, prevents redundant testing, and can facilitate the use of others. Possible problems in testing should be taken into account in process design. Based on the analysis of SPARC architecture and JOP core structure, this paper designs the system of single core and multi-core mode, and studies the current Caffeinemark benchmark and Jembench benchmark. Combined with the advantages of the two, the design and compilation of the new benchmark Newbench is completed, the benchmark scheme is improved, and the Java compatibility evaluation can be further carried out. Finally, this paper formulates the expected performance index, and designs the detailed benchmark testing flow, through the simulation and the actual execution of the development board to obtain the accurate performance parameter results, which provides better support for the performance optimization of the system.
【学位授予单位】:哈尔滨工业大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP332;TP312.1
本文编号:2506636
[Abstract]:Nowadays, with the rapid development of embedded technology, the number of embedded technology is increasing day by day, and the application is gradually infiltrated into every corner of people's life. At the same time, Java plays a more and more important role in embedded because of its outstanding advantages. Java processor eliminates the work of converting Java bytecode into machine code, and can also provide special hardware support according to the characteristics of Java virtual machine, so it has the characteristics of direct hardware execution of Java bytecode, high efficiency execution, less memory consumption and low power consumption. It is more suitable for embedded devices with limited resources, and is suitable for heterogeneous methods to improve the performance of the system. The JOP processor takes only one Java bytecode per clock cycle, and considering the needs of WCET (worstcase execution time) analysis, the instruction Cache is specially designed to make it the least resource consuming Java processor so far. Generally speaking, it is more suitable to select JOP for embedded environment with shortage of resources. Because of its good scalability, SPARC architecture is very suitable for building heterogeneous multi-core system with JOP core to improve system performance and meet more needs of people. Benchmarking is necessary for a built heterogeneous multi-core system. The current Caffeinemark benchmark tests only a few Java features, excluding floating-point operations, garbage collection and multithreading, which may be important to embedded developers. Jembench benchmark does not include logical tests, and the application tests and flow tests included in Jembench are too complex. For small embedded Java processors, there is no need for complex application testing, so how to design a better benchmark to carry out performance testing is the focus of current research. In addition, the process of benchmark testing is also very important. A clear test process makes the test more purposeful, prevents redundant testing, and can facilitate the use of others. Possible problems in testing should be taken into account in process design. Based on the analysis of SPARC architecture and JOP core structure, this paper designs the system of single core and multi-core mode, and studies the current Caffeinemark benchmark and Jembench benchmark. Combined with the advantages of the two, the design and compilation of the new benchmark Newbench is completed, the benchmark scheme is improved, and the Java compatibility evaluation can be further carried out. Finally, this paper formulates the expected performance index, and designs the detailed benchmark testing flow, through the simulation and the actual execution of the development board to obtain the accurate performance parameter results, which provides better support for the performance optimization of the system.
【学位授予单位】:哈尔滨工业大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP332;TP312.1
【参考文献】
中国期刊全文数据库 前9条
1 迎九;;多核、虚拟化、多操作系统的软件趋势[J];电子产品世界;2010年Z1期
2 邓让钰;陈海燕;窦强;徐炜遐;谢伦国;戴泽福;李永进;夏军;罗莉;张民选;;一种异构多核处理器的并行流存储结构[J];电子学报;2009年02期
3 蒋建春;汪同庆;;一种异构多核处理器嵌入式实时操作系统构架设计[J];计算机科学;2011年06期
4 王海兵,吕杨;Java嵌入技术综述[J];计算机应用研究;2001年06期
5 彭蔓蔓;徐立超;王颖;;异构多核处理器的任务分配及能耗的研究[J];计算机应用研究;2010年05期
6 卢泽军;;C语言中常见的排序方法[J];新课程学习(中);2011年08期
7 高文;付宇卓;;基于SoCLib的异构多核结构的设计与实现[J];微计算机信息;2009年32期
8 傅勇;Java处理器技术[J];小型微型计算机系统;2002年03期
9 黄以华;童健华;代巍巍;王华宁;陈挚睿;符健;;Java处理器关键技术分析[J];小型微型计算机系统;2007年06期
本文编号:2506636
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2506636.html