• 제목/요약/키워드: Context Switching

검색결과 82건 처리시간 0.022초

빠른 문맥전환을 위한 임베디드 시스템 구조 (Fast Context Switching Architecture in Embedded Systems)

  • 손정호
    • 대한임베디드공학회논문지
    • /
    • 제5권1호
    • /
    • pp.18-22
    • /
    • 2010
  • In real-time embedded systems, the responsibility is the most important thing because it is related to human life. Context switching is a part of which can slow down the responsibility. We therefore should minimize the amount of state that needs to be saved during context switching. In this paper, we introduce a new architecture (Register Farm) for context switching which can exchange two contexts in one cycle time. Although it might increase the cost of MCU design and the complexity of circuit, it cannot miss any interrupt during context switching. Consequently, Register Farm architecture can make embedded systems spread out in human life because it can increase reliability and responsibility in real time embedded systems.

실시간 시스템에서 빠른 문맥 전환을 위한 다중 레지스터 파일 (Multiple Register Files for Fast Context Switching in Real-Time Systems)

  • 김종웅;조정훈
    • 대한임베디드공학회논문지
    • /
    • 제5권3호
    • /
    • pp.128-135
    • /
    • 2010
  • Recently complexity of embedded software cause to be used real-time operating system (RTOS) to implement various functions in the embedded system. And also, according to requirement of complex functions in embedded systems, the number as well as complexity of tasks get increased continuously. In case that many tasks collaborated in a microprocessor, context switching time between tasks is a overhead waisting a CPU resource. Therefore the time of task context switching is an important factor that affects performance of RTOS. In this paper, we concentrate on the improvement of task context switch for reducing overhead and achieving fast response time in RTOS. To achieve these goal, we suggest multiple register files and task context switching algorithm. By reducing the context switch overhead, we try to ease scheduling and assure fast response times in multitasking environment. As a result, the context switch overhead decreased by 8~16% depend on the number of register files, and some task set which are not schedulable with single register file are schedulable due to that decrease with multiple register files.

Real-Time 시스템에서 abnormal task 자동 검출 방안 (Automatic detection methods of abnormal task in real-time systems)

  • 정창수
    • 한국정보과학회:학술대회논문집
    • /
    • 한국정보과학회 2003년도 가을 학술발표논문집 Vol.30 No.2 (1)
    • /
    • pp.286-288
    • /
    • 2003
  • 본 논문에서는 real-time환경에서 abnormal task를 자동 검출하여 시스템 overload 및 오 동작을 사전에 검출할 수 있는 방안을 제안한다. 본 논문에서 제안한 방안은 context switching이 발생하는 시점에서 각task들의 cpu 점유율 및 context switching 횟수를 분석하여 비정상적으로 높은 cpu 점유율을 가지는 task와 과도한 context switching을 일으켜 시스템에 overload를 주는 task들을 자동으로 검출한다. 이들 이용하여 신뢰성 있는 real-time시스템 설계 및 구현을 지원할 수 있다.

  • PDF

비동기 시리얼 통신의 성능 향상을 위한 인터럽트 통합 기법 (An Interrupt Coalescence Method for Improving Performance of Asynchronous Serial Communication)

  • 박근덕;오삼권;김병국
    • 한국산학기술학회논문지
    • /
    • 제12권3호
    • /
    • pp.1380-1386
    • /
    • 2011
  • 인터럽트의 발생은 태스크의 문맥전환(context switching)을 수반한다. 이러한 문맥전환 오버헤드는, 인터럽트가 빈번하게 발생하는 경우, 임베디드 시스템의 성능을 심각하게 저하시킬 수 있다. 본 논문은 비동기 시리얼 통신에서의 빈번한 송수신 인터럽트 발생으로 인한 처리 오버헤드를 줄이기 위해, 일정한 수의 인터럽트를 누적시켜 한 번에 처리하는 인터럽트 통합(IC, interrupt coalescence) 기법을 적용한 확장 비동기 시리얼 통신 기법을 소개한다. 이 기법에 대한 성능 평가를 위해 한 바이트 단위로 송수신 인터럽트가 발생하는 기존 비동기 시리얼 통신 방식을 LN2440SBC 임베디드 보드와 uC/OS-II 상에서 구현 하여, 인터럽트 처리 소요 시간을 비교 평가한다. 평가 결과, 제안한 방식의 송수신 인터럽트 처리 소요 시간은 기존 방식에 비해, 저속(9,600 bps)의 경우, 송신은 평균 25.18% 수신은 평균 41.47%의 감소를 보이며, 고속(115,200 bps)의 경우, 송신은 평균 16.67%, 수신은 평균 25.61%의 감소를 보임으로써, 송수신 인터럽트 처리 오버헤드의 감소를 보인다.

다중프로세서 시스템을 위한 여유시간 기반의 온라인 실시간 스케줄링 알고리즘 (A Laxity Based On-line Real-Time Scheduling Algorithm for Multiprocessor Systems)

  • 조규억;김용석
    • 정보처리학회논문지A
    • /
    • 제16A권6호
    • /
    • pp.437-442
    • /
    • 2009
  • 마감시간을 기준으로 스케줄링하는 EDF (Earliest Deadline Fisrt) 알고리즘이나 여유시간을 기준으로 스케줄링 하는 LLF (Least Laxity First) 알고리즘과 같은 기존의 방식들은 다중프로세서 시스템에서는 스케줄링 성공률이 급격히 낮아지거나 문맥교환 획수가 지나치게 높아 현 실적인 적용에 무리가 있다. 이 둘을 적절히 조합하여 성능을 개선한 것으로서 EDZL (Earliest Deadline Zero Laxity)은 EDF를 기본으로 하고 여유시간이 0에 도달한 태스크에 대해서는 우선적으로 실행하도록 하는 방식이다. 본 논문에서는 LLF와 같이 최소 여유시간의 태스크를 우선 적으로 실행하되 문맥교환은 여유시간이 0에 도달한 태스크가 발생할 경우에만 이루어지도록 한 LLZL (Least Laxity Zero Laxity) 알고리즘을 제안한다. 시뮬레이션 평가결과 LLZL은 준최적으로 알려져 있는 LLF에 근접한 높은 스케줄링 성공률을 보이면서도 문맥교환 오버헤드는 EDF 와 비슷한 낮은 수준을 유지하였다. EDZL과의 비교에 있어서도 스케줄링 성공률, 문맥교환 횟수 두 가지 측면 모두 나은 성능을 보인다.

Exploring the Impact of Switching Barriers on e-Loyalty

  • Han, Hyun-Soo;Park, Woo-Sung;Joung, Seok-In
    • Journal of Information Technology Applications and Management
    • /
    • 제17권3호
    • /
    • pp.121-134
    • /
    • 2010
  • Past studies in e-commerce loyalty were mostly focused on the effects of customer satisfaction and trust on loyalty toward online vendors. Few studies investigated the impacts of switching barriers, whilst they are widely proven to affect customer loyalty in offline commerce. Even in a handful of studies that did deal with switching barriers, their treatment of the subject remained at best superficial. This may have to do with the fact that switching costs in e-commerce could be comparatively negligible, as switching to another online vendor often involves one simple mouse click. In this study, we investigated the impact of switching barriers on loyalty under the e-commerce context. Furthermore, the extent of switching barriers which could be affected by those positive factors (most constructs were adopted from IDT) was also examined. The statistical testing results revealed that combined model which includes both the positive factors and the switching barriers explains the loyalty formation process more strongly ($R^2$ = 0.543) than each separated models ($R^2$ = 0.468 for positive factor only model, and $R^2$ = 0.365 for switching barrier only model). While only the two switching barriers such as convenience and emotional were shown to be statistically significant, we found that trust strongly influences customer's emotional barrier, let alone direct impact on loyalty, which thereby influences loyalty. The results offer insights for better understanding switching barriers in e-commerce related applications.

  • PDF

메모리 복사를 최소화화는 효율적인 네트워크 시스템 호출 인터패이스 (An Efficient Network System Call Interface supporting minimum memory copy)

  • 송창용;김은기
    • 한국통신학회논문지
    • /
    • 제29권4B호
    • /
    • pp.397-402
    • /
    • 2004
  • 본 논문에서는 파일 전송 시 발생하는 메모리 복사(memo교 copy)와 문맥 교환(context switch)을 최소화하여 시스템의 성능(performance)을 향상시킬 수 있는 네트워크 시스템 호출에 관한 연구를 수행하였다. 기존 파일 전송 기법에서 사용자가 하나의 패킷을 전송할 때, 사용자와 커널(Kernel) 공간 사이에서의 메모리 복사가 2회에 걸쳐 수행된다. 이러한 사용자와 커널 공간 사이에서 이루어지는 메모리 복사는 데이터 전송에 소요되는 시간을 증가시키고, 시스템의 성능에 좋지 않은 영향을 준다. 본 논문은 이러한 문제점들을 해결하기 위하여 필요한 경우 사용자와 커널 사이에서의 메모리 복사를 수행하지 않고, 데이터가 커널 공간 내에서 송수신될 수 있는 새로운 알고리즘을 제시하였다. 또한 실제의 시스템에서 제안된 알고리즘의 성능을 분석하기 위하여 리눅스 커널 버전 2.6.0의 소스 코드를 수정하였고, 새로운 네트워크 시스템 호출을 구현하였다. 성능 측정 결과, 본 연구에서 제안한 파일 전송 방식이 기존의 파일 전승 방식에 비하여 짧은 파일 전송 시간을 보여주었다.

서비스 회복노력이 고객의 전환의도에 미치는 영향 -국내 패밀리레스토랑 고객을 중심으로- (Effects of Service Recovery Efforts on Customers' Switching Intentions)

  • 정현영
    • 한국콘텐츠학회논문지
    • /
    • 제10권7호
    • /
    • pp.377-385
    • /
    • 2010
  • 본 연구는 서비스 실패의 환경에서 회복과정의 공정성 인지의 정도가 고객의 전환의도에 부정적인 영향을 미칠 것이며, 공정성과 전환의도간의 만족이 매개변수로서 영향을 미칠 것이라는 가정에서 출발되었다. 실증연구 결과 회복의 과정에서 인지되는 공정성은 회복 후 고객만족에 긍정적인 영향을 미치며 서비스 기업에서 이탈하고자 하는 전환의도에 부정적인 영향을 미치는 것으로 파악되었다. 그러나 공정성과 전환 의도의 인과관계에서 회복 후 만족이 매개변수 역할은 하지 않는 것으로 나타났다.

관계기간과 몰입의 역할에 관한 연구 : 이동통신산업을 중심으로 (The Effect of the Length of Relationship and Commitment in the Context of Mobile Telecommunication Industry)

  • 방정혜;설진영;김민선;이은형
    • 한국정보시스템학회지:정보시스템연구
    • /
    • 제21권1호
    • /
    • pp.47-68
    • /
    • 2012
  • The purpose of this study is to investigate two components of commitment(affective commitment and calculative commitment) and relational equity on loyalty. In addition, The authors analyzed the moderating effect of length of relationship on the effects of commitments and relational equity on switching intention. Major findings can be summarized as follows. It was found that affective commitment made a negative impact on switching intentions and a positive impact on w-o-m. Calculative commitment had no effect on switching intention and w-o-m while it made a negative effect on w-o-m in handset side only. Relational equity appears to bolster a negative effect on switching intention and a positive effect on w-o-m. Also length of relationship seems to moderate the effect of relational equity on switching intention.

임베디드 시스템 가상화를 위한 동적 이진 변환기의 변환 블록 최적화 (Translated Block Optimization of Dynamic Binary Translator for Embedded System Virtualization)

  • 황원준;박시형;김형신
    • 대한임베디드공학회논문지
    • /
    • 제12권6호
    • /
    • pp.385-393
    • /
    • 2017
  • As the use of mobile devices such as smartphones increases, there is growing interest on the benefits of virtualization in embedded systems. Full virtualization has the advantage of running the guest virtual machine without modifying the guest operating system. However, full virtualization suffers slow execution speed due to the cost of context switching between the virtual machines and the virtual machine monitor. In this paper, we propose a translated block and context switching optimization to improve the guest execution speed in the embedded system. As a result, the improved dynamic binary translator is up to 5.95 times faster than the native execution. Performance degradation is less than that of the other virtualization system.