A query task communication method and system

A communication method and task technology, applied in the communication field, can solve the problems of low delay tolerance, poor user experience, and increase the time-consuming of query tasks, and achieve the effects of avoiding data copying, avoiding contention, and reducing the number of copies.

Active Publication Date: 2020-11-06
SHANGHAI JIAO TONG UNIV
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is obvious that the frequent data copying between GPU and CPU in the above communication process will significantly increase the time consumption of the query task, which will cause a bad user experience for tasks with low delay tolerance such as query.

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
  • A query task communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0049] Such as figure 1 As shown, a query task communication method provided by the present invention includes:

[0050] Registration step: load the data set distribution on each server in the cluster, perform initialization work, and register GPU memory and CPU memory on the server for GPUDirect RDMA and RDMA respectively. These two memory areas are called "GPU RDMA buffer" and "CPU RDMA buffer" respectively.

[0051] Query request step: send the query request to a server in the cluster;

[0052] Pa...

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 provides a task communication querying method and a system thereof. The method comprises the following steps: the server of the received query request analyzing the query request, and decomposing the query sentence in the query request into a plurality of sub-steps, wherein the related information of the sub-steps belongs to the metadata of the query task; processing the query request step by step from the first sub-step of the plurality of sub-steps to obtain an intermediate result of the query; if the next sub-step relies on data at the remote server, then, the query intermediate result and the metadata of the query task being sent to the remote server through GPUDirect RDMA and RDMA respectively, and the remote server continuing to process the sub-steps of the query request according to the received query intermediate result and the metadata of the query task. The invention reduces the cost of the whole communication process, avoids the contention of network resourcesand improves the performance of the whole inquiry system.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a query task communication method based on GPUDirect RDMA. Background technique [0002] In the era of big data, the scale of data is getting larger and larger. For example, the number of web pages on the Internet reaches billions. Huge data is often divided into multiple parts and stored in multiple machines. In order to find interesting data in a huge data set, software that provides query services usually runs in a distributed environment consisting of multiple machines. [0003] With the continuous development of hardware technology, servers equipped with high-performance graphics processing units (GPUs) have gradually appeared in data centers. Compared with CPUs, GPUs have stronger computing performance and higher memory bandwidth, so they are often used as computing tasks. Accelerator, as a supplement to the CPU. Nvidia GPUs, which are widely used in data ce...

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 Patents(China)
IPC IPC(8): G06F16/245G06F16/2458H04L29/08
CPCH04L67/1044H04L67/1097
Inventor 陈榕陈海波臧斌宇管海兵王思源
Owner SHANGHAI JIAO TONG UNIV
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