Method for implementing inner core level thread library based on built-in Linux operating system

An operating system, kernel-level technology, applied in the field of kernel-level thread library implementation, can solve problems such as aggravating application development and porting difficulty, and complex kernel module programming, and achieve the requirements of ensuring real-time performance, improving overall performance, and eliminating overhead. Effect

Inactive Publication Date: 2008-07-23
NO 709 RES INST OF CHINA SHIPBUILDING IND CORP
View PDF0 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are many kernel API interfaces involved, and kernel module programming is very complicated, requiring programmers

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 for implementing inner core level thread library based on built-in Linux operating system
  • Method for implementing inner core level thread library based on built-in Linux operating system
  • Method for implementing inner core level thread library based on built-in Linux operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0089] The improvement of the performance of the embedded Linux system by the LKTL thread library is tested, and the response time of the embedded Linux system is evaluated when the LKTL thread library is not used and when the LKTL thread library is used. The test environment uses the simulation environment of the virtual machine, and the following three tests are carried out:

[0090] (1) Creation delay when creating 10 and 100 threads respectively;

[0091] (2) The response delay when the system calls open and close of the file system are executed 1000 times;

[0092] (3) Execution delay of a typical client application in C / S mode, the client and the server perform simple information interaction.

[0093] Through the simulation experiment, the following test results are obtained:

[0094] Create 10 threads in a row

[0095] Loop call open(), close() function 1000 times

[0096] The execution delay of a typical client application in C / S mo...

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 relates to a method for realizing kernel level process lib based on embedded Linux operating system, which realizes an integral kernel process manage system, provides kernel process management, signal amount management, memory management and log management, and AIP function interface of the function subgroup of standard C lib. The invention has the advantages that 1, the invention can modify little on kernel to support the software real-time or hardware real-time calling mechanism of prior embedded Linux operating system and confirm the application real-time demand, 2, the invention can completely eliminate the consumption of repeated switch of application process between user state and kernel state, to improve the integral performance of embedded Linux application system, 3, the invention shields the complexity of kernel module programming, to provide a development frame for developers and a series of programming interfaces (API), thereby reducing development and application complexity and improving development efficiency.

Description

technical field [0001] The invention relates to the field of embedded operating systems, in particular to a method for realizing a kernel-level thread library based on an embedded Linux operating system. Background technique [0002] The kernel is the inner core of the operating system, and other parts of the system must rely on the services provided by the kernel, such as managing hardware devices, allocating system resources, and so on. The operating system kernel is usually composed of an interrupt service program that responds to interrupts, a processor scheduler that manages multiple processes, a memory management program that manages process address spaces, and system services such as network and inter-process communication. [0003] As an operating system based on the GNU specification, Linux is increasingly popular due to its diversity of hardware support, high efficiency and stability of kernel operation, flexibility of application development, unique on-demand tail...

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/46G06F9/48
Inventor 蔡斌邓广宏刘毅池志强黄志华程雄
Owner NO 709 RES INST OF CHINA SHIPBUILDING IND 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
Try Eureka
PatSnap group products