CN106648938B - Linux system application program memory management method and system - Google Patents

Linux system application program memory management method and system Download PDF

Info

Publication number
CN106648938B
CN106648938B CN201611260417.7A CN201611260417A CN106648938B CN 106648938 B CN106648938 B CN 106648938B CN 201611260417 A CN201611260417 A CN 201611260417A CN 106648938 B CN106648938 B CN 106648938B
Authority
CN
China
Prior art keywords
memory
nvdimm
information
kernel
memory allocation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611260417.7A
Other languages
Chinese (zh)
Other versions
CN106648938A (en
Inventor
杨相坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201611260417.7A priority Critical patent/CN106648938B/en
Publication of CN106648938A publication Critical patent/CN106648938A/en
Application granted granted Critical
Publication of CN106648938B publication Critical patent/CN106648938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory

Abstract

The invention discloses a Linux system application program memory management method, which comprises the following steps: setting a state flag bit of a process corresponding to the NVDIMM memory allocation request as NVDIMM memory allocation according to the input NVDIMM memory allocation request, and acquiring ID information of the process; sending the ID information to a kernel; the kernel allocates a memory for the process in an NVDIMM memory according to the ID information; the method can distribute memory to some user programs important for users on the NVDIMM, so that user data can be well stored when abnormal conditions such as power failure occur; the invention also discloses a Linux system application program memory management system, which has the beneficial effects.

Description

Linux system application program memory management method and system
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for managing an application program memory of a Linux system.
Background
First, with the rapid development of big data and related technologies such as cloud computing, the number of devices connected to the internet has been increasing, reaching as much as 150 billion by 2015. The pressure on data centers has increased, and new technologies have been adopted to further improve their efficiency and performance.
Currently, the calculation results and service information of a computer system are temporarily stored in a memory, and these data are lost after the system is powered down, which can even cause the crash of the whole system. Therefore, how to effectively avoid the significant loss of data loss of user data when the system is abnormal is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a method and a system for managing an application program memory of a Linux system, which can distribute memory on an NVDIMM for some user programs important for users, thereby fully ensuring that user data can be well stored when abnormal conditions such as power failure occur.
In order to solve the above technical problem, the present invention provides a method for managing an application program memory of a Linux system, comprising:
setting a state flag bit of a process corresponding to the NVDIMM memory allocation request as NVDIMM memory allocation according to the input NVDIMM memory allocation request, and acquiring ID information of the process;
sending the ID information to a kernel;
and the kernel allocates a memory for the process in the NVDIMM memory according to the ID information.
Optionally, setting a status flag bit of a process corresponding to the NVDIMM memory allocation request to NVDIMM memory allocation according to the input NVDIMM memory allocation request, including:
receiving an input NVDIMM memory allocation request;
determining a process corresponding to the NVDIMM memory allocation request in a linked list; and setting the status flag bit of the process to be allocated to the NVDIMM memory.
Optionally, the obtaining the ID information of the process includes:
traversing the status flag bit of the directory file;
and acquiring ID information of a process corresponding to NVDIMM memory allocation set by the status flag bit.
Optionally, sending the ID information to the kernel includes:
the user space process creates a socket and sends the ID information to the kernel using the socket.
Optionally, the allocating, by the kernel, a memory for the process in an NVDIMM memory according to the ID information includes:
a receiving function receives the ID information and judges whether a state flag bit of a process corresponding to the ID information is allocated to an NVDIMM memory;
and if so, allocating memory for the process from the NVDIMM memory.
The invention also provides a Linux system application program memory management system, which comprises: the system comprises a management module of an application program, a user and kernel communication module and a kernel processing module; wherein the content of the first and second substances,
the management module of the application program is used for setting a state flag bit of a process corresponding to an input NVDIMM memory allocation request as NVDIMM memory allocation according to the input NVDIMM memory allocation request and acquiring ID information of the process;
the user and kernel communication module is used for sending the ID information to a kernel;
and the kernel processing module is used for the kernel to distribute a memory for the process in the NVDIMM memory according to the ID information.
Optionally, the management module of the application program includes:
the input unit is used for receiving an input NVDIMM memory allocation request;
the state flag bit setting unit is used for determining a process corresponding to the NVDIMM memory allocation request in a linked list; and setting the status flag bit of the process to be allocated to the NVDIMM memory.
Optionally, the management module of the application program includes:
the traversal unit is used for traversing the state flag bit of the directory file;
and the ID information acquisition unit is used for acquiring the ID information of the process corresponding to the NVDIMM memory allocation set by the status flag bit.
Optionally, the user and kernel communication module specifically creates a socket for a user space process, and sends the ID information to the kernel by using the socket.
Optionally, the kernel processing module includes:
a receiving unit, configured to receive the ID information by a receiving function;
the judging unit is used for judging whether the state flag bit of the process corresponding to the ID information is allocated to the NVDIMM memory;
and the memory allocation unit is used for allocating the memory for the process from the NVDIMM memory if the memory is allocated for the NVDIMM memory.
The invention provides a memory management method for an application program of a Linux system, which comprises the following steps: setting a state flag bit of a process corresponding to the NVDIMM memory allocation request as NVDIMM memory allocation according to the input NVDIMM memory allocation request, and acquiring ID information of the process; sending the ID information to a kernel; the kernel allocates a memory for the process in an NVDIMM memory according to the ID information;
therefore, the method enables the user layer and the kernel layer to realize communication, and enables a user to inform the kernel of the process needing NVDIMM memory allocation, so that the kernel realizes NVDIMM memory allocation; the method fully utilizes the characteristic that the NVDIMM can still store complete memory data when the power is completely cut off, and distributes memory to some user programs important for users on the NVDIMM, thereby fully ensuring that the user data can be well stored when abnormal conditions such as power failure occur; the invention also provides a Linux system application program memory management system, which has the beneficial effects and is not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for managing an application memory of a Linux system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a management module of an application according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a real-time communication flow of a kernel layer and a user layer according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a kernel memory allocation management flow according to an embodiment of the present invention;
fig. 5 is a block diagram of a structure of a Linux system application memory management system according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a method and a system for managing the application program memory of the Linux system, which can distribute memory on an NVDIMM for some user programs important for users, thereby fully ensuring that user data can be well stored when abnormal conditions such as power failure occur.
In order to make the objects, 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 with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The NVDIMM is a memory bank specification integrated with a DRAM + nonvolatile memory chip, can still store complete memory data as a new device type when the power is completely off, and can be integrated into a standard Intel x86 server to be used as a write cache in a storage layer. NVDIMM is based on DRAM, and the number of writing times is unlimited, thereby greatly enhancing the performance of the system. The use of NVDIMMs allows Flash SSDs to be used primarily for reading data, which greatly extends the life of SSDs. Very good ROI performance is obtained if the data center integrates SSDs and NVDIMMs. Therefore, in the embodiment, the NVDIMM is used for solving the storage work of the memory data under the condition of abnormal power failure of the system, and the previous work can be continued after the system recovers to normal operation. Referring to fig. 1 in detail, fig. 1 is a flowchart of a method for managing an application memory of a Linux system according to an embodiment of the present invention; the method can comprise the following steps:
s100, setting a state flag bit of a process corresponding to an input NVDIMM memory allocation request as NVDIMM memory allocation according to the input NVDIMM memory allocation request, and acquiring ID information of the process;
specifically, the NVDIMM memory allocation request may include information that requires the performance of NVDIMM memory allocation (i.e., the application). In this embodiment, in order to enable the kernel to know which processes need to allocate NVDIMM memory, a status flag bit may be set for the processes. Whether the process needs NVDIMM memory allocation is determined through the state of the state flag bit. For example, when the status flag bit is set to 1, this indicates that the process requires NVDIMM memory allocation; when the status flag bit is set to 0, this indicates that the process does not require NVDIMM memory allocation. Of course, the specific setting form of the status flag bit is not limited in this embodiment, and only needs to distinguish whether NVDIMM memory allocation is needed.
The judgment of the status flag bit of the process can determine which processes need to carry out NVDIMM memory allocation, and further can inform the processes which need to carry out NVDIMM memory allocation to the kernel, so that the kernel can conveniently carry out NVDIMM memory allocation on the processes. Each process typically has its unique identity. The system can confirm the identity of the process through the identification. ID information is typically used to characterize the identity of a process. Therefore, after determining the process needing to perform NVDIMM memory allocation, the ID information of the process needs to be acquired, and after the ID information is notified to the kernel, the kernel can clearly determine the process needing to perform NVDIMM memory allocation according to the ID information.
Further, in order to facilitate management of the application program, i.e., the process, by the user, all process information of the user can be recorded through the linked list, so that the user only needs to determine the corresponding process in the linked list when needing to perform NVDIMM memory allocation operation, and then sets the state flag bit of the process. And the application program based on the linux system has complete description under the/proc directory, so that a linked list structure for storing the relevant information of the user can be designed, dynamic query, addition, deletion and other operations can be implemented on the linked list by reading the stat file under each process directory and then writing the relevant information into the designed linked list structure, when the user program (namely the application program, namely the process) needs to apply for the memory allocation of the NVDIMM, the dynamic addition can be carried out in the linked list, the corresponding state flag bit is set, and then the kernel is notified through the kernel and the user layer message communication module, so that the memory allocation is realized. Preferably, the setting the status flag bit of the process corresponding to the NVDIMM memory allocation request to NVDIMM memory allocation according to the input NVDIMM memory allocation request includes:
receiving an input NVDIMM memory allocation request;
determining a process corresponding to the NVDIMM memory allocation request in a linked list; and setting the status flag bit of the process to be allocated to the NVDIMM memory.
Under the linked list structure, the process needing NVDIMM memory allocation can be determined in a traversal mode. That is, optionally, acquiring the ID information of the process may include:
traversing the status flag bit of the directory file;
and acquiring ID information of a process corresponding to NVDIMM memory allocation set by the status flag bit.
Specifically, referring to fig. 2, the above-described specific process realizes the variable of the application program by reading/proc directory file. In this example, whether NVDIMM memory allocation is required can be determined by whether the first character of the file is a number. If not, it is not needed, and if, it is needed. If the value is a numerical value, process information (e.g., ID information) corresponding to the process needs to be acquired. Establishing communication with the kernel and passing the ID data to the kernel. The information is processed by the kernel to implement NVDIMM memory allocation. And further displaying the process information needing NVDIMM memory allocation to a user through a display window.
S110, sending the ID information to a kernel;
specifically, the user layer (i.e., user mode) and the kernel layer (i.e., kernel mode) communicate to realize the transfer of the ID information. The process may be implemented by a user and kernel communication module, the principle of which enabling communication may be referred to in fig. 3. The kernel state specifies that a socket is created through netlink _ kernel _ create () and that a receiving function is specified. And creating a socket in the user space process in the user mode, and sending the ID information to the kernel by using the socket. The kernel mode receive function receives the user space process ID. Thereby realizing the communication between the user space and the kernel space.
And S120, the kernel allocates a memory for the process in the NVDIMM memory according to the ID information.
Specifically, the kernel allocates memory for the process in the NVDIMM memory directly according to the ID information.
Further to improve the accuracy of the NVDIMM memory allocation process determination. The kernel can determine again whether the process is the memory that needs NVDIMM memory allocation when NVDIMM memory allocation is performed. That is, preferably, allocating, by the kernel, memory for the process in the NVDIMM memory according to the ID information may include:
a receiving function receives the ID information and judges whether a state flag bit of a process corresponding to the ID information is allocated to an NVDIMM memory;
and if so, allocating memory for the process from the NVDIMM memory.
Specifically, after the user layer data is sent to the kernel, communication is established between the user and the kernel, the kernel receives messages, then the data is added into a linked list structure corresponding to the kernel, and the real application of NVDIMM memory processing is realized through judgment of the status flag bit.
For example, referring to fig. 4, after receiving the user layer data such as ID information, the kernel determines whether a status flag bit flag is 1, and if so, allocates a memory for the process in the NVDIMM memory; if not, no memory is allocated to the process in the NVDIMM memory. Further, when the flag is determined to be 0, a prompt message may be sent to the user. So that the user again confirms whether a status flag bit flag error has occurred. Avoiding the occurrence of a mis-allocation condition. The accuracy of the system is improved.
Further, the process requiring NVDIMM memory allocation may be a process that is more concerned by the user, for example, a process for managing information assets, so that the key information of the process can be saved when the system is abnormal. Such as bank database information, etc.
Taking an example that a certain program of a user layer requires to allocate the memory of the NVDIMM, the user layer firstly searches and manages, a user informs the kernel, and the kernel dynamically allocates and processes the structure in real time.
Based on the technical scheme, the Linux system application program memory management method provided by the embodiment of the invention mainly considers the characteristics of NVDIMM memory non-volatility, the characteristics of user process information stored in a/proc directory and the characteristics of the kernel and the user capable of establishing communication in real time, adopts a method based on user layer application management, kernel and user real-time communication and kernel real-time data processing and memory allocation, and realizes memory allocation on the NVDIMM for the key application of the user, thereby realizing data non-volatility and fully ensuring the data security of the user.
In the following, the Linux system application memory management system provided by the embodiment of the present invention is introduced, and the Linux system application memory management system described below and the Linux system application memory management method described above may be referred to in a corresponding manner.
Referring to fig. 5, fig. 5 is a block diagram illustrating an architecture of a Linux system application memory management system according to an embodiment of the present invention; the system may include: the management module 100 of the application program, the user and kernel communication module 200, and the kernel processing module 300; wherein the content of the first and second substances,
the management module 100 of the application program is configured to set a status flag bit of a process corresponding to an NVDIMM memory allocation request to NVDIMM memory allocation according to the input NVDIMM memory allocation request, and acquire ID information of the process;
the user and kernel communication module 200 is configured to send the ID information to a kernel;
the kernel processing module 300 is configured to, by the kernel, allocate a memory to the process in the NVDIMM memory according to the ID information.
Specifically, the user and kernel communication modules can implement bidirectional full duplex communication, the kernel layer can receive messages sent by the user layer, and similarly, the user layer can also receive messages sent by the kernel layer, and the user and kernel communication modules can complete the communication when the user and kernel communication modules need to communicate.
The management module of the application program, namely the manager of the application program, can be positioned at the management front end, can manage the user program in real time, can send messages to the kernel, and can accept the messages from the kernel. The user and kernel communication module can enable the user and the kernel layer to communicate in real time. The kernel processing module can dynamically distribute and manage the NVDIMM memory, so that the application flexibility of the user program memory can be effectively improved, and the data security is improved.
Specifically, the system realizes managers of all application programs on a user layer, is used for managing each application program, and can perform operations such as addition and deletion inquiry on the programs in real time; and the user and kernel communication module is used for receiving and transmitting data between the user and the process. The kernel processing module is used for processing data so as to realize memory allocation management.
Based on the above embodiment, the management module 100 of the application program may include:
the input unit is used for receiving an input NVDIMM memory allocation request;
the state flag bit setting unit is used for determining a process corresponding to the NVDIMM memory allocation request in a linked list; and setting the status flag bit of the process to be allocated to the NVDIMM memory.
Based on the above embodiment, the management module 100 of the application program may include:
the traversal unit is used for traversing the state flag bit of the directory file;
and the ID information acquisition unit is used for acquiring the ID information of the process corresponding to the NVDIMM memory allocation set by the status flag bit.
Based on the above embodiment, the user and kernel communication module 200 specifically creates a socket for the user space process, and sends the ID information to the kernel by using the socket.
Based on the above embodiments, the core processing module 300 may include:
a receiving unit, configured to receive the ID information by a receiving function;
the judging unit is used for judging whether the state flag bit of the process corresponding to the ID information is allocated to the NVDIMM memory;
and the memory allocation unit is used for allocating the memory for the process from the NVDIMM memory if the memory is allocated for the NVDIMM memory.
Based on the technical scheme, in the memory management system for the application program of the Linux system provided by the embodiment of the invention, the management module of the application program in the system mainly realizes traversal processing of all processes, can inquire the state of the process of each application layer program in a kernel in real time, can dynamically realize the functions of deletion and addition, and realizes dynamic monitoring and management. The user and kernel communication module mainly realizes the characteristics of netlink communication between the kernel layer and the user layer, and mainly means that user layer data can be received at any time and processed in time. The kernel processing module is mainly used for judging whether the memory on the NVDIMM is distributed or not according to the state identification position in time. The system solves the problems that in the prior art, only the memory on the main memory can be allocated, the dynamic allocation of the memory on the NVDIMM cannot be realized, and when the system is abnormal, such as the system is powered off, the risk that the user data is lost and cannot be retrieved is solved; the method has high technical value in the aspect of user data guarantee.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method and the system for managing the memory of the application program of the Linux system provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (6)

1. A Linux system application program memory management method is characterized by comprising the following steps:
setting a state flag bit of a process corresponding to the NVDIMM memory allocation request as NVDIMM memory allocation according to the input NVDIMM memory allocation request, and acquiring ID information of the process;
sending the ID information to a kernel;
the kernel allocates a memory for the process in an NVDIMM memory according to the ID information;
the setting the state flag bit of the process corresponding to the NVDIMM memory allocation request to NVDIMM memory allocation according to the input NVDIMM memory allocation request comprises the following steps:
receiving an input NVDIMM memory allocation request;
determining a process corresponding to the NVDIMM memory allocation request in a linked list; setting the status flag bit of the process to be distributed to NVDIMM memory;
the acquiring the ID information of the process includes:
traversing the status flag bit of the directory file;
and acquiring ID information of a process corresponding to NVDIMM memory allocation set by the status flag bit.
2. The method for managing the memory of the application program in the Linux system as recited in claim 1, wherein sending the ID information to a kernel comprises:
the user space process creates a socket and sends the ID information to the kernel using the socket.
3. The method of claim 2, wherein the kernel allocates memory for the process in NVDIMM memory according to the ID information, comprising:
a receiving function receives the ID information and judges whether a state flag bit of a process corresponding to the ID information is allocated to an NVDIMM memory;
and if so, allocating memory for the process from the NVDIMM memory.
4. A Linux system application program memory management system is characterized by comprising: the system comprises a management module of an application program, a user and kernel communication module and a kernel processing module; wherein the content of the first and second substances,
the management module of the application program is used for setting a state flag bit of a process corresponding to an input NVDIMM memory allocation request as NVDIMM memory allocation according to the input NVDIMM memory allocation request and acquiring ID information of the process;
the user and kernel communication module is used for sending the ID information to a kernel;
the kernel processing module is used for the kernel to distribute a memory for the process in an NVDIMM memory according to the ID information;
the management module of the application program comprises:
the input unit is used for receiving an input NVDIMM memory allocation request;
the state flag bit setting unit is used for determining a process corresponding to the NVDIMM memory allocation request in a linked list; setting the status flag bit of the process to be distributed to NVDIMM memory;
the management module of the application program comprises:
the traversal unit is used for traversing the state flag bit of the directory file;
and the ID information acquisition unit is used for acquiring the ID information of the process corresponding to the NVDIMM memory allocation set by the status flag bit.
5. The Linux system application memory management system of claim 4, wherein the user and kernel communication module creates a socket for a user space process and sends the ID information to a kernel using the socket.
6. The Linux system application memory management system of claim 5, wherein the kernel processing module comprises:
a receiving unit, configured to receive the ID information by a receiving function;
the judging unit is used for judging whether the state flag bit of the process corresponding to the ID information is allocated to the NVDIMM memory;
and the memory allocation unit is used for allocating the memory for the process from the NVDIMM memory if the memory is allocated for the NVDIMM memory.
CN201611260417.7A 2016-12-30 2016-12-30 Linux system application program memory management method and system Active CN106648938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611260417.7A CN106648938B (en) 2016-12-30 2016-12-30 Linux system application program memory management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611260417.7A CN106648938B (en) 2016-12-30 2016-12-30 Linux system application program memory management method and system

Publications (2)

Publication Number Publication Date
CN106648938A CN106648938A (en) 2017-05-10
CN106648938B true CN106648938B (en) 2021-01-12

Family

ID=58838955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611260417.7A Active CN106648938B (en) 2016-12-30 2016-12-30 Linux system application program memory management method and system

Country Status (1)

Country Link
CN (1) CN106648938B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108089998A (en) * 2017-12-13 2018-05-29 郑州云海信息技术有限公司 A kind of Linux pagings replacement method and system
CN108897620A (en) * 2018-06-16 2018-11-27 温州职业技术学院 A kind of internal storage management system and its management method
CN109189573B (en) * 2018-08-10 2021-06-01 郑州云海信息技术有限公司 Heterogeneous memory management system based on NVDIMM
CN109144893A (en) * 2018-09-11 2019-01-04 郑州云海信息技术有限公司 A kind of method and apparatus with Nonvolatile memory reservoir process interaction
CN109271244A (en) * 2018-09-11 2019-01-25 郑州云海信息技术有限公司 A kind of process management method and device of Nonvolatile memory reservoir
CN109388581A (en) * 2018-10-08 2019-02-26 郑州云海信息技术有限公司 A kind of Nonvolatile memory reservoir management method and device
CN111444113B (en) * 2019-01-16 2023-06-13 阿里巴巴集团控股有限公司 Nonvolatile storage medium sharing method and device, electronic equipment and storage equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729300A (en) * 2013-12-25 2014-04-16 华为技术有限公司 Method and related device for managing non-volatile memories
CN104102590A (en) * 2014-07-22 2014-10-15 浪潮(北京)电子信息产业有限公司 Heterogeneous memory management method and device
CN104252419A (en) * 2014-09-16 2014-12-31 杭州华为数字技术有限公司 Memory allocation method and device
CN105786725A (en) * 2014-12-25 2016-07-20 研祥智能科技股份有限公司 Memory management method and system based on heterogeneous hybrid memory

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10275164B2 (en) * 2015-05-27 2019-04-30 Nutech Ventures Enforcing persistency for battery-backed mobile devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729300A (en) * 2013-12-25 2014-04-16 华为技术有限公司 Method and related device for managing non-volatile memories
CN104102590A (en) * 2014-07-22 2014-10-15 浪潮(北京)电子信息产业有限公司 Heterogeneous memory management method and device
CN104252419A (en) * 2014-09-16 2014-12-31 杭州华为数字技术有限公司 Memory allocation method and device
CN105786725A (en) * 2014-12-25 2016-07-20 研祥智能科技股份有限公司 Memory management method and system based on heterogeneous hybrid memory

Also Published As

Publication number Publication date
CN106648938A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106648938B (en) Linux system application program memory management method and system
US11809325B2 (en) Deduplicated host cache flush to remote storage
CN108737325B (en) Multi-tenant data isolation method, device and system
US8949518B2 (en) Method for tracking memory usages of a data processing system
EP3258397A1 (en) Text address processing method and apparatus
US11880280B2 (en) Variable number and size of put operations for storage backup
US20170153909A1 (en) Methods and Devices for Acquiring Data Using Virtual Machine and Host Machine
US8966213B2 (en) Granting and revoking supplemental memory allocation requests
CN112346647B (en) Data storage method, device, equipment and medium
CN111897666A (en) Method, device and system for communication among multiple processes
CN108459829B (en) Data storage method and device and computer storage medium
CN110199512B (en) Management method and device for storage equipment in storage system
CN111475519A (en) Data caching method and device
CN115470156A (en) RDMA-based memory use method, system, electronic device and storage medium
CN110706148A (en) Face image processing method, device, equipment and storage medium
CN106406771B (en) Log recording method and logger
CN111125168B (en) Data processing method and device, electronic equipment and storage medium
CN108595109B (en) Multi-client writing method based on Ceph distributed storage system
CN115374057A (en) Data snapshot method and related equipment
CN109508255B (en) Data processing method and device
CN113420050A (en) Data query management method and device, computer equipment and readable storage medium
US7664916B2 (en) Global smartcard cache methods and apparatuses
CN112988034B (en) Distributed system data writing method and device
US10585588B2 (en) Virtual storage free space management
CN111399763B (en) Method, device, system, equipment and storage medium for data storage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201202

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant