• Title/Summary/Keyword: 인터럽트 지연

Search Result 30, Processing Time 0.025 seconds

Performance analysis of DPC designed through a HISR on CNU_RTOS Real-Time Operating System (실시간 운영체제 CNU_RTOS상에서 HISR로 구현된 DPC의 성능 분석)

  • Jung, bok-jae;Lee, cheol-hoon
    • Proceedings of the Korea Contents Association Conference
    • /
    • 2012.05a
    • /
    • pp.29-30
    • /
    • 2012
  • 하드웨어 기술이 빠르게 성장함에 따라 임베디드 시스템의 발전이 가속화 되고 있다. 이러한 임베디드 시스템 상에서 논리적이고 신뢰성 있는 처리를 지원해 주기 위해 실시간 운영체제를 도입하게 되었다. 이러한 실시간 운영체제의 인터럽트 처리는 더 높은 우선순위의 인터럽트 서비스 루틴 수행에 의해 현재 발생한 인터럽트가 마스킹 되어 인터럽트 지연시간이 길어질 수 있다. 이러한 경우 시간결정성이 보장되지 않아 실시간성이 저해 된다. 범용 운영체제인 윈도우즈 운영체제의 경우 DPC(Deferred Procesure Call)라는 메커니즘을 이용하여 인터럽트 지연시간을 줄이는데, DPC란 인터럽트에서 보다 덜 중요한 부분을 지연처리호출로 처리하도록 하여 인터럽트의 지연시간을 줄이는 방식으로 이러한 DPC 메커니즘을 국산 실시간 운영체제인 CNU_RTOS상에서 HISR(High Level Interrupt Service Routine)을 이용하여 구현하였다. 본 논문에서는 CNU_RTOS상에서 HISR을 이용하여 구현된 DPC기법을 이용한 인터럽트의 처리 시간과 일반 인터럽트의 처리시간을 비교하여 측정하고 분석한다.

  • PDF

Real-time characteristic analysis through measure of interrupt latency on PC (PC에서의 인터럽트 지연 측정을 통한 실시간성 분석)

  • 송정애;황소영;김영호
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2002.04a
    • /
    • pp.94-96
    • /
    • 2002
  • 최근 들어 IBM 호환 PC의 성능이 급속도로 향상됨에 따라 이를 기반으로 하는 실시간 시스템의 필요성이 대두되고 있다. 이는 기존의 실시간 제어 시스템이 특별하게 설계된 하드웨어를 요구하는 것에 반해 널리 사용되는 하드웨어를 이용함으로써 응용 프로그램의 이식성을 높여 주는 큰 장점을 가지고 있다. 이러한 PC클 실시간 시스템으로 개발하게 위해서는 PC에서의 실시간 분석이 선행 되어야 한다. 실시간 시스템들 위한 중요한 요소는 인터럽트가 발생 하였을 때 바른 시간에 인터럽트 핸들러를 불러 주는 것이다. 즉, 인터럽트 발생에서 인터럽트 핸들러가 불리기까지의 시간인 인터럽트지연(interrupt latency) 시간이 짧아야 한다. 따라서, 논문에서는 실시간 시스템의 성능에 영향을 주는 인터럽트 지연을 측정하고, 이를 통하여 PC에서의 인터럽트 특성 및 실시관성을 분석한다.

  • PDF

Latency Evaluation of CPU Idle Time Based Interrupt Processing on Pfair Multi-Core Scheduler (Pfair 멀티코어 스케줄러에서 CPU 유휴시간 기반의 인터럽트 처리 기법의 지연시간 평가)

  • Park, Sangsoo
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2014.04a
    • /
    • pp.31-32
    • /
    • 2014
  • 다중의 명령어를 동시에 수행할 수 있는 멀티코어 시스템의 특성으로 하나의 시스템 내에서 태스크를 수행하면서 외부 이벤트의 발생에 의한 인터럽트를 동시에 처리할 수 있다. 각 태스크가 처리되어야 하는 시간에 제약성을 갖는 실시간 시스템에서는 스케줄러에 의해 CPU 코어에서의 수행이 제어되어야한다. 본 논문에서는 최적이라고 알려진 Pfair 멀티코어 스케줄러의 각 코어별 유휴시간을 정량적으로 평가함으로써 인터럽트 처리의 지연시간을 분석한다.

Design and Implementation of DPC using a HISR on iRTOS Real-Time Operating System (실시간 운영체제 iRTOS상에서의 HISR을 이용한 DPC설계 및 구현)

  • Gwon, Jae-Guk;Son, Jae-Yeol;Lee, Cheol-Hoon
    • Proceedings of the Korea Contents Association Conference
    • /
    • 2010.05a
    • /
    • pp.371-374
    • /
    • 2010
  • 실시간 운영 체제는 운영체제로서 논리적 정확성이 중요하지만 시간적 정확성 또한 중요한 운영체제이다. 그렇기 때문에 시스템에서 발생하는 사건들을 처리할 때의 지연시간은 낮아야 한다. 특히 인터럽트 서비스 루틴에서는 현재 인터럽트 레벨보다 낮은 인터럽트는 마스킹되기 때문에 모든 인터럽트들이 원활히 동작하기 위해서 인터럽트 서비스 루틴은 보다 짧은 시간 동안만 CPU를 점유해야 한다. 처리시간이 긴 인터럽트 서비스 루틴의 지연시간을 줄이기 위해 윈도우 운영체제에서는 DPC(Deferred Procedure Call)를 이용하고 있다. 본 논문에서는 실시간 운영체제 iRTOS상에서 HISR을 이용하여 DPC를 설계 및 구현 하였다.

  • PDF

Analysis of Time Delay for Stability of Discrete Control System (이산 제어 시스템의 안정도를 위한 시간 지연의 분석)

  • Kim, Byung-Ho;Eom, Kwang-Sik;Suh, Dong-Soo;Suh, Il-Hong
    • Proceedings of the KIEE Conference
    • /
    • 1999.11c
    • /
    • pp.687-689
    • /
    • 1999
  • 본 논문에서는 이산 제어 시스템의 작업 수행 시, 특정작업에 있어서의 불규칙한 시간 지연 때문에 시스템이 불안정해지는 것을 막기 위해 시간 지연을 갖는 시스템의 안정도를 분석한다. Soft real time OS인 Windows NT 운영체제를 갖는 PC-based 이산 제어 시스템에서는 하드웨어적으로 인터럽트를 사용하여 시간 제한성이 있는 작업을 수행한다. 그러나 인터럽트와 함께 수반되는 DPC(Deferred Procedure Call)의 불규칙한 수행 시간 때문에 다른 작업이 수행되어야 할 표본시간이 길어지게 된다. 이러한 현상으로 다른 작업의 시간 지연이 발생하게 되며, 시간 지연은 시스템을 불안정하게 하는 요인이 된다. 안정성 분석 면에서 보면, 시간 지연을 고려하지 않은 시스템의 극점은 안정한 위치에 존재하게 되는데 반해, 시간 지연을 고려한 시스템의 극점은 불안정한 위치에 존재하게 된다. 따라서 본 논문에서는 시간 지연이 존재하는 제어 시스템의 안정성을 보장하기 위해서 시스템의 안정성을 분석한다.

  • PDF

Design and Implementation of Hard Embedded Real-Time System (경성 내장형 실시간 시스템의 설계 및 구현)

  • Lin, Chi-Ho
    • Journal of IKEEE
    • /
    • v.5 no.2 s.9
    • /
    • pp.164-173
    • /
    • 2001
  • In this paper, we have designed and implemented a new hard embedded real-time system to satisfy hard real-time constraints in moving independently. Real-time kernel should be small size, fast and predictable. Because of the great variety of demands on real time scheduling, a real time kernel should also include a flexible and re-programmable task scheduling discipline. In this paper, we present that real-time applications should be split into small and simple parts with hard real-time constraints. To satisfy these properties, we designed real-time kernel and general kernel, that have their different properties. In real-time tasks, interrupt processing should be run. In general kernel, non real time tasks or general tasks are run. The efficiency of the proposed hard embedded real-time system is shown by comparison results for performance of the proposal real time kernel with both RT-Linux and QNX.

  • PDF

A Development of Distributed Dual Real-Time Kernel System (분산 이중 실시간 커널 시스템의 개발)

  • 인치호
    • The Journal of Information Technology
    • /
    • v.4 no.2
    • /
    • pp.25-36
    • /
    • 2001
  • In this paper, we present the development of distributed dual real-time kernel system. This paper proposed that real-time applications should be split into small and simple parts with real-time constraints, Following this concept we have designed to preserve the properties of both hard real-time kernel and general kernel. To satisfy these properties, we designed real-time kernel and general kernel, that have their different properties. In real-time tasks, interrupt processing should be un. In general kernel, non real-time tasks or general tasks are run. We compared the results of this study for performance of the proposal real-time kernel with both RT Linux 0.5a and QNX 4.23A, that is, of interrupt latency scheduling precision and message passing.

  • PDF

A New Scheduling Algorithm for Dual Real-Time Kernel Design (이중 실시간 커널의 설계를 위한 스케줄링 알고리즘)

  • 인치호
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.26 no.9A
    • /
    • pp.1507-1515
    • /
    • 2001
  • 본 논문은 실시간 커널과 비실시간 커널의 특성을 모두 가질 수 있는 이중 실시간 커널의 설계를 위한 이중 큐 스케줄링 알고리즘을 제안한다. 본 논문에서는 제안한 실시간 커널은 실시간 제약들을 고려한 실시간 커널과 비실시간 커널의 특성을 가지도록 설계한다. 그리고 실시간 태스크 안에는 인터럽트처리를 수행하고, 비실시간 태스크는 일반적인 작업을 수행한다. 실시간 커널에는 인터럽트 처리와 실시간 태스크를 처리하도록 하였다. 비실시간 커널은 일반적인 태스크를 처리하도록 한다. 또한 실시간 커널과 비실시간 커널을 이중 큐를 통하여 태스크의 처리를 수행한다. 그리고 실시간 태스크는 고정 우선 순위기반 스케줄링인 RMS을 사용하여 실시간 태스크 스케줄링을 한다. 제안된 실시간 시스템은 RT-Linux, QNX와 인터럽트 지연, 스케줄링 정확성, 메시지 전달시간 등을 비교 분석하여 효율성을 입증한다.

  • PDF

Real-time interrupt handling and Xen-ARM hypervisor (Xen-ARM 하이퍼바이저와 실시간 인터럽트 처리)

  • Yoo, See-Hwan;Kwak, Kuen-Hwan;Jo, Jae-Hyun;Yoo, Chuck
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2011.06b
    • /
    • pp.409-412
    • /
    • 2011
  • 본 논문에서는 Xen-ARM 기반의 가상화 환경에서 실시간 게스트 운영체제의 I/O를 지원하기 위한 방법을 제안한다. Xen-ARM 하이퍼바이저는 서버 환경에서 주로 사용되는 Xen 가상화 기법을 모바일 구조인 ARM에서 구현한 것으로, 분할 드라이버 모델과 크레딧 스케줄러를 지원한다. 하지만, 이러한 두 가지 특성은 I/O 처리 지연의 주요 원인이 된다. 특히, 장치 드라이버와 사용자 태스크의 실행 중에 하이퍼바이저의 도메인 간 스위칭이 필요하므로, 특정 시간으로 I/O 처리 지연을 제한하기 대단히 어렵다. 본 논문에서는 게스트 운영체제의 수정을 통해 I/O 처리 지연을 제한하는 기법을 제안한다. 게스트 운영체제는 현재 실행되는 태스크의 특성을 Xen-ARM 하이퍼바이저에게 간접적으로 전달하여, 전체 시스템의 모든 태스크에 대하여 우선순위를 부여하며, 하이퍼바이저의 스케줄러에서 인터럽트 처리를 위해 가장 응급한 태스크 실행을 스케줄링 할 수 있도록 한다. 제안하는 기법은 실험을 통해, I/O를 처리하는 도메인의 1ms 이상의 처리시간이 84%에서 99%까지 줄어들 수 있음을 보인다.

Decision Rule using Confidence Based Anti-phone Model and Interrupt-Polling Method for Distributed Speech Recognition DSP Networking System (분산형 음성인식 DSP 네트워킹 시스템을 위한 반음소 모델기반의 신뢰도를 사용한 결정규칙과 인터럽트-폴링)

  • Song, Ki-Chang;Kang, Chul-Ho
    • Journal of Korea Multimedia Society
    • /
    • v.13 no.7
    • /
    • pp.1016-1022
    • /
    • 2010
  • Far-talking recognition and distributed speech recognition networking techniques are essential to control various and complex home services conveniently with voices. It is possible to control devices everywhere at home by using only voices. In this paper, we have developed the server-client DSP module for distributed speech recognition network system and proposed a new decision rule to decide intelligently whether to accept the recognition results or not by the transferred confidence rate. Simulation results show that the proposed decision rule delivers better performances than the conventional decision by majority rule or decision by first-arrival. Also, we have proposed the new interrupt-polling technique to remedy the defect of existing delay technique which always has to wait several clients' results for a few seconds. The proposed technique queries all client's status after first-arrival and decides whether to wait or not. It can remove unnecessary delay-time without any performance degradation.