{"title":"实时内核多程序多处理器同步的一种新方法","authors":"H. Takada, K. Sakamura","doi":"10.1109/REAL.1997.641276","DOIUrl":null,"url":null,"abstract":"In order to solve the problem of inopportune preemption in multiprogrammed multiprocessor synchronization, two strategies which are applicable to real-time systems have been investigated: preemption-safe locking and wait-free synchronization. Both of them, however, have a problem for use in the implementation of a real-time kernel. Preemption-safe locking has the drawback that the preemption cost becomes large; while wait-free operations on complex data structures are generally very inefficient and are not practical. We propose a novel approach to multiprogrammed multiprocessor synchronization, called the SPEPP (Spinning Processor Executes for Preempted Processors) synchronization, with which the preemption cost can be reduced to almost zero, while operations on complex data structures can be realized with reasonable efficiency. This paper presents the two algorithms of the SPEPP synchronization and their extensions, and demonstrates its effectiveness through the performance measurements of real-time kernels implemented with the SPEPP synchronization algorithms.","PeriodicalId":231201,"journal":{"name":"Proceedings Real-Time Systems Symposium","volume":"72 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1997-12-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"33","resultStr":"{\"title\":\"A novel approach to multiprogrammed multiprocessor synchronization for real-time kernels\",\"authors\":\"H. Takada, K. Sakamura\",\"doi\":\"10.1109/REAL.1997.641276\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In order to solve the problem of inopportune preemption in multiprogrammed multiprocessor synchronization, two strategies which are applicable to real-time systems have been investigated: preemption-safe locking and wait-free synchronization. Both of them, however, have a problem for use in the implementation of a real-time kernel. Preemption-safe locking has the drawback that the preemption cost becomes large; while wait-free operations on complex data structures are generally very inefficient and are not practical. We propose a novel approach to multiprogrammed multiprocessor synchronization, called the SPEPP (Spinning Processor Executes for Preempted Processors) synchronization, with which the preemption cost can be reduced to almost zero, while operations on complex data structures can be realized with reasonable efficiency. This paper presents the two algorithms of the SPEPP synchronization and their extensions, and demonstrates its effectiveness through the performance measurements of real-time kernels implemented with the SPEPP synchronization algorithms.\",\"PeriodicalId\":231201,\"journal\":{\"name\":\"Proceedings Real-Time Systems Symposium\",\"volume\":\"72 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1997-12-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"33\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings Real-Time Systems Symposium\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/REAL.1997.641276\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings Real-Time Systems Symposium","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/REAL.1997.641276","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 33
摘要
为了解决多程序多处理机同步中的不合时宜抢占问题,研究了两种适用于实时系统的策略:抢占安全锁定和无等待同步。但是,它们在实现实时内核时都存在问题。抢占安全锁的缺点是抢占成本变大;而对复杂数据结构的无等待操作通常效率非常低,而且不实用。本文提出了一种新的多程序多处理器同步方法SPEPP (Spinning Processor executions for Preempted Processors)同步方法,该方法可以将抢占成本降低到几乎为零,同时可以以合理的效率实现对复杂数据结构的操作。本文介绍了SPEPP同步的两种算法及其扩展,并通过SPEPP同步算法实现的实时内核的性能测试证明了其有效性。
A novel approach to multiprogrammed multiprocessor synchronization for real-time kernels
In order to solve the problem of inopportune preemption in multiprogrammed multiprocessor synchronization, two strategies which are applicable to real-time systems have been investigated: preemption-safe locking and wait-free synchronization. Both of them, however, have a problem for use in the implementation of a real-time kernel. Preemption-safe locking has the drawback that the preemption cost becomes large; while wait-free operations on complex data structures are generally very inefficient and are not practical. We propose a novel approach to multiprogrammed multiprocessor synchronization, called the SPEPP (Spinning Processor Executes for Preempted Processors) synchronization, with which the preemption cost can be reduced to almost zero, while operations on complex data structures can be realized with reasonable efficiency. This paper presents the two algorithms of the SPEPP synchronization and their extensions, and demonstrates its effectiveness through the performance measurements of real-time kernels implemented with the SPEPP synchronization algorithms.