CN109542628A - A kind of stratification GPU resource management system based on state machine - Google Patents

A kind of stratification GPU resource management system based on state machine Download PDF

Info

Publication number
CN109542628A
CN109542628A CN201811518787.5A CN201811518787A CN109542628A CN 109542628 A CN109542628 A CN 109542628A CN 201811518787 A CN201811518787 A CN 201811518787A CN 109542628 A CN109542628 A CN 109542628A
Authority
CN
China
Prior art keywords
gpu
module
interface
hierarchy
stratification
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.)
Granted
Application number
CN201811518787.5A
Other languages
Chinese (zh)
Other versions
CN109542628B (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.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
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 Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201811518787.5A priority Critical patent/CN109542628B/en
Publication of CN109542628A publication Critical patent/CN109542628A/en
Application granted granted Critical
Publication of CN109542628B publication Critical patent/CN109542628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention belongs to area of computer graphics, a kind of stratification GPU resource management system based on state machine, including device drives level module (1), more GPU system hierarchy modules (2), standard rendering interface hierarchy module (3), expansion interface hierarchy module (4) and user interface level module (5) are provided.The present invention has the stratification GPU resource model of inside modules state machine by establishing, and the switching and migration of effective control module internal state enhance the robustness of each hierarchy module of GPU equipment, and completion efficiently manages GPU hardware, software resource.

Description

A kind of stratification GPU resource management system based on state machine
Technical field
The invention belongs to area of computer graphics more particularly to a kind of stratification GPU resource management systems based on state machine System.
Background technique
Graphics processor (GPU) is the core component of computer graphic image processing, and the superiority and inferiority of performance directly determines to answer With the effect of drafting.Meanwhile the rapid growth of parallel data process demand, allow GPU in general-purpose computations field in occupation of importantly Position.However, the features such as graphics processor design structure is complicated, 3D flowing water is long, software and hardware resources are numerous, state transition is complicated, right The design and exploitation of graphics processor propose strict requirements.
Summary of the invention
The purpose of the present invention is:
The present invention provides a kind of stratification GPU resource management system based on state machine, completes to provide GPU hardware, software The efficient management in source.Meanwhile module status machine, the switching of active control unit state and migration are introduced in inside modules, enhance GPU The robustness of each hierarchy module of equipment lays good design basis to design and develop high-performance GPU.
Solution of the invention is:
A kind of stratification GPU resource management system based on state machine, including device drives level module 1, more GPU systems Hierarchy module 2, standard rendering interface hierarchy module 3, expansion interface hierarchy module 4 and user interface level module 5;
Device drives level module 1 drives and manages GPU bottom hardware, supports list GPU equipment development and more GPU equipment Two ways is developed, provides device drives calling for more GPU system hierarchy modules 2 and standard rendering interface hierarchy module 3;
More GPU system hierarchy modules 2 support the grid system of more GPU equipment composition, support multiple task management, on more GL Hereafter, it calls 1 interface of device drives level module to complete the management to GPU equipment, while being standard rendering interface hierarchy module 3 GPU system management is provided;
Standard rendering interface hierarchy module 3, provides test pattern, Image Rendering interface, and standard rendering interface relies on equipment Driving hierarchy module 1 and more GPU system hierarchy modules 2 are handled;
Expansion interface hierarchy module 4 provides general graphic plotting extension content, including graphic plotting third party library, and Desktop system, expansion interface order are issued by standard rendering interface hierarchy module 3;
User interface level module 5, user can call 3 standard rendering interface hierarchy modules and 4 expansion interface level moulds The drafting that two class graphic plotting interface of block is applied.
State includes powerup/reset, opens initialization, work, closing and malfunction in device drives level module 1.
Standard rendering interface hierarchy module 3 includes scanning self-test, configuration, grid sets up, works, closing and malfunction.
Test pattern, the Image Rendering interface of standard rendering interface hierarchy module 3, including OpenGL, DirectX interface.
The graphic plotting third party library of expansion interface hierarchy module 4 includes: glu, glut, character library.
The desktop system of expansion interface hierarchy module 4 includes: MiniGUI.
A kind of stratification GPU resource management system based on state machine provided by the invention has in module by establishing The stratification GPU resource model of portion's state machine, the switching and migration of effective control module internal state enhance each layer of GPU equipment The robustness of grade module, completion efficiently manage GPU hardware, software resource.
Detailed description of the invention
Fig. 1 is module map of the invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to embodiments, to the present invention It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to Limit the present invention.
Technical solution of the present invention is described in further detail in the following with reference to the drawings and specific embodiments.
As shown in Figure 1, a kind of stratification GPU resource management method based on state machine, including device drives level module 1, more GPU system hierarchy modules 2, standard rendering interface hierarchy module 3, expansion interface hierarchy module 4 and user interface level mould Block 5;
Device drives level module 1 drives and manages GPU bottom hardware, supports list GPU equipment development and more GPU equipment Two ways is developed, provides device drives calling, the mould for more GPU system hierarchy modules 2 and standard rendering interface hierarchy module 3 State includes powerup/reset, opens initialization, work, closing and malfunction in block;
Device drives include hardware driving and software-driven two parts.Hardware driving is provided to GPU hardware equipment, including The management of pcie, mmu, dc, spi, iic, gpio;Software-driven includes host driven, GL command process and command buffer Management;
Equipment state successively switches according to powerup/reset, opening initialization, work and closed state, if opening just Beginningization or working condition break down, then enter malfunction;
More GPU system hierarchy modules 2, which is characterized in that the grid system for supporting more GPU equipment compositions supports multitask Management, more GL contexts are called 1 interface of device drives level module to complete the management to GPU equipment, while being connect for standard drafting Mouth hierarchy module 3 provides GPU system management, which includes scanning self-test, configuration, grid sets up, works, closing and failure shape State;
More GPU systems include three more GPU equipment managements, multiple task management and more GL context managements parts.More GPU are set Standby management is called underlying device driving interface and is set according to the format management of grid cell maintenance GPU by construction desktop grid It is standby;Multitask, more GL context managements according to multitask, more GL administrative models, being specified according to user for task, GL context into Row processing;
More GPU system states are followed successively by scanning self-test, configuration, grid establishment, work and closed state, if in grid group It builds or breaks down in working, then enter malfunction;
Standard rendering interface hierarchy module 3 provides test pattern, Image Rendering interface, including OpenGL, DirectX, draws Interface processed can be handled by device drives level module 1 and more GPU system hierarchy modules 2;
Expansion interface hierarchy module 4 provides general graphic plotting extension content, including graphic plotting third party library, such as Glu, glut, character library and desktop system, such as MiniGUI, expansion interface order are carried out by standard rendering interface hierarchy module 3 It issues;
User interface level module 5, which is characterized in that user can call standard rendering interface hierarchy module 3 and extension The drafting that 4 liang of class graphic plotting interfaces of interface hierarchy module are applied.

Claims (6)

1. a kind of stratification GPU resource management system based on state machine, which is characterized in that including device drives level module (1), more GPU system hierarchy modules (2), standard rendering interface hierarchy module (3), expansion interface hierarchy module (4) and user connect Mouth hierarchy module (5);
Device drives level module (1) drives and manages GPU bottom hardware, and list GPU equipment development and more GPU equipment is supported to open Two ways is sent out, is that more GPU system hierarchy modules (2) and standard rendering interface hierarchy module (3) provide device drives and call;
More GPU system hierarchy modules (2) support the grid system of more GPU equipment compositions, support multiple task management, more GL or more Text calls device drives level module (1) interface to complete the management to GPU equipment, while being standard rendering interface hierarchy module (3) GPU system management is provided;
Standard rendering interface hierarchy module (3), provides test pattern, Image Rendering interface, and standard rendering interface drives by equipment Dynamic hierarchy module (1) and more GPU system hierarchy modules (2) are handled;
Expansion interface hierarchy module (4) provides general graphic plotting extension content, including graphic plotting third party library and table Plane system, expansion interface order are issued by standard rendering interface hierarchy module (3);
User interface level module (5), user can call (3) standard rendering interface hierarchy module and (4) expansion interface level The drafting that two class graphic plotting interface of module is applied.
2. a kind of stratification GPU resource management system based on state machine as described in claim 1, which is characterized in that
Device drives level module (1) interior state includes powerup/reset, opens initialization, work, closing and malfunction.
3. a kind of stratification GPU resource management system based on state machine as described in claim 1, which is characterized in that
Standard rendering interface hierarchy module (3) includes scanning self-test, configuration, grid sets up, works, closing and malfunction.
4. a kind of stratification GPU resource management system based on state machine as described in claim 1, which is characterized in that
Test pattern, the Image Rendering interface of standard rendering interface hierarchy module (3), including OpenGL, DirectX interface.
5. a kind of stratification GPU resource management system based on state machine as described in claim 1, which is characterized in that
The graphic plotting third party library of expansion interface hierarchy module (4) includes: glu, glut, character library.
6. a kind of stratification GPU resource management system based on state machine as described in claim 1, which is characterized in that
The desktop system of expansion interface hierarchy module (4) includes: MiniGUI.
CN201811518787.5A 2018-12-12 2018-12-12 Hierarchical GPU resource management system based on state machine Active CN109542628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811518787.5A CN109542628B (en) 2018-12-12 2018-12-12 Hierarchical GPU resource management system based on state machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811518787.5A CN109542628B (en) 2018-12-12 2018-12-12 Hierarchical GPU resource management system based on state machine

Publications (2)

Publication Number Publication Date
CN109542628A true CN109542628A (en) 2019-03-29
CN109542628B CN109542628B (en) 2023-03-14

Family

ID=65855072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811518787.5A Active CN109542628B (en) 2018-12-12 2018-12-12 Hierarchical GPU resource management system based on state machine

Country Status (1)

Country Link
CN (1) CN109542628B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1666182A (en) * 2002-05-08 2005-09-07 英特尔公司 Method and system for optimally sharing memory between a host processor and graphic processor
US20080018652A1 (en) * 2006-07-24 2008-01-24 Microsoft Corporation Application program interface for programmable graphics pipeline
CN102541804A (en) * 2011-12-26 2012-07-04 中国人民解放军信息工程大学 Multi-GPU (graphic processing unit) interconnection system structure in heterogeneous system
CN102867284A (en) * 2011-07-07 2013-01-09 腾讯科技(深圳)有限公司 Graph drawing engine and implementation method thereof
US8436870B1 (en) * 2006-08-01 2013-05-07 Nvidia Corporation User interface and method for graphical processing analysis
US20130300655A1 (en) * 2012-05-09 2013-11-14 Christopher Michael Cameron Graphics processing unit sharing between many applications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1666182A (en) * 2002-05-08 2005-09-07 英特尔公司 Method and system for optimally sharing memory between a host processor and graphic processor
US20080018652A1 (en) * 2006-07-24 2008-01-24 Microsoft Corporation Application program interface for programmable graphics pipeline
US8436870B1 (en) * 2006-08-01 2013-05-07 Nvidia Corporation User interface and method for graphical processing analysis
CN102867284A (en) * 2011-07-07 2013-01-09 腾讯科技(深圳)有限公司 Graph drawing engine and implementation method thereof
CN102541804A (en) * 2011-12-26 2012-07-04 中国人民解放军信息工程大学 Multi-GPU (graphic processing unit) interconnection system structure in heterogeneous system
US20130300655A1 (en) * 2012-05-09 2013-11-14 Christopher Michael Cameron Graphics processing unit sharing between many applications

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
XIAOQI JIA等: "Using virtual machines to do cross-layer damage assessment", 《VMSEC "08: PROCEEDINGS OF THE 1ST ACM WORKSHOP ON VIRTUAL MACHINE SECURITY》 *
崔雪冰等: "基于GPU的通用计算模型", 《河南科技大学学报(自然科学版)》 *
张云洲等: "面向多任务的GPU通用计算虚拟化技术研究", 《计算机工程与科学》 *
石文娟: "异构环境下分层并行通用计算模型的设计与实现", 《中国优秀硕士学位论文全文数据库》 *
裴颂文等: "异构千核处理器系统的统一内存地址空间访问方法", 《国防科技大学学报》 *

Also Published As

Publication number Publication date
CN109542628B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
CN111488196B (en) Rendering method and device, storage medium and processor
CN100472451C (en) Dummy machine system and its hardware access method
CN100570562C (en) Video card, the dummy machine system of using this video card and display processing method
CN102436364B (en) Multi-display control method and system thereof
CN103986662A (en) Cross-virtualization-platform virtual router achieving method
CN112614202A (en) GUI rendering display method, terminal, server, electronic device and storage medium
CN103491188A (en) Implementation method for enabling multiple users to share graphic workstation by using virtual desktop and GPU pass-through
CN106020929A (en) System and method for supporting 3D application in virtual environment
KR20120018821A (en) Virtual graphics device driver
CN103309830A (en) Driver of CPCI bus CAN communicating module under VxWorks operating system and driving method
CN106027882A (en) Redirection method for camera arranged in virtual environment
CN104503825A (en) Mixed type equipment virtualization method based on KVM (Kernel-based Virtual Machine)
CN112860364A (en) Android graph display method based on Linux kernel
US8860740B2 (en) Method and apparatus for processing a display driver in virture desktop infrastructure
CN114461406A (en) DMA OpenGL optimization method
CN105262880A (en) Mobile phone control demonstration system applied to WiFi network
US10733689B2 (en) Data processing
CN109542628A (en) A kind of stratification GPU resource management system based on state machine
CN116401900B (en) Method and device for communication among multiple systems of software simulation
CN115373618B (en) Multi-screen display method and device, vehicle machine and storage medium
CN205016211U (en) Led large screen information display system
CN103077007B (en) Based on the hybrid parallel drawing method of CUDA-GPU cluster platform
CN102591656B (en) Achieving method and achieving device for window animation
CN107728984A (en) A kind of virtual reality picture display control program
CN107908428A (en) A kind of frame, the GPU graphics command buffer synchronisation methods of page synchronization

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
GR01 Patent grant
GR01 Patent grant