摘要
多核已成为处理器发展的趋势,我国自主设计和研发的龙芯也已有相应的多核产品——龙芯3A等系列。利用QEMU在龙芯上运行x86的操作系统和应用程序是推广龙芯使用的一种有效方法。目前,官方发布的QEMU还不能利用多核并行化运行,造成巨大的资源浪费。为充分使用龙芯3A的多核,就QEMU在龙芯3A上的多核并行化问题进行研究,发现并解决了移植过程中遇到的原子指令问题,使得QEMU全系统模拟器能利用龙芯3A的多核来稳定地支持通用操作系统windows XP和x86/Linux的运行。
Multi-core has become the development trend of the processor. The Loongson, as China's independently designed and developed chip, also has its corresponding multi-core product, the Loongson-3A series. A good way to promote the use of Loongson is to make x86 oper-ating systems and applications run on the Loongson by QEMU. Currently, the official release of QEMU can not yet make use of multi-core to run parallelly, this results in a huge waste of resources. For full use of multi-core of Loongson-3A, in this paper we explore the multi-core parallelisation issue of QEMU on Loongson-3A processor hardware platform, find and give solution to the atomic instruction problem in trans-plant process, and enable the QEMU systemwide simulator to take the advantages of multi-core of Loongson-3A to support the common operat- ing systems as windows XP and x86/Linux stably.
出处
《计算机应用与软件》
CSCD
北大核心
2013年第11期123-126,共4页
Computer Applications and Software
基金
中央高校基本科研业务费专项资金资助(WK0110000016)
关键词
龙芯3A
多核
并行化
移植
原子指令
Loongson-3A ,Multi-core, Parallelism ,Transplantation, Atomic instructions