Table Of Contents:

概要 / Abstract

割り込みフックドライバ / Interrupt hooked driver

irqhook-0.0.4.tar.gz

This is a kernel driver which records time stamps on interrupt events, and wakes up user level device drivers on interrupt receipt. It provides a psuedo-file on the /proc filesystem, and ULDD can read the file to get the interrupt events for the user-level driver.

サンプルアプリケーション / Sample Application

SM501 UART serial terminal for RTS7715R2D

sm501uart_tty-0.0.1.tar.gz

実験 / Experiment

目的 / Objective

割り込み処理をユーザタスクで行う場合に問題となる、割り込み応答時間のレイテンシ増分を測定する。 Mesure the increase of the interrupt reacting time ratency, which may affect to achieve the intrerrupt handling by the user task.

環境 / Environment

方法 / Method

シリアルからデータを送信し、割り込み発生後、カーネルドライバの割り込みハンドラが起動してから、ハンドラによってwakeup()されたULDDが起床するまでの時間を測定する。
Send the data from serial inerface. Measure the time after interrupt is evoked and the interrupt handler started, until ULDD to be woke up by the handler to wakeup().

結果 / Result

Disturbance task indicates load.

IRQ Delivering Method

Scheduling Policy

Disturbance Task

Linux 2.6.16.4 (CONFIG_PREEMPT=y)

Linux 2.4.20

MAX (us)

AVG (us)

MIN (us)

Plot

MAX (us)

AVG (us)

MIN (us)

Plot

File I/O (sync)

SCHED_OTHER

(none)

39.80

17.52

13.73

14.93

6.98

6.87

SCHED_OTHER

lat_proc

253.27

42.57

10.93

2808.13

478.43

6.53

SCHED_RR

(none)

38.13

15.73

14.07

17.13

6.34

6.20

SCHED_RR

lat_proc

33.73

14.32

8.80

2697.13

485.29

6.60

SIGIO (async)

SCHED_OTHER

(none)

524.00

62.84

45.47

SCHED_OTHER

lat_proc

72317.40

2185.96

83.33

SCHED_RR

(none)

81.40

47.12

43.67

SCHED_RR

lat_proc

280.93

102.89

79.40

SIGRT (async)

SCHED_OTHER

(none)

83.47

50.00

44.80

SCHED_OTHER

lat_proc

85973.93

2528.19

85.40

SCHED_RR

(none)

75.93

46.71

43.07

SCHED_RR

lat_proc

290.80

102.18

78.87

ulddexp-fio-nort-nodt-26.JPG

ulddexp-fio-nort-dt-26.JPG

ulddexp-fio-rt-nodt-26.JPG

ulddexp-fio-rt-dt-26.JPG

ulddexp-sig-nort-nodt-26.JPG

ulddexp-sig-nort-dt-26.JPG

ulddexp-sig-rt-nodt-26.JPG

ulddexp-sig-rt-dt-26.JPG

ulddexp-rtsig-nort-nodt-26.JPG

ulddexp-rtsig-nort-dt-26.JPG

ulddexp-rtsig-rt-nodt-26.JPG

ulddexp-rtsig-rt-dt-26.JPG

ulddexp-fio-nort-nodt-24.JPG

ulddexp-fio-nort-dt-24.JPG

ulddexp-fio-rt-nodt-24.JPG

ulddexp-fio-rt-dt-24.JPG

UserLevelDeviceDriver (last edited 2008-05-07 18:22:13 by localhost)