Supporting Single and Multi-Core Resource Access Protocols on Object-Oriented RTOSes

preprint OA: closed CC-BY-4.0
📄 Open PDF Full text JSON View at publisher

Abstract

Real-time resource access protocols are fundamental to bound the maximum delay a task can suffer due to priority inversions. Several real-time protocols have been proposed, for both static and dynamic scheduling approaches in single and multi-core processors. One of the main factors for performance efficiency in such protocols is the way they are implement within a real-time operating system (RTOS). In this paper we present an object-oriented design of real-time access protocols considering single and multi-core systems and also suspension- and spin-based protocols (7 protocols in total). Our design aims at reducing the run-time overhead and increasingcode re-usability. By implementing the proposed design in an RTOS and running the protocols in a modern multi-core processor, we provide an analysis regarding the memory footprint, run-time overhead, and the impact of the overhead into the schedulability analysis of synthetically generated task sets. Our results indicate that proper implementation provides low run-time overhead (up to 6.1 us) and impact on the schedulability of real-time tasks.
Full text 12,850 characters · extracted from preprint-html · click to expand
Supporting Single and Multi-Core Resource Access Protocols on Object-Oriented RTOSes | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Supporting Single and Multi-Core Resource Access Protocols on Object-Oriented RTOSes Lucas Matheus dos Santos, Giovani Gracioli, Tomasz Kloda, Marco Caccamo This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-2015516/v1 This work is licensed under a CC BY 4.0 License Status: Published Journal Publication published 01 Mar, 2023 Read the published version in Design Automation for Embedded Systems → Version 1 posted 7 You are reading this latest preprint version Abstract Real-time resource access protocols are fundamental to bound the maximum delay a task can suffer due to priority inversions. Several real-time protocols have been proposed, for both static and dynamic scheduling approaches in single and multi-core processors. One of the main factors for performance efficiency in such protocols is the way they are implement within a real-time operating system (RTOS). In this paper we present an object-oriented design of real-time access protocols considering single and multi-core systems and also suspension- and spin-based protocols (7 protocols in total). Our design aims at reducing the run-time overhead and increasingcode re-usability. By implementing the proposed design in an RTOS and running the protocols in a modern multi-core processor, we provide an analysis regarding the memory footprint, run-time overhead, and the impact of the overhead into the schedulability analysis of synthetically generated task sets. Our results indicate that proper implementation provides low run-time overhead (up to 6.1 us) and impact on the schedulability of real-time tasks. Real-time resource access protocols real-time operating systems priority ceiling protocol priority inheritance protocol stack resource policy MrsP Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Published Journal Publication published 01 Mar, 2023 Read the published version in Design Automation for Embedded Systems → Version 1 posted Editorial decision: Major revision 20 Dec, 2022 Reviews received at journal 06 Dec, 2022 Reviewers agreed at journal 06 Dec, 2022 Reviewers invited by journal 05 Dec, 2022 Editor assigned by journal 08 Sep, 2022 Submission checks completed at journal 05 Sep, 2022 First submitted to journal 30 Aug, 2022 You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-2015516","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":134091503,"identity":"e2ac6a27-68b9-4b66-a5a0-a0a54f71f402","order_by":0,"name":"Lucas Matheus dos Santos","email":"","orcid":"","institution":"Universidade Federal de Santa Catarina","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Lucas","middleName":"Matheus dos","lastName":"Santos","suffix":""},{"id":134091505,"identity":"3ad6308a-fac0-466e-91b2-7a296dd07193","order_by":1,"name":"Giovani Gracioli","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA5klEQVRIiWNgGAWjYDACZjApIcfHzMAGYvEDMRtRWozZoFokGwhqgYLENgZitci7Mx+T+LnDIr2Nnf3Zgx8MhyXk2w+wPa7Ao8XwMFuaZO8Zidw2Zh5zwx6gFoMzCeyGZ/BpaeYxNuBtA2thk+BhOFxnIMHABnIdXi2Gf9sk0tmY2Z9J/gE5bAYBLfLMPIaPgbYkAEPMTBpoiwTDDQJaDJjZEh/LtkkYAh1mJi1jkA70S2K7IV5b+g8fOPi2rU6en//4M8k3FdbAEDt87CFeWw6gckEEIz4NQFvwS4+CUTAKRsEoAAIAMV08OV+Cpw0AAAAASUVORK5CYII=","orcid":"","institution":"Universidade Federal de Santa Catarina","correspondingAuthor":true,"submittingAuthor":false,"prefix":"","firstName":"Giovani","middleName":"","lastName":"Gracioli","suffix":""},{"id":134091506,"identity":"031b2987-3120-4b77-a010-3dcceab2497b","order_by":2,"name":"Tomasz Kloda","email":"","orcid":"","institution":"Technical University of Munich","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Tomasz","middleName":"","lastName":"Kloda","suffix":""},{"id":134091507,"identity":"b448a8bc-f81c-41bd-b38d-ed43a8774269","order_by":3,"name":"Marco Caccamo","email":"","orcid":"","institution":"Technical University of Munich","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Marco","middleName":"","lastName":"Caccamo","suffix":""}],"badges":[],"createdAt":"2022-08-30 22:29:14","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-2015516/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-2015516/v1","draftVersion":[],"editorialEvents":[{"content":"https://doi.org/10.1007/s10617-023-09268-6","type":"published","date":"2023-03-01T19:29:28+00:00"}],"editorialNote":"","failedWorkflow":false,"files":[{"id":26182517,"identity":"84874d9d-9cd5-4e37-9e65-a0a1a8684197","added_by":"auto","created_at":"2022-09-07 15:07:36","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":977421,"visible":true,"origin":"","legend":"","description":"","filename":"SpecialIssueSpringerJournalofDesignAutomationforEmbeddedSystemsDAEM2022SBESC20201.pdf","url":"https://assets-eu.researchsquare.com/files/rs-2015516/v1_covered.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Supporting Single and Multi-Core Resource Access Protocols on Object-Oriented RTOSes","fulltext":[{"header":"Full Text","content":"This preprint is available for \u003ca href='/article/rs-2015516/latest.pdf' target='_blank'\u003edownload as a PDF\u003c/a\u003e."}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":true,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"design-automation-for-embedded-systems","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"daem","sideBox":"Learn more about [Design Automation for Embedded Systems](http://link.springer.com/journal/10617)","snPcode":"10617","submissionUrl":"https://submission.nature.com/new-submission/10617/3","title":"Design Automation for Embedded Systems","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false},"keywords":"Real-time resource access protocols, real-time operating systems, priority ceiling protocol, priority inheritance protocol, stack resource policy, MrsP","lastPublishedDoi":"10.21203/rs.3.rs-2015516/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-2015516/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eReal-time resource access protocols are fundamental to bound the maximum delay a task can suffer due to priority inversions. Several real-time protocols have been proposed, for both static and dynamic scheduling approaches in single and multi-core processors. One of the main factors for performance efficiency in such protocols is the way they are implement within a real-time operating system (RTOS).\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eIn this paper we present an object-oriented design of real-time access protocols considering single and multi-core systems and also suspension- and spin-based protocols (7 protocols in total). Our design aims at reducing the run-time overhead and increasingcode re-usability. By implementing the proposed design in an RTOS and running the protocols in a modern multi-core processor, we provide an analysis regarding the memory footprint, run-time overhead, and the impact of the overhead into the schedulability analysis of synthetically generated task sets. Our results indicate that proper implementation provides low run-time overhead (up to 6.1 us) and impact on the schedulability of real-time tasks.\u003c/p\u003e","manuscriptTitle":"Supporting Single and Multi-Core Resource Access Protocols on Object-Oriented RTOSes","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2022-09-07 15:07:29","doi":"10.21203/rs.3.rs-2015516/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Major revision","date":"2022-12-20T18:54:18+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2022-12-06T07:02:02+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"30d9fa96-c445-4433-918e-803ceb97c2d3","date":"2022-12-06T06:45:36+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2022-12-06T00:38:03+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2022-09-08T12:29:40+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2022-09-05T04:25:50+00:00","index":"","fulltext":""},{"type":"submitted","content":"Design Automation for Embedded Systems","date":"2022-08-30T22:21:56+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"design-automation-for-embedded-systems","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"daem","sideBox":"Learn more about [Design Automation for Embedded Systems](http://link.springer.com/journal/10617)","snPcode":"10617","submissionUrl":"https://submission.nature.com/new-submission/10617/3","title":"Design Automation for Embedded Systems","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false}}],"origin":"","ownerIdentity":"e2e48c0c-b998-4ef7-ab5b-5c57d583ce9b","owner":[],"postedDate":"September 7th, 2022","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"published-in-journal","subjectAreas":[],"tags":[],"updatedAt":"2023-10-16T19:31:28+00:00","versionOfRecord":{"articleIdentity":"rs-2015516","link":"https://doi.org/10.1007/s10617-023-09268-6","journal":{"identity":"design-automation-for-embedded-systems","isVorOnly":false,"title":"Design Automation for Embedded Systems"},"publishedOn":"2023-03-01 19:29:28","publishedOnDateReadable":"March 1st, 2023"},"versionCreatedAt":"2022-09-07 15:07:29","video":"","vorDoi":"10.1007/s10617-023-09268-6","vorDoiUrl":"https://doi.org/10.1007/s10617-023-09268-6","workflowStages":[]},"version":"v1","identity":"rs-2015516","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-2015516","identity":"rs-2015516","version":["v1"]},"buildId":"ApUGefWb6u5IBVtyqm6d5","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. The paper's references may be in our DB but unresolved to ``paper_id`` (resolution happens at ingest when the cited DOI matches a row we already have). Run the cross-source citation reconcile pass to retry.

Source provenance

europepmc
last seen: 2026-05-19T01:45:01.086888+00:00
unpaywall
last seen: 2026-05-30T02:00:01.510937+00:00
License: CC-BY-4.0