Font Size: a A A

Research And Implementation Of FreeRTOS Real Time Operating System Task Scheduling Optimization

Posted on:2016-01-11Degree:MasterType:Thesis
Country:ChinaCandidate:D ZhuFull Text:PDF
GTID:2308330473465513Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
In the field of computer application, the embedded system as a new field to become m ore and more popular. In a large variety of embedded system, real time operating system occu pies a very important position, they not only provide strong support for complex application s, but also make full use of the characteristics of a variety of hardware platform, the expansio n of the function of the platform.FreeRTOS real-time operating system with open source code, the kernel small, completely free, high real-time characteristic, applicable to most of the embedded system based on micropr ocessor and microcontroller, and a highmarket share in the microcontroller Market. The freeR TOS kernel default time slice rotation scheduling algorithm will produce task context switch freq uently based on the existing, real time system time overhead.By adding the concept of task short time slice rotation scheduling algorithm, can effectiv ely improve the performance of freeRTOS, which can meet the demand of most real-time ap plications. As far as possible without changing the kernel structure, firstly, in the task control b lock(TCB), add the time slice scheduling logic variables, modifies the scheduling decision func tion related, adding a new kernel scheduling module, and provides the corresponding configurat ion constants configuse_new_scheduler to users for scheduling flexible choice, and convenient for ward compatible.The experimental analysis, the improved scheduling algorithm improves the real-time perf ormance and throughput of the system.
Keywords/Search Tags:FreeRTOS, The short task scheduling, scheduling decision function, time slice
PDF Full Text Request
Related items