Linux embedded real-time operating system development and design (eight)

xiaoxiao2021-03-06  107

Chapter 5 RTLinux performance test

Introduction to the discontinuation delay in accordance with Section 2.2. In this chapter, we will test the interrupt delay of RTLinux. The machine was tested for Celeron 412MHz, 196MB of memory, RTLinux3.1 Linux-2.2.19 (the same as the previous test Linux version) (Test program in Appendix 2). The results of the test are shown in Table 5.1:

Load type

average value

Minimum

Maximum

No load

2.36

2.10

15.50

Hard disk loop copy

3.20

2.10

19.40

Calculate load

2.56

2.20

14.50

Table 5.1 Real-Time Interrupt Delay Time (Units: Microsecond)

N no load: all processes have killed

n hard disk loop copy: a hard disk loop copy shell script running

n Computation load: a cycle to perform a floating point calculation

From the test results, RTLinux's interrupt response time is significantly less than the interrupt response time of standard Linux. In the disk copy load, the maximum delay is 19.40 microseconds, in which the standard Linux has a delay of 500 microseconds.

In order to calculate the scheduling accuracy, we run a cycle real-time task. When each cycle task is waken, record and compare it, record the maximum time value. Time value is around 10 microseconds.

From the previous result,

RTLinux

It is the operating system that is fully qualified for real-time operations.

转载请注明原文地址:https://www.9cbs.com/read-125777.html

New Post(0)