-
公开(公告)号:US10469583B2
公开(公告)日:2019-11-05
申请号:US15550851
申请日:2015-10-12
Inventor: Guangjun Xie , Baisheng Wang , Zhiyong Li
Abstract: The present disclosure provides a data storage method and device. The data storage method includes: receiving data by a simulating device from a client operating system; encapsulating the data in a user space of a host system according to a protocol used by a storage server; and sending the encapsulated data to the storage server for storage. The method can realize storing data in the storage server, thereby shortening the I/O path, improving the I/O throughput of a system, reducing the CPU load, and optimizing the system performance.
-
公开(公告)号:US20170329655A1
公开(公告)日:2017-11-16
申请号:US15280122
申请日:2016-09-29
Inventor: Linsi Yuan , Baisheng Wang , Dong Sun , Zhiyong Li
CPC classification number: G06F9/542 , G06F3/0613 , G06F3/0647 , G06F3/0659 , G06F3/0683 , G06F9/485 , G06F9/545
Abstract: The present application discloses a method and apparatus of unloading an out of memory (OOM) processing flow to a user space. A specific implementation of the method includes: writing related information of an OOM event into a memory page shared by a user space and a kernel space when a process triggers the OOM event, the related information comprising: an identification of the process and a path of a memory resource control sub-system where the process exists; acquiring, by an OOM service process of the user space, the related information of the OOM event through the memory page; and processing, by the OOM service process of the user space, the OOM event using the related information of the OOM event. The implementation implements unloading of an OOM processing in a kernel state to a user state for execution, and the whole OOM processing process is handed over to a user state process for implementation, which reduces the complexity of execution of the OOM processing, and is conducive to adjustment of OOM processing strategies and upgrade and replacement of services.
-
公开(公告)号:US10417062B2
公开(公告)日:2019-09-17
申请号:US15280122
申请日:2016-09-29
Inventor: Linsi Yuan , Baisheng Wang , Dong Sun , Zhiyong Li
Abstract: The present application discloses a method and apparatus of unloading an out of memory (OOM) processing flow to a user space. A specific implementation of the method includes: writing related information of an OOM event into a memory page shared by a user space and a kernel space when a process triggers the OOM event, the related information comprising: an identification of the process and a path of a memory resource control sub-system where the process exists; acquiring, by an OOM service process of the user space, the related information of the OOM event through the memory page; and processing, by the OOM service process of the user space, the OOM event using the related information of the OOM event. The implementation implements unloading of an OOM processing in a kernel state to a user state for execution, and the whole OOM processing process is handed over to a user state process for implementation, which reduces the complexity of execution of the OOM processing, and is conducive to adjustment of OOM processing strategies and upgrade and replacement of services.
-
-