• 제목/요약/키워드: CPU Scheduling Algorithm

검색결과 34건 처리시간 0.023초

CPU Scheduling with a Round Robin Algorithm Based on an Effective Time Slice

  • Tajwar, Mohammad M.;Pathan, Md. Nuruddin;Hussaini, Latifa;Abubakar, Adamu
    • Journal of Information Processing Systems
    • /
    • 제13권4호
    • /
    • pp.941-950
    • /
    • 2017
  • The round robin algorithm is regarded as one of the most efficient and effective CPU scheduling techniques in computing. It centres on the processing time required for a CPU to execute available jobs. Although there are other CPU scheduling algorithms based on processing time which use different criteria, the round robin algorithm has gained much popularity due to its optimal time-shared environment. The effectiveness of this algorithm depends strongly on the choice of time quantum. This paper presents a new effective round robin CPU scheduling algorithm. The effectiveness here lies in the fact that the proposed algorithm depends on a dynamically allocated time quantum in each round. Its performance is compared with both traditional and enhanced round robin algorithms, and the findings demonstrate an improved performance in terms of average waiting time, average turnaround time and context switching.

The Performance Analysis of CPU scheduling Algorithms in Operating Systems

  • Thangakumar Jeyaprakash;Ranjana P;Sambath M
    • International Journal of Computer Science & Network Security
    • /
    • 제23권7호
    • /
    • pp.165-170
    • /
    • 2023
  • Scheduling algorithms plays a significant role in optimizing the CPU in operating system. Each scheduling algorithms schedules the processes in the ready queue with its own algorithm design and its properties. In this paper, the performance analysis of First come First serve scheduling, Non preemptive scheduling, Preemptive scheduling, Shortest Job scheduling and Round Robin algorithm has been discussed with an example and the results has been analyzed with the performance parameters such as minimum waiting time, minimum turnaround time and Response time.

A Review on the CPU Scheduling Algorithms: Comparative Study

  • Ali, Shahad M.;Alshahrani, Razan F.;Hadadi, Amjad H.;Alghamdi, Tahany A.;Almuhsin, Fatimah H.;El-Sharawy, Enas E.
    • International Journal of Computer Science & Network Security
    • /
    • 제21권1호
    • /
    • pp.19-26
    • /
    • 2021
  • CPU is considered the main and most important resource in the computer system. The CPU scheduling is defined as a procedure that determines which process will enter the CPU to be executed, and another process will be waiting for its turn to be performed. CPU management scheduling algorithms are the major service in the operating systems that fulfill the maximum utilization of the CPU. This article aims to review the studies on the CPU scheduling algorithms towards comparing which is the best algorithm. After we conducted a review of the Round Robin, Shortest Job First, First Come First Served, and Priority algorithms, we found that several researchers have suggested various ways to improve CPU optimization criteria through different algorithms to improve the waiting time, response time, and turnaround time but there is no algorithm is better in all criteria.

Assessing the ED-H Scheduler in Batteryless Energy Harvesting End Devices: A Simulation-Based Approach for LoRaWAN Class-A Networks

  • Sangsoo Park
    • 한국컴퓨터정보학회논문지
    • /
    • 제29권1호
    • /
    • pp.1-9
    • /
    • 2024
  • 본 논문에서는 LoRaEnergySim에 최적의 실시간 스케줄링 알고리즘으로 알려진 ED-H 스케줄링 알고리즘을 연동하여 LoRaWAN 클래스-A 단말기에 슈퍼 커패시터 기반의 에너지 하베스팅 시스템을 전원 공급 장치를 적용하였을 때 시간 제약성을 갖는 LoRaWAN 컨트롤러의 태스크와 응용 태스크의 실시간 스케줄링 알고리즘 간의 상호 시뮬레이션이 가능하도록 한다. 이를 위해 LoRaWAN의 상태와 상태 전환에 따른 시간과 에너지 특성을 로그 형태로 추출하고 타임 슬롯 기반의 ED-H 스케줄링 알고리즘에 적합하도록 태스크 모델을 수립하고 태스크가 CPU에 의해서 수행되는 특성에 따라 알고리즘이 시간 제약성을 만족하며 태스크를 수행할 수 있도록 확장하였다. 본 논문에서 제안한 기법의 평가를 위해 LoRaEnergySim 시뮬레이션 결과가 제시된 동일 환경에서 패킷 송수신이 수행되는 것과 동시에 10%에서 90%의 CPU 점유율을 갖는 다양한 시간과 에너지 특성을 갖는 태스크 집합에 대해 ED-H 스케줄링 알고리즘을 수행하였으며, 실험 결과로 스케줄링 알고리즘에 따라 시간 제약성의 만족을 위해 슈퍼 커패시터의 에너지가 고갈되지 않는 한 태스크의 시급성을 우선하여 사용하는 것을 확인하여 상호 시뮬레이션의 적용 가능성을 확인하였다.

이동통신에서 무선채널할당과 CPU 작업 스케줄링 관계 연구 (A Study on the Channel Allocation and CPU Job scheduling Scheme in Cellular Network)

  • 허보진;손동철;김창석;이상용
    • 한국지능시스템학회논문지
    • /
    • 제16권5호
    • /
    • pp.575-580
    • /
    • 2006
  • 일반 컴퓨터에서 프로세스나 태스크 별로 CPU를 할당하는 기법은 다양하다. 또한 한정된 자원을 효율적으로 사용해야하는 이동통신망에서 멀티미디어 서비스 요구에 따른 무선 트래픽 채널을 할당하는 기법은 무선이라는 특수 환경으로 인해 제약을 받을 수밖에 없다. 이동망의 기지국의 경우 여러 무선 가입자 보드로부터 요구되는 서비스별 트래픽 요구에 대한 채널 할당과 이에 대한 메인보드에서 처리해야 하는 작업 스케줄링은 무선과 CPU라는 서로 다른 환경을 잘 매핑하는 과제를 안고 있다. 본 논문에서는 음성과 데이터 호를 동시에 서비스하는 셀룰러 시스템에서 멀티미디어 서비스 트래픽 특성을 고려한 주파수할당과 작업 스케줄링이라는 두 가지 요소를 접목하는 방법과 이에 적합한 작업 스케줄링 방식을 제안한다.

멀티코아 모바일 가상화 시스템에서 가상 CPU 할당 실시간 스케줄링 방법 (Real-Time Scheduling Method to assign Virtual CPU in the Multocore Mobile Virtualization System)

  • 강용호;금기문;김선종;진광윤;김주만
    • 디지털융복합연구
    • /
    • 제12권3호
    • /
    • pp.227-235
    • /
    • 2014
  • 모바일 가상화는 두 개의 가상 플랫폼을 하나의 무선 장치에 탑재하는 모바일 장치 관리의 한 접근 방법이다. 단일 무선 장치인 스마트폰은 사업용과 개인용으로의 가상 환경으로 사용될 수 있을 것이다. 모바일 가상화는 또한 동일한 장치에 두 개의 운영체제인 RTOS와 안드로이드 앱이 동시에 수행되는 환경일 수 있다. 본 논문에서는 멀티코아에서 각 코아를 가상화하고, 물리 CPU(pCPUs)에 배당된 여러 가상 CPU(vCPU)를 재 할당하는 기법을 제시하며 또한 가상 CPU들을 물리 CPU에 할당하기 위한 실시간 스케줄링 방법을 제안한다. 본 논문에서 제안된 기술은 인터럽트 처리시에 실시간 처리의 시간 지연을 해결하였고, 이전의 알고리즘보다 빠른 처리를 가능하게 한다.

CPUSim: CPU 스케줄링 알고리즘 교육을 지원하는 시뮬레이터 (CPUSim: A Simulator supporting the education of CPU Scheduling Algorithms)

  • 고정국
    • 한국정보통신학회논문지
    • /
    • 제16권4호
    • /
    • pp.835-842
    • /
    • 2012
  • 운영체제는 추상적 개념과 기법들을 다루는 교과목이지만, 대부분 교재 위주의 이론 수업으로 진행되어 왔다. 이론 수업은 강의 내용에 대한 이해와 집중력 저하를 유발하므로 내용의 이해를 돕고 흥미를 유발하는 교육용 도구의 활용이 시도되었다. 본 논문에서는 CPU 스케줄링 알고리즘들의 동작을 시각적으로 보여주는 교육용 시뮬레이터를 설계하고 구현하였다. 구현된 시뮬레이터를 수업에 활용한 후 2010학년도와 2011학년도 수강생들의 학업 성취도를 측정하고 t-검증을 통해 두 집단의 CPU 스케줄링 알고리즘에 대한 시험문제 정답률 차이가 유의함을 밝혔다. 또한 시뮬레이터 활용에 대한 만족도와 관련분야 지식 습득에 대한 기여도 설문조사를 통해 시뮬레이터가 교과목에 대한 흥미를 유발하고 학습 내용에 대한 이해도를 증진시키는 교육용 도구로 유용하며, 이러한 수업 방식이 문제 해결능력 배양에 효과적임을 확인할 수 있었다.

UNIX의 Decay Usage 알고리즘에서의 지연시간-사용량 정규화 특성 분석 (Analysis of Delay-Bandwidth Normalization Characteristic in Decay Usage Algorithm of UNIX)

  • 박경호;황호영;이창건;민상렬
    • 한국정보과학회논문지:시스템및이론
    • /
    • 제34권10호
    • /
    • pp.511-520
    • /
    • 2007
  • Decay usage 알고리즘은 CPU를 최근에 적게 사용한 프로세스를 우선시하는 스케줄링 방법으로, UNIX와 같이 계산 위주의 프로세스와 대화형 프로세스가 혼재한 시분할 시스템에서 널리 사용되어 왔다. 하지만, decay usage의 매개변수들이 어떻게 상호작용하며 결국 어떤 서비스 행태를 보이는 지에 대한 분명한 이해가 없었다. 본 논문에서는 decay usage가 사용하는 매개변수들의 상호작용에 따라 서비스의 사용량 및 지연시간이 보이는 행태를 실험적으로 분석한다. 이러한 실험적 분석을 바탕으로, 각 매개 변수가 가지는 의미를 서비스 제공의 관점에서 규명한다. 본 논문의 분석 결과는 decay usage의 매개변수들을 조정하여 응용의 요구에 맞는 서비스를 제공하기 위한 기반이 된다.

Low-power Scheduling Framework for Heterogeneous Architecture under Performance Constraint

  • Li, Junke;Guo, Bing;Shen, Yan;Li, Deguang
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제14권5호
    • /
    • pp.2003-2021
    • /
    • 2020
  • Today's computer systems are widely integrated with CPU and GPU to achieve considerable performance, but energy consumption of such system directly affects operational cost, maintainability and environmental problem, which has been aroused wide concern by researchers, computer architects, and developers. To cope with energy problem, we propose a task-scheduling framework to reduce energy under performance constraint by rationally allocating the tasks across the CPU and GPU. The framework first collects the estimated energy consumption of programs and performance information. Next, we use above information to formalize the scheduling problem as the 0-1 knapsack problem. Then, we elaborate our experiment on typical platform to verify proposed scheduling framework. The experimental results show that our proposed algorithm saves 14.97% energy compared with that of the time-oriented policy and yields 37.23% performance improvement than that of energy-oriented scheme on average.

웹 기반의 교육용 CPU 스케줄링 시뮬레이터의 설계 및 구현 (Design and Implementation of a Web-based educational CPU Scheduling Simulator)

  • 고정국
    • 한국정보통신학회논문지
    • /
    • 제19권7호
    • /
    • pp.1653-1659
    • /
    • 2015
  • 운영체제는 추상적 개념과 기법들을 다루고 있지만, 대부분 이론 수업 위주로 진행되고 있다. 이론 수업은 강의 내용에 대한 이해와 집중력 저하를 유발하므로 학습 내용의 이해를 돕고 흥미를 유발하는 다양한 방법들이 시도되었다. 본 논문에서는 CPU 스케줄링 알고리즘들의 이해를 돕기 위해 학습자가 언제, 어디서나 웹 브라우저나 스마트폰을 사용하여 다양한 상황을 설정하고 알고리즘의 스케줄링 과정을 모의 실험해 볼 수 있는 웹 기반의 교육용 CPU 스케줄링 시뮬레이터를 설계하고 구현하였다. 구현된 시뮬레이터를 수업에 활용한 후 2014학년도 수강생들을 대상으로 구현된 시뮬레이터의 사용 편의성과 유용성에 대한 만족도 설문조사를 통해 시뮬레이터가 학습 내용에 대한 이해도 증진과 문제해결 능력을 배양하는 교육용 도구로 유용함을 확인할 수 있었다.