{"title":"Multiobjective message scheduling for Hybrid Synchronization in Distributed Simulations","authors":"Paulo Comasetto, R. Parizotto, B. Mello","doi":"10.5753/jbcs.2024.3197","DOIUrl":null,"url":null,"abstract":"One of the essential aspects of distributed simulations is to order events according to a causal consistency model. Traditionally, implementing causal consistency can be made using a conservative or optimistic approach. However, traditional techniques are costly in processing time to ensure causality. A promising approach to order events is a hybrid synchronization approach, where processes can change dynamically between optimistic and conservative approaches. Unfortunately, synchronizing processes running a hybrid synchronization is a complex problem. In this work, we discuss a multi-objective scheduling of hybrid synchronization messages problem. Beyond that, we propose using a scheduling algorithm to reach an equilibrium between processing and causality violations and describe how to integrate the algorithm in an existing distributed simulator. The algorithm uses two memoization phases, making the scheduling suitable for a dynamic environment. Finally, to demonstrate the feasibility of our scheduling approach, we implemented it in an existing distributed simulation architecture. Analysis based on the experiments demonstrates the behavior of the simulation regarding the number of discarding/processed messages and work performed.","PeriodicalId":39760,"journal":{"name":"Journal of the Brazilian Computer Society","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-07-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of the Brazilian Computer Society","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5753/jbcs.2024.3197","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
One of the essential aspects of distributed simulations is to order events according to a causal consistency model. Traditionally, implementing causal consistency can be made using a conservative or optimistic approach. However, traditional techniques are costly in processing time to ensure causality. A promising approach to order events is a hybrid synchronization approach, where processes can change dynamically between optimistic and conservative approaches. Unfortunately, synchronizing processes running a hybrid synchronization is a complex problem. In this work, we discuss a multi-objective scheduling of hybrid synchronization messages problem. Beyond that, we propose using a scheduling algorithm to reach an equilibrium between processing and causality violations and describe how to integrate the algorithm in an existing distributed simulator. The algorithm uses two memoization phases, making the scheduling suitable for a dynamic environment. Finally, to demonstrate the feasibility of our scheduling approach, we implemented it in an existing distributed simulation architecture. Analysis based on the experiments demonstrates the behavior of the simulation regarding the number of discarding/processed messages and work performed.
期刊介绍:
JBCS is a formal quarterly publication of the Brazilian Computer Society. It is a peer-reviewed international journal which aims to serve as a forum to disseminate innovative research in all fields of computer science and related subjects. Theoretical, practical and experimental papers reporting original research contributions are welcome, as well as high quality survey papers. The journal is open to contributions in all computer science topics, computer systems development or in formal and theoretical aspects of computing, as the list of topics below is not exhaustive. Contributions will be considered for publication in JBCS if they have not been published previously and are not under consideration for publication elsewhere.