Storage space allocation method and device

A storage device and storage space technology, applied in the storage field, can solve problems such as poor availability and incompatibility with applications, and achieve good adaptability

Active Publication Date: 2014-06-11
HUAWEI TECH CO LTD +1
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the implementation of this method needs to modify the compiler, and it is not compatible with existing applications. In short, the usability of this method is poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Storage space allocation method and device
  • Storage space allocation method and device
  • Storage space allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] figure 1 It is a flow chart of a method for allocating storage space provided by an embodiment of the present invention. Such as figure 1 As shown, the method of the present embodiment includes:

[0043] Step 101. Obtain a data layout policy description file, the data layout policy description file includes the first mapping relationship...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the invention provide a storage space allocation method and device. The method includes: acquiring a data layout strategy description file; analyzing the data layout strategy description file to obtain storage device identifiers corresponding to data classes; creating a virtual address space for an application, and recording a second mapping relation between virtual addresses of data and the storage device identifiers corresponding to the data classes that the data belong to; receiving a missing page interrupt request when the application runs; querying the second mapping relation according to virtual addresses of physical pages in the missing page interrupt request to obtain the storage device identifiers of the physical pages; allocating the physical pages for the application according to the storage device identifiers of the physical pages. The storage space allocation method and device according to the technical scheme has the advantages that storage performance of a hybrid memory can be improved and implementation is simple.

Description

technical field [0001] The invention relates to storage technology, in particular to a method and device for allocating storage space. Background technique [0002] With the development of the Internet, the data of more and more applications continues to grow, so the requirements for memory capacity are getting higher and higher. However, due to the physical characteristics of Dynamic Random Access Memory (DRAM for short), DRAM has poor integration and high energy consumption, making it difficult to meet application requirements. Non-volatile memory (Non-Volatile Memory, referred to as NVM) has a reading and writing speed close to that of DRAM, but has a high degree of integration, low energy consumption, and can be made into a large-capacity memory. The emergence of NVM makes up for the shortage of DRAM. . However, NVM has a limit on the number of writes, and a unit will be damaged after the number of writes reaches a certain threshold and cannot be written again. [000...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02
Inventor 魏巍蒋德钧夏飞熊劲
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products