Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

K8s-oriented user mode virtual equipment driving framework

A virtual device and driver framework technology, applied in program control design, software simulation/interpretation/simulation, instrumentation, etc., can solve problems such as unsuitable containerized applications, reduce complexity, ensure equipment efficiency, and improve isolation Effect

Pending Publication Date: 2021-03-12
716TH RES INST OF CHINA SHIPBUILDING INDAL CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] As a container orchestration software, k8s has become the standard configuration of cloud computing platforms, and all cloud platforms in various places provide k8s services; however, the current user-mode device driver framework is mainly proposed for traditional application models and is not suitable for containerized applications.

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
  • K8s-oriented user mode virtual equipment driving framework
  • K8s-oriented user mode virtual equipment driving framework
  • K8s-oriented user mode virtual equipment driving framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0032] In one embodiment, combined with figure 1 , providing a user-mode virtual device driver framework for k8s, the driver framework includes IO devices, the Linux kernel is the kernel space, and the k8s pod is the user space;

[0033] The IO device supports SRIOV, and can be virtualized into multiple virtual device VFs, and multiple VFs share hardware resources;

[0034] The Linux kernel maps the IO address and interrupt of the VF to the pause container of the k8s pod through VFIO and eventfd; the VF device driver runs in the pause container of the pod, and other appli...

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 k8s-oriented user mode virtual device driving framework, which virtualizes IO (Input / Output) devices into a plurality of virtual devices sharing hardware resources by adopting an SRIOV (Single Radio Input / Output Virtualization) technology, maps IO addresses and interrupts of the virtual devices into a pad container of a pad, and runs a driving program of the virtual devices in the pad container. Other application containers in the pod access the drive program in the pause container in a memory sharing mode. The framework provides contents such as virtual equipment management, application program and driving program communication interfaces, a user only needs to compile a driving code of specific equipment under the framework, and the complexity of compiling an equipment driving program is reduced. According to the framework, a virtualization and transparent transmission mode is adopted, most functions of a device driver are transplanted into a pause containerto be achieved, the framework can be delivered together with an application program, and the isolation and deliverability of the driver and the reliability of a system are improved while the device efficiency is guaranteed.

Description

technical field [0001] The invention belongs to the field of user state device drive frameworks, in particular to a k8s-oriented user state virtual device drive framework. Background technique [0002] In Linux systems, traditional drivers run in kernel mode and share the same address space with other parts of the kernel. Due to the complexity of the driver itself and the fact that the developers are not fully familiar with the kernel structure, errors will inevitably occur in the driver they develop. Once the driver generates an error, it will affect all applications using the driver and other kernel codes that refer to the driver, and even cause the entire operating system to crash, affecting the reliability of the entire system. [0003] In order to improve the reliability of the system, it is an effective way to move the driver program to the user mode. The main advantages of the driver program running in user mode include: (1) Driver developers can use rich user mode ...

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): G06F9/455
CPCG06F9/45558G06F2009/4557
Inventor 殷进勇杨建杨鸿斌李轶方新茂路朗徐振朋曾玮妮张鹏徐国强
Owner 716TH RES INST OF CHINA SHIPBUILDING INDAL CORP
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
Eureka Blog
Learn More
PatSnap group products