Font Size: a A A

Research And Implementation Of Multi-core Oriented Parallel Virtual Machine

Posted on:2011-08-19Degree:MasterType:Thesis
Country:ChinaCandidate:J F MaFull Text:PDF
GTID:2178360305471501Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Hardware development mode has made great progress from accelerating main frequency of CPU to increase the number of CPU core. So, it is destined that software development technology reform will follow. Software performance will no longer get prominent progress from the simple upgrade of hardware. To maximize the performance of multi-core, program developers must change their way of thinking while programming from serial to parallel. However, traditional parallel supporting technology is hard to use, easy to make mistakes and difficult to follow the zigzag study course. This makes parallel technology not prevailed yet.This paper proposed a kind of virtual machine model (SAPVM). It uses object and message conception and provide a nonfigurative underlying instruction system. All methods invoking of the system has been abstracted into asynchronous message invoking. Every object has is own memory space and all messages that send to object are put into a message queue, processed one by one.This model has interpreted CPU core as computing node. Objects mentioned above are distributed to different computing nodes. Those computing nodes process their own message queue at the same time. When any computing node has no message to process, it will get some objects from other nodes so that it realizes dynamic load balancing. Besides, this paper interpreted every aspects of SAPVM realization, including development language and portability, memory management technology, implementation of types and objects and the use of synchronization measures. In memory management technology, we integrated multi-tier memory allocation and type buffer pool to ensure memory allocation more rapidly and easy to use. As to the memory recovery, we use data manipulation of tracking handle type. It can real-time update reference count and start memory recovery process and then retrieve all memory that has been occupied by zero-referenced objects when memory space is low.In the end, this paper gave a script language that based on SAPVM. It is specially designed for SAPVM and can maximize the performance of SAPVM. This paper briefly introduced its grammar and basic programming technology, including data types supported by the scripts, flow control and the use of parallel blocks.
Keywords/Search Tags:self-adaptive, parallel computing, virtual machine, multi-core
PDF Full Text Request
Related items