Control method and apparatus for a GPU device in a multi-system and electronic device

A control method and multi-system technology, applied in the field of electronic equipment, can solve the problem of operating system delay, consumption of computing and storage resources of the main control system, affecting GPU equipment and other problems

Pending Publication Date: 2019-03-29
BEIJING YUANXIN SCI & TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the method of providing GPU devices to multiple systems through the simulation of the main control system not only consumes the computing and storage resources of the main control system, but also causes delays in switching between different operating systems, thereby losing the advantage of GPU acceleration, and further Affecting real GPU devices cannot dynamically switch between different operating systems

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
  • Control method and apparatus for a GPU device in a multi-system and electronic device
  • Control method and apparatus for a GPU device in a multi-system and electronic device
  • Control method and apparatus for a GPU device in a multi-system and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] The embodiment of the present application provides a method for controlling GPU devices in multiple systems, such as figure 1 As shown, the method includes: step S101 to step S103.

[0035] Wherein, in step S101, when a switching request between the first operating system and the second operating system is detected, the control of the real image processor GPU device by the first operating system is interrupted, and a snapshot of the GPU device is created by a snapshot technology.

[0036] For the embodiment of the present application, when a switching request between the first operating system and the second operating system is detected, the control of the real GPU device by the first operating system is interrupted, and a snapshot of the GPU device is created, so as to perform simulation based on the snapshot of the GPU device deal with.

[0037] Specifically, the hypervisor executes the method for controlling the GPU device in the multi-system provided by the embodim...

Embodiment 2

[0071] The embodiment of the present application provides a control device for GPU devices in multiple systems, such as figure 2 As shown, the control device 20 of the GPU device in the multi-system may include: a system switching detection module 201 , a device simulation processing module 202 and a system switching processing module 203 .

[0072] Wherein, the system switching detection module 201 is configured to interrupt the control of the real image processor GPU device by the first operating system when detecting a switching request between the first operating system and the second operating system, and create a GPU device through snapshot technology snapshot;

[0073] The device simulation processing module 202 is configured to perform simulation according to the snapshot of the GPU device to obtain a simulated GPU device, and provide the simulated GPU device to the first operating system;

[0074]The system switching processing module 203 is configured to provide th...

Embodiment 3

[0084] The embodiment of the present application provides an electronic device, such as image 3 as shown, image 3 The electronic device 400 shown includes: a processor 4001 and a memory 4003 . Wherein, the processor 4001 is connected to the memory 4003 , such as through a bus 4002 . Further, the electronic device 400 may further include a transceiver 4004, and the transceiver 4004 is used to provide a communication function between the electronic device and other devices. It should be noted that, in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 400 does not limit the embodiment of the present application.

[0085] The processor 4001 may be a CPU, a general processor, DSP, ASIC, FPGA or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with...

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 present application provide a control method and apparatus for a GPU device in a multi-system, and electronic device. The method comprises the following steps: when the switching request between the first operating system and the second operating system is detected, the control of the first operating system to the real image processor GPU device is interrupted, and a snapshot ofthe GPU device is created by the snapshot technology; simulation is performed according to a snapshot of that GPU device to obtain an analog GPU device, and the analog GPU device is provide to a first operating system; A real GPU device is provided to a second operating system to complete handover of the real GPU device from the first operating system to the second operating system. The embodiment of the present application realizes the dynamic switching of real GPU devices between different operating systems, and solves the technical problems of computing consumption and storage resources caused by the prior art simulation using the first operating system.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular, the present application relates to a control method, device and electronic equipment for GPU devices in a multi-system. Background technique [0002] With the development of multi-system equipment, in order to realize the utilization of GPU equipment by multiple systems, in related technologies, the simulation software is generally run through the operating system (ie, the main control system) that has the right to use the real GPU equipment, and the simulated The GPU device is provided for use by other operating systems. [0003] However, the method of providing GPU devices to multiple systems through the simulation of the main control system not only consumes the computing and storage resources of the main control system, but also causes delays in the switching of different operating systems, thus losing the advantage of GPU acceleration, and further Affect...

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/163
CPCG06F15/163Y02D10/00
Inventor 刘博赵春雷邹仕洪
Owner BEIJING YUANXIN SCI & TECH
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