Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, system and device for communication of Ceph kernel client and medium

A client and kernel technology, applied in digital data information retrieval, instruments, computers, etc., can solve problems such as high CPU usage, high communication delay, and low communication efficiency

Active Publication Date: 2021-07-06
SHANDONG YINGXIN COMP TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The communication delay of the Ceph kernel client in the prior art is

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
  • Method, system and device for communication of Ceph kernel client and medium
  • Method, system and device for communication of Ceph kernel client and medium
  • Method, system and device for communication of Ceph kernel client and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0023] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0024] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of a method for communicating with a Ceph kernel client. figure 1 What is shown is a schematic diagram of an embodiment of a metho...

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

The invention discloses a method, system and device for communication of Ceph kernel client and medium, and the method comprises the steps: building communication between the Ceph kernel client and a Ceph distributed storage based on an RoCE protocol, and building and initializing a sending completion queue and a receiving completion queue; in response to sending a message to the Ceph distributed storage and the type of the message being a non-blocking message, determining a first size of the to-be-sent data according to the message; calculating a second size of the data which can be sent this time according to the size of the current idle cache, and judging whether the second size is smaller than the first size or not; in response to the fact that the second size is smaller than the first size, obtaining a request sent to a sending completion queue, and releasing a cache corresponding to the request to update a current idle cache; and copying the data to be sent to the updated current idle cache, submitting a request to the sending completion queue to send the data to be sent, updating the first size based on the size of the copied data, and sending the data again until the first size is zero.

Description

technical field [0001] The present invention relates to the field of distributed file systems, and more specifically, refers to a method, system, computer equipment and readable medium for communicating with a Ceph kernel client. Background technique [0002] Ceph is a distributed file system with high performance, high reliability and high scalability. It can provide object storage, block device storage and file system storage. When Ceph provides file system storage, users can access it through the NAS client, and when the client is a linux system, it can also access it through the fs module in the linux kernel. Currently, there are kernel clients for linux systems to access the Ceph storage file system , the network implementation adopts the tcp / ip communication mode. The communication delay of the Ceph kernel client in the prior art is high, the CPU usage is high, and the communication efficiency is low. Contents of the invention [0003] In view of this, the purpose ...

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
IPC IPC(8): G06F15/173G06F16/182
CPCG06F15/17331G06F16/1827
Inventor 马龙张端
Owner SHANDONG YINGXIN COMP TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products