(Press-News.org) The Department of Computer Science and Technology, Peking University, Beijing, China, has shown that a novel dynamic memory mapping (DMM) model brings about additional flexibility to virtual resource management, leading to the feature-adjustable design of a virtual machine monitor (VMM). The study is reported in Issue 53 (June, 2010) of SCIENCE CHINA Information Sciences because of its significant research value.
Memory is one of the most frequently accessed components in virtual machine (VM) systems. Because a VM's memory requirement varies according to the running applications, disregarding the dynamic changes can result in suboptimal use of memory resources, which negatively affects the VM's performance. However, because the infrastructures of current technologies are usually independent of each other, they exhibit poor extensibility, integrity, and maintainability. To improve the flexibility and extensibility of the VMM, we need to implement a dynamic memory management mechanism in the VMM, while preserving the high efficiency of memory accesses from virtual machines.
To resolve these problems, this work proposes a Dynamic Memory Mapping (DMM) model [1]. The DMM model is a low-level memory management mechanism, which allows dynamic change of the mapping between the pseudo-physical memory as seen from VMs and the machine memory, while the virtual machine is running. On one hand, DMM is independent of, yet compatible with, various virtualization architectures, while on the other, it presents a uniform upward interface for supporting high-level memory management policies. As a result, the DMM layer incorporates high-level policies and low-level implementations by making both of them adjustable.
In this work, Prof. Wang, Prof. Luo and their group present the principle of the DMM model, and explain the procedures of various memory management policies under this model, such as demand paging, virtual memory and memory sharing. They also implement the DMM model in KVM, an open source VMM. They first designed a memory pool, a set of machine pages provided by the VMM to a particular virtual machine whose size could be expanded or shrunk while operating. To make the model work in a real system, they manipulated a page-level protection mechanism to propagate memory-mapping updates to the shadow page tables, which is the only way for a VM to access its virtualized memory. They also utilized reverse mapping, a data structure that maps a machine page back to all the shadow page table entries that have mapped it, to facilitate the mapping propagation.
The DMM model can be applied to implement many novel management policies. For example, by swapping and ballooning, the VMM should be able to give to a VM the illusion of an address space which is larger than the actual system memory. The operating system inside the VM can then transparently use it as if it was running on a native environment. Another useful policy is memory sharing, which enables multiple VMs to share identical memory regions. Memory sharing can alleviate the memory pressure when many similar VMs are running concurrently.
The DMM model has several advantages over the current memory management mechanism in VMMs. The first is platform independency - the model is defined abstractly, thus is independent of implementations and computer architectures. The second is flexibility - the DMM model provides a uniform interface for integrating advanced memory management policies. Through the general mechanism, they can work together without conflict. Last but not least, the modular and layered design of the DMM reduces the complexity of a VMM's code base, and therefore improves the security and dependability of the system.
A journal reviewer noted; "This paper addresses the inefficiency in the design of current virtual machine monitors. Their approach is novel and systematic, and incurs only minor overheads. The result is of academic significance and practical value". Another reviewer said, "It enriches and expands the capacity and capability of virtualization. It offers us new methods to deploy and manage large numbers of virtual machines". A series of papers about virtual machine system optimization written by Prof. Wang, Prof. Luo and their group have been published in SCIENCE CHINA Information Sciences [2], IEEE Cluster [3], ACM SIGOPS Operating System Review [4] and IEEE ISPA [5].
###
The authors are affiliated to the Institute of Network Computing and Information Systems (NCIS, http://ncis.pku.edu.cn) at Peking University. This institute, led by Prof. Xiaoming Li, conducts research mainly in the fields of high productivity computing, search engine and Web mining (information systems), distributed systems, internet and mobile computing, and database technology.
This research was supported by funding from the National Grand Fundamental Research 973 Program of China (Grant No. 2007CB310900), the National Natural Science Foundation of China (Grants No. 90718028 and 60873052), the National High Technology Research 863 Program of China (Grant No. 2008AA01Z112), and the MOE-Intel Information Technology Foundation (Grant No. MOE-INTEL-08-09).
References:
[1] Chen H G, Wang X L, Wang Z L, et al., DMM: A dynamic memory mapping model for virtual machines. Sci China Inf Sci, 2010, 53: 1097�, doi: 10.1007/s11432-010-3113-y.
[2] Wang X L, Sun Y F, Luo Y W, et al., Dynamic memory paravirtualization transparent to guest OS, Sci China Inf Sci, 2010, 53: 77, doi: 10.1007/s11432-010-0008-x.
[3] Yingwei Luo, Live and incremental whole system migration of virtual machines using block-bitmap, in 2008 IEEE International Conference on Cluster Computing (Cluster'08), pp.99-106, Tsukuba, Japan, 2008.9.
[4] Weiming Zhao, Zhenlin Wang and Yingwei Luo, Dynamic Memory Balancing for Virtual Machines, ACM SIGOPS Operating System Reviews, Vol.43, No.3, pp.37-47, 2009.7.
[5] Haogang Chen, Xiaolin Wang, Zhenlin Wang, Xiang Wen, Xinxin Jin, Yingwei Luo, Xiaoming Li, REMOCA: Hypervisor Remote Disk Cache, in 2009 IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA'09), pp.161-168, Chengdu, China, 2009.8.
The Key Laboratory of Applied Superconductivity, Institute of Electrical Engineering, Chinese Academy of Sciences, Beijing, and China Research have collaborated to reveal the heat treatment effects on the superconducting properties of Ag-doped Sr0.6K0.4Fe2As2 compounds. Because of its significant research value, the study is reported in issue 7 of SCIENCE CHINA Physics, Mechanics & Astronomy.
Previously, our group studied the effect of adding Ag to polycrystalline Sr0.6K0.4Fe2As2 and found that the critical current density Jc and the irreversibility field increase markedly. ...
The State Key Laboratory of Virtual Reality Technology and Systems, Beihang University in Beijing, has proposed an image based modeling method for inhomogeneous single-scattering participating media whose density fields may contain high frequency details [1]. This work could reduce the difficulty in capturing real-world participating media, which can be applied to 3D games, film production, virtual reality systems, etc. This study is reported in Volume 53 (June, 2010) of the Science China Information Sciences journal because of its significant research value.
Realistic ...
Nurses have a responsibility to respect and support patients who use cannabis for medicinal purposes, but must stay within the law and follow professional guidance at all times, according to a research review in the September issue of the Journal of Clinical Nursing.
Dr Anita Green and Dr Kay De-Vries studied more than 50 published papers, together with professional and Government guidance documents, official reports and media coverage, from 1996 to 2009.
They point out that the fact that the cannabis is usually obtained illegally can have consequences for those who ...
ESA's Herschel infrared space observatory has discovered that ultraviolet starlight is the key ingredient for making water in space. It is the only explanation for why a dying star is surrounded by a gigantic cloud of hot water vapour.
Every recipe needs a secret ingredient. When astronomers discovered an unexpected cloud of water vapour around the old star IRC+10216 in 2001, they immediately began searching for the source. Stars like IRC+10216 are known as carbon stars and are thought not to make much water. Initially they suspected the star's heat must be evaporating ...
People who take oral bisphosphonates for bone disease over five years may be doubling their risk of developing oesophageal cancer (cancer of the gullet), according to a new study published on bmj.com today.
Oral bisphosphonates are a type of drug used to treat osteoporosis and other bone diseases and are the most commonly recommended treatment for such conditions.
Case reports suggest an association between use of oral bisphosphonates for osteoporosis and increased risk of oesophageal cancer. But the evidence is limited, and no adequately large study with information ...
Interim results from the first comprehensive evaluation of the implementation of electronic health records in secondary care in England have found delays and frustration with the system, according to research published on bmj.com today.
The authors, led by Professor Aziz Sheikh from The University of Edinburgh (and which included researchers from The London School of Economics and Political Science, The School of Pharmacy and The University of Nottingham), say experiences from the first-wave implementation site "indicate that delivering improved healthcare through nationwide ...
Scientists have built a clearer picture of how lengthy strands of DNA are concertinaed when our cells grow and divide, in a discovery could help explain how cell renewal can go wrong.
Scientists have identified thousands of proteins that play a key role in compacting DNA – a crucial process by which DNA is shortened up to 10,000 times to fit inside cells as they split into two.
Researchers hope the findings could shed light on what happens when this packaging process fails and cells divide abnormally – which can lead to cancer or cause developing embryos to miscarry.
Scientists ...
Biophysicists in Bochum have discovered a diode for protons: just like the electronic component determines the direction of flow of electric current, the "proton diode" ensures that protons can only pass through a cell membrane in one direction. Water molecules play an important role here as active components of the diode. The researchers led by Prof. Dr. Klaus Gerwert (Chair of Biophysics at the RUB) were able to observe this through a combination of molecular biology, X-ray crystallography, time-resolved FTIR spectroscopy and biomolecular simulations. They report in the ...
For severe migraine sufferers, psychological treatments build on the benefits of drug therapy, according to a new study1 by Elizabeth Seng and Dr. Kenneth Holroyd from Ohio University in the US. Their comparison of the effects of various treatment combinations for severe migraine – drug therapy with or without behavioral management – shows that those patients receiving the behavioral management program alongside drug therapy are significantly more confident in their ability to use behavioral skills to effectively self-manage migraines. And surprisingly, the increase in ...
A chemical analysis of the bones of ancient Nubians shows that they were regularly consuming tetracycline, most likely in their beer. The finding is the strongest evidence yet that the art of making antibiotics, which officially dates to the discovery of penicillin in 1928, was common practice nearly 2,000 years ago.
The research, led by Emory University anthropologist George Armelagos and medicinal chemist Mark Nelson of Paratek Pharmaceuticals, Inc., is in the current issue of the American Journal of Physical Anthropology.
"We tend to associate drugs that cure diseases ...