{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,25]],"date-time":"2026-11-25T15:33:54Z","timestamp":1795620834922,"version":"4.11.2"},"reference-count":41,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2025,3,1]],"date-time":"2025-03-01T00:00:00Z","timestamp":1740787200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2025,3,28]],"date-time":"2025-03-28T00:00:00Z","timestamp":1743120000000},"content-version":"vor","delay-in-days":27,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"name":"Defense Rapid Acquisition Technology Research Institute","award":["UC200010D"],"award-info":[{"award-number":["UC200010D"]}]},{"DOI":"10.13039\/501100002551","name":"Seoul National University","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100002551","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Real-Time Syst"],"published-print":{"date-parts":[[2025,3]]},"abstract":"<jats:title>Abstract<\/jats:title>\n          <jats:p>The popularity of Linux in embedded systems has grown because of its reliability, flexibility, and performance. To ensure these systems meet specific real-time requirements, such as deadlines and throughput, Linux provides support for real-time schedulers and the PREEMPT_RT patch. However, while these tools prioritize high-priority tasks, they can inadvertently compromise the performance of other tasks. Completely Fair Scheduling (CFS) has served as the default scheduling policy in Linux until recently. The CFS is based on the principle that all runnable tasks should share the processor fairly, which helps balance task performance with overall system responsiveness. Despite its benefits, there has been no established method to assess whether real-time requirements are met under CFS. This paper introduces a novel analysis method to estimate the worst-case response time (WCRT) of tasks under CFS, providing a new solution for running real-time tasks in embedded Linux systems. Due to the dynamic nature of CFS, traditional WCRT analysis techniques are not applicable directly. Our technique analyzes how tasks sharing the same processor affect each other, focusing on their <jats:italic>vruntime<\/jats:italic>. By examining the bounds of vruntime variation and calculating the maximum interference from other tasks, we effectively estimate the WCRT. We also introduce algorithms that assign the <jats:italic>nice<\/jats:italic> values to tasks based on our proposed WCRT analysis technique, ensuring that the real-time requirements are met. We validate the proposed approach through comparative experiments using both a self-developed CFS simulator and an actual Linux system. Our simulator allows for rapid simulations and efficient exploration of various execution scenarios. Through extensive experiments, we empirically validate that our proposed analysis method is efficient with an acceptable level of overestimation. These make it a valuable tool for system verification and design optimization in Linux-based real-time systems.<\/jats:p>","DOI":"10.1007\/s11241-025-09435-x","type":"journal-article","created":{"date-parts":[[2025,3,30]],"date-time":"2025-03-30T19:19:01Z","timestamp":1743362341000},"page":"118-158","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Worst case response time analysis for completely fair scheduling in Linux systems"],"prefix":"10.1007","volume":"61","author":[{"given":"Kyonghwan","family":"Yoon","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"EunJin","family":"Jeong","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Woosuk","family":"Kang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jonghyun","family":"Choe","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Soonhoi","family":"Ha","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2025,3,28]]},"reference":[{"key":"9435_CR1","doi-asserted-by":"publisher","unstructured":"Abeni L, Buttazzo G (1998) Integrating multimedia applications in hard real-time systems. In: Proceedings 19th IEEE real-time systems symposium (Cat. No.98CB36279). pp 4\u201313. https:\/\/doi.org\/10.1109\/REAL.1998.739726","DOI":"10.1109\/REAL.1998.739726"},{"key":"9435_CR2","doi-asserted-by":"publisher","DOI":"10.1023\/B:TIME.0000027934.77900.22","author":"L Abeni","year":"2004","unstructured":"Abeni L, Buttazzo G (2004) Resource reservation in dynamic real-time systems. Real-Time Syst. https:\/\/doi.org\/10.1023\/B:TIME.0000027934.77900.22","journal-title":"Real-Time Syst"},{"key":"9435_CR3","doi-asserted-by":"publisher","DOI":"10.1016\/S0020-0190(00)00165-4","author":"NC Audsley","year":"2001","unstructured":"Audsley NC (2001) On priority assignment in fixed priority scheduling. Inf Process Lett. https:\/\/doi.org\/10.1016\/S0020-0190(00)00165-4","journal-title":"Inf Process Lett"},{"key":"9435_CR4","doi-asserted-by":"publisher","DOI":"10.1049\/sej.1993.0034","author":"N Audsley","year":"1993","unstructured":"Audsley N, Burns A, Richardson M, Tindell K, Wellings AJ (1993) Applying new scheduling theory to static priority pre-emptive scheduling. Softw Eng J. https:\/\/doi.org\/10.1049\/sej.1993.0034","journal-title":"Softw Eng J"},{"key":"9435_CR5","doi-asserted-by":"publisher","unstructured":"Baruah SK, Cohen NK, Plaxton CG, Varvel DA (1993) Proportionate progress: a notion of fairness in resource allocation. In: Proceedings of the twenty-fifth annual ACM symposium on theory of computing. pp 345\u2013354. https:\/\/doi.org\/10.1007\/BF01940883","DOI":"10.1007\/BF01940883"},{"issue":"1","key":"9435_CR6","doi-asserted-by":"publisher","first-page":"129","DOI":"10.1007\/s11241-005-0507-9","volume":"30","author":"E Bini","year":"2005","unstructured":"Bini E, Buttazzo GC (2005) Measuring the performance of schedulability tests. Real-Time Syst 30(1):129\u2013154. https:\/\/doi.org\/10.1007\/s11241-005-0507-9","journal-title":"Real-Time Syst"},{"key":"9435_CR7","unstructured":"Bird T (2023) ELC: status of embedded Linux. https:\/\/elisa.tech\/"},{"key":"9435_CR8","unstructured":"Corbet J. Linux Kernel release index. https:\/\/lwn.net\/Kernel\/Index\/#Releases-6.6"},{"key":"9435_CR9","doi-asserted-by":"publisher","DOI":"10.1007\/s11241-010-9106-5","author":"RI Davis","year":"2011","unstructured":"Davis RI, Burns A (2011) Improved priority assignment for global fixed priority pre-emptive scheduling in multiprocessor real-time systems. Real-Time Syst. https:\/\/doi.org\/10.1007\/s11241-010-9106-5","journal-title":"Real-Time Syst"},{"key":"9435_CR10","doi-asserted-by":"publisher","DOI":"10.1016\/j.sysarc.2016.04.002","author":"RI Davis","year":"2016","unstructured":"Davis RI, Cucu-Grosjean L, Bertogna M, Burns A (2016) A review of priority assignment in real-time systems. J Syst Archit. https:\/\/doi.org\/10.1016\/j.sysarc.2016.04.002","journal-title":"J Syst Archit"},{"key":"9435_CR11","doi-asserted-by":"publisher","DOI":"10.1007\/s11042-022-13644-y","author":"T Diwan","year":"2023","unstructured":"Diwan T, Anirudh G, Tembhurne JV (2023) Object detection using YOLO: challenges, architectural successors, datasets and applications. Multimed Tools Appl. https:\/\/doi.org\/10.1007\/s11042-022-13644-y","journal-title":"Multimed Tools Appl"},{"key":"9435_CR12","unstructured":"Edge J (2013) ELC: SpaceX lessons learned. https:\/\/lwn.net\/Articles\/540368\/"},{"key":"9435_CR13","unstructured":"ELISA: Enabling Linux in Safety Applications. https:\/\/elisa.tech\/"},{"key":"9435_CR14","unstructured":"Foundation TL. Linux kernel documentation. https:\/\/www.kernel.org\/doc\/html\/v5.15\/index.html"},{"key":"9435_CR15","unstructured":"Foundation TL. Real-time Linux Wiki. https:\/\/wiki.linuxfoundation.org\/realtime\/start"},{"key":"9435_CR16","doi-asserted-by":"publisher","unstructured":"Hammadeh ZA, Quinton S, Panunzio M, Henia R, Rioux L, Ernst R (2017) Budgeting under-specified tasks for weakly-hard real-time systems. In: 29th Euromicro conference on real-time systems (ECRTS 2017). pp 1\u201322. https:\/\/doi.org\/10.4230\/LIPIcs.ECRTS.2017.17","DOI":"10.4230\/LIPIcs.ECRTS.2017.17"},{"key":"9435_CR17","doi-asserted-by":"publisher","DOI":"10.1145\/3356865","author":"ZA Hammadeh","year":"2019","unstructured":"Hammadeh ZA, Quinton S, Ernst R (2019) Weakly-hard real-time guarantees for earliest deadline first scheduling of independent tasks. ACM Trans Embed Comput Syst. https:\/\/doi.org\/10.1145\/3356865","journal-title":"ACM Trans Embed Comput Syst"},{"key":"9435_CR18","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/29.5.390","author":"M Joseph","year":"1986","unstructured":"Joseph M, Pandya P (1986) Finding response times in a real-time system. Comput J. https:\/\/doi.org\/10.1093\/comjnl\/29.5.390","journal-title":"Comput J"},{"key":"9435_CR19","doi-asserted-by":"publisher","first-page":"127","DOI":"10.1007\/0-387-28356-0_5","volume-title":"Genetic programming","author":"JR Koza","year":"2005","unstructured":"Koza JR, Poli R (2005) Genetic programming. Springer, Boston, pp 127\u2013164. https:\/\/doi.org\/10.1007\/0-387-28356-0_5"},{"key":"9435_CR20","doi-asserted-by":"publisher","unstructured":"Kozlov A, Osokin D (2020) Development of real-time ADAS object detector for deployment on CPU. In: Intelligent systems and applications: proceedings of the 2019 intelligent systems conference (IntelliSys), vol 1. pp 740\u2013750. https:\/\/doi.org\/10.1007\/978-3-030-29516-5_55","DOI":"10.1007\/978-3-030-29516-5_55"},{"key":"9435_CR21","doi-asserted-by":"publisher","unstructured":"Lehoczky J, Sha L, Ding Y (1989) The rate monotonic scheduling algorithm: exact characterization and average case behavior. In: RTSS, vol 89. pp 166\u2013171. https:\/\/doi.org\/10.1109\/REAL.1989.63567","DOI":"10.1109\/REAL.1989.63567"},{"key":"9435_CR22","unstructured":"Linux CFS Simulator. https:\/\/github.com\/sysprog21\/linux-cfs-sim\/blob\/master"},{"key":"9435_CR23","unstructured":"Linux CFS Visualizer. https:\/\/nihal111.github.io\/CFS-visualizer\/"},{"key":"9435_CR24","doi-asserted-by":"publisher","unstructured":"Madden MM (2019) Challenges using Linux as a real-time operating system. In: AIAA Scitech 2019 forum. p 0502. https:\/\/doi.org\/10.2514\/6.2019-0502","DOI":"10.2514\/6.2019-0502"},{"key":"9435_CR25","doi-asserted-by":"publisher","unstructured":"Minemura K, Liau H, Monrroy A, Kato S (2018) LMNet: real-time multiclass object detection on CPU using 3D LiDAR. In: 2018 3rd Asia-Pacific Conference on Intelligent Robot Systems (ACIRS). pp 28\u201334.https:\/\/doi.org\/10.1109\/ACIRS.2018.8467245","DOI":"10.1109\/ACIRS.2018.8467245"},{"key":"9435_CR26","doi-asserted-by":"publisher","unstructured":"Oliveira DB, Casini D, Oliveira RS, Cucinotta T (2020) Demystifying the real-time Linux scheduling latency. In: 32nd Euromicro conference on real-time systems (ECRTS 2020). pp 9\u20131923. https:\/\/doi.org\/10.4230\/LIPIcs.ECRTS.2020.9","DOI":"10.4230\/LIPIcs.ECRTS.2020.9"},{"key":"9435_CR27","unstructured":"Organization LK (2023) Completely fair scheduler. https:\/\/docs.kernel.org\/scheduler\/sched-design-CFS.html"},{"key":"9435_CR28","doi-asserted-by":"publisher","unstructured":"Palencia JC, Harbour MG (1999) Exploiting precedence relations in the schedulability analysis of distributed real-time systems. In: Proceedings 20th IEEE real-time systems symposium (Cat. No. 99CB37054). pp 328\u2013339. https:\/\/doi.org\/10.1109\/REAL.1999.818860","DOI":"10.1109\/REAL.1999.818860"},{"key":"9435_CR29","doi-asserted-by":"publisher","DOI":"10.1007\/s11042-022-13644-y","author":"JC Palencia","year":"2005","unstructured":"Palencia JC, Harbour MG (2005) Response time analysis of EDF distributed real-time systems. J Embed Comput. https:\/\/doi.org\/10.1007\/s11042-022-13644-y","journal-title":"J Embed Comput"},{"key":"9435_CR30","doi-asserted-by":"publisher","unstructured":"Qian Y, Lu Z, Dou Q (2010) QoS scheduling for NoCs: strict priority queueing versus weighted round robin. In: 2010 IEEE international conference on computer design. pp 52\u201359. https:\/\/doi.org\/10.1109\/ICCD.2010.5647577","DOI":"10.1109\/ICCD.2010.5647577"},{"key":"9435_CR31","doi-asserted-by":"publisher","unstructured":"Regnier P, Lima G, Massa E, Levin G, Brandt S (2011) Run: optimal multiprocessor real-time scheduling via reduction to uniprocessor. In: 2011 IEEE 32nd real-time systems symposium. pp 104\u2013115. https:\/\/doi.org\/10.1109\/RTSS.2011.17","DOI":"10.1109\/RTSS.2011.17"},{"key":"9435_CR32","doi-asserted-by":"publisher","unstructured":"Ren X, Rodrigues K, Chen L, Vega C, Stumm M, Yuan D (2019) An analysis of performance evolution of Linux\u2019s core operations. In: Proceedings of the 27th ACM symposium on operating systems principles. pp 554\u2013569. https:\/\/doi.org\/10.1145\/3341301.3359640","DOI":"10.1145\/3341301.3359640"},{"key":"9435_CR33","doi-asserted-by":"publisher","DOI":"10.1109\/90.502236","author":"M Shreedhar","year":"1996","unstructured":"Shreedhar M, Varghese G (1996) Efficient fair queuing using deficit round-robin. IEEE\/ACM Trans Netw. https:\/\/doi.org\/10.1109\/90.502236","journal-title":"IEEE\/ACM Trans Netw"},{"key":"9435_CR34","unstructured":"Spuri M (1996) Analysis of deadline scheduled real-time systems. PhD Thesis, Inria. https:\/\/inria.hal.science\/inria-00073920v1"},{"key":"9435_CR35","unstructured":"Stoica I, Abdel-Wahab H (1995) Earliest eligible virtual deadline first: a flexible and accurate mechanism for proportional share resource allocation. Technical report, Old Dominion University, USA"},{"key":"9435_CR36","doi-asserted-by":"publisher","unstructured":"Tang Y, Guan N, Feng Z, Jiang X, Yi W (2021) Response time analysis of lazy round robin. In: 2021 design, automation & test in Europe conference & exhibition (DATE). pp 258\u2013263. https:\/\/doi.org\/10.23919\/DATE51398.2021.9474242","DOI":"10.23919\/DATE51398.2021.9474242"},{"key":"9435_CR37","doi-asserted-by":"publisher","unstructured":"Thiele D, Diemer J, Axer P, Ernst R, Seyler J (2013) Improved formal worst-case timing analysis of weighted round robin scheduling for ethernet. In: 2013 international conference on hardware\/software codesign and system synthesis (CODES+ ISSS). pp 1\u201310. https:\/\/doi.org\/10.1109\/CODES-ISSS.2013.6659012","DOI":"10.1109\/CODES-ISSS.2013.6659012"},{"key":"9435_CR38","doi-asserted-by":"publisher","DOI":"10.1016\/0165-6074(94)90080-9","author":"K Tindell","year":"1994","unstructured":"Tindell K, Clark J (1994) Holistic schedulability analysis for distributed hard real-time systems. Microprocess Microprogram. https:\/\/doi.org\/10.1016\/0165-6074(94)90080-9","journal-title":"Microprocess Microprogram"},{"key":"9435_CR39","doi-asserted-by":"publisher","DOI":"10.1145\/3126520","author":"J Wang","year":"2017","unstructured":"Wang J, Mendler M, Roop P, Bodin B (2017) Timing analysis of synchronous programs using WCRT algebra: scalability through abstraction. ACM Trans Embed Comput Syst. https:\/\/doi.org\/10.1145\/3126520","journal-title":"ACM Trans Embed Comput Syst"},{"key":"9435_CR40","doi-asserted-by":"publisher","unstructured":"Xu H, Tang R (2010) Study and improvements for the real-time performance of Linux kernel. In: 2010 3rd international conference on biomedical engineering and informatics, vol 7. IEEE, Yantai, China, pp 2766\u20132769. https:\/\/doi.org\/10.1109\/BMEI.2010.5639840","DOI":"10.1109\/BMEI.2010.5639840"},{"key":"9435_CR41","unstructured":"Zeng K, Chen Y, Cho H, Xing X, Doup\u00e9 A, Shoshitaishvili Y, Bao T (2022) Playing for K(H)eaps: understanding and improving Linux kernel exploit reliability. In: 31st USENIX security symposium (USENIX Security 22). pp 71\u201388. https:\/\/www.usenix.org\/conference\/usenixsecurity22\/presentation\/zeng"}],"container-title":["Real-Time Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11241-025-09435-x.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s11241-025-09435-x\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11241-025-09435-x.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,4,26]],"date-time":"2025-04-26T01:01:38Z","timestamp":1745629298000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s11241-025-09435-x"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,3]]},"references-count":41,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2025,3]]}},"alternative-id":["9435"],"URL":"https:\/\/doi.org\/10.1007\/s11241-025-09435-x","relation":{},"ISSN":["0922-6443","1573-1383"],"issn-type":[{"value":"0922-6443","type":"print"},{"value":"1573-1383","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,3]]},"assertion":[{"value":"15 March 2025","order":1,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"28 March 2025","order":2,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no conflict of interest.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of interest"}}]}}