首页 > 最新文献

ACM Transactions on Modeling and Computer Simulation最新文献

英文 中文
Virtual Time III, Part 2: Combining Conservative and Optimistic Synchronization 虚拟时间III,第2部分:结合保守和乐观同步
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-01-11 DOI: https://dl.acm.org/doi/10.1145/3505249
David R. Jefferson, Peter D. Barnes

This is Part 2 of a trio of works intended to provide a unifying framework in which conservative and optimistic synchronization for parallel discrete event simulations can be freely and transparently combined in the same logical process on an event-by-event basis. In this article, we continue the outline of an approach called Unified Virtual Time (UVT) that was introduced in Part 1, showing in detail via two extended examples how conservative synchronization can be refactored and combined with optimistic synchronization in the UVT framework. We describe UVT versions of both a basic time windowing algorithm called Unified Simple Time Windows and a refactored version of the Chandy-Misra-Bryant Null Message algorithm called Unified CMB.

这是旨在提供一个统一框架的三部作品的第2部分,在这个框架中,并行离散事件模拟的保守和乐观同步可以在一个事件接一个事件的基础上自由透明地结合在相同的逻辑过程中。在本文中,我们将继续概述第1部分中介绍的一种称为统一虚拟时间(Unified Virtual Time, UVT)的方法,通过两个扩展示例详细展示如何重构保守同步,并将其与UVT框架中的乐观同步结合起来。我们描述了称为统一简单时间窗口的基本时间窗算法和称为统一CMB的Chandy-Misra-Bryant空消息算法的重构版本的UVT版本。
{"title":"Virtual Time III, Part 2: Combining Conservative and Optimistic Synchronization","authors":"David R. Jefferson, Peter D. Barnes","doi":"https://dl.acm.org/doi/10.1145/3505249","DOIUrl":"https://doi.org/https://dl.acm.org/doi/10.1145/3505249","url":null,"abstract":"<p>This is <i>Part 2</i> of a trio of works intended to provide a unifying framework in which conservative and optimistic synchronization for parallel discrete event simulations can be freely and transparently combined in the same logical process on an event-by-event basis. In this article, we continue the outline of an approach called <i>Unified Virtual Time</i> (UVT) that was introduced in <i>Part 1</i>, showing in detail via two extended examples how conservative synchronization can be refactored and combined with optimistic synchronization in the UVT framework. We describe UVT versions of both a basic time windowing algorithm called <i>Unified Simple Time Windows</i> and a refactored version of the Chandy-Misra-Bryant Null Message algorithm called <i>Unified CMB</i>.</p>","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"70 2","pages":""},"PeriodicalIF":0.9,"publicationDate":"2023-01-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"138523773","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Replication of Computational Results Report for "Automatic Reuse, Adaption, and Execution of Simulation Experiments via Provenance Patterns" “通过来源模式自动重用、适应和执行模拟实验”计算结果报告的复制
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-01-01 DOI: 10.1145/3577007
P. D. Sanzo
{"title":"Replication of Computational Results Report for \"Automatic Reuse, Adaption, and Execution of Simulation Experiments via Provenance Patterns\"","authors":"P. D. Sanzo","doi":"10.1145/3577007","DOIUrl":"https://doi.org/10.1145/3577007","url":null,"abstract":"","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"50 1","pages":"5:1-5:3"},"PeriodicalIF":0.9,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"64062463","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A Personality-based Model of Emotional Contagion and Control in Crowd Queuing Simulations 人群排队模拟中基于个性的情绪传染与控制模型
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2022-12-20 DOI: 10.1145/3577589
Junxiao Xue, Mingchuan Zhang, Hui Yin
Queuing is a frequent daily activity. However, long waiting lines equate to frustration and potential safety hazards. We present a novel, personality-based model of emotional contagion and control for simulating crowd queuing. Our model integrates the influence of individual personalities and interpersonal relationships. Through the interaction between the agents and the external environment parameters, the emotional contagion model based on well-known theories in psychology is used to complete the agents’ behavior planning and path planning function. We combine the epidemiological SIR model with the cellular automaton model to capture various emotional modelling for multi-agent simulations. The overall formulation involves different emotional parameters, such as patience, urgency, and friendliness, closely related to crowd queuing. In addition, to manage the order of the queue, governing agents are added to prevent the emotional outbreak. We perform qualitative and quantitative comparisons between our simulation results and real-world observations on various scenarios. Numerous experiments show that reasonably increasing the queue channel and adding governing agents can effectively improve the quality of queues.
排队是一项频繁的日常活动。然而,排长队就相当于挫败感和潜在的安全隐患。我们提出了一个新颖的、基于个性的情绪传染和控制模型,用于模拟人群排队。我们的模型综合了个人性格和人际关系的影响。通过主体与外部环境参数的相互作用,利用基于心理学著名理论的情绪传染模型来完成主体的行为规划和路径规划功能。我们将流行病学SIR模型与细胞自动机模型相结合,以捕捉多智能体模拟的各种情绪建模。整个公式涉及不同的情绪参数,如耐心、紧迫性和友好性,与人群排队密切相关。此外,为了管理队列的顺序,添加了管理代理以防止情绪爆发。我们在模拟结果和各种场景下的真实世界观察结果之间进行定性和定量比较。大量实验表明,合理增加队列通道和添加管理代理可以有效地提高队列的质量。
{"title":"A Personality-based Model of Emotional Contagion and Control in Crowd Queuing Simulations","authors":"Junxiao Xue, Mingchuan Zhang, Hui Yin","doi":"10.1145/3577589","DOIUrl":"https://doi.org/10.1145/3577589","url":null,"abstract":"Queuing is a frequent daily activity. However, long waiting lines equate to frustration and potential safety hazards. We present a novel, personality-based model of emotional contagion and control for simulating crowd queuing. Our model integrates the influence of individual personalities and interpersonal relationships. Through the interaction between the agents and the external environment parameters, the emotional contagion model based on well-known theories in psychology is used to complete the agents’ behavior planning and path planning function. We combine the epidemiological SIR model with the cellular automaton model to capture various emotional modelling for multi-agent simulations. The overall formulation involves different emotional parameters, such as patience, urgency, and friendliness, closely related to crowd queuing. In addition, to manage the order of the queue, governing agents are added to prevent the emotional outbreak. We perform qualitative and quantitative comparisons between our simulation results and real-world observations on various scenarios. Numerous experiments show that reasonably increasing the queue channel and adding governing agents can effectively improve the quality of queues.","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"33 1","pages":"1 - 23"},"PeriodicalIF":0.9,"publicationDate":"2022-12-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"49172197","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Batching Adaptive Variance Reduction 批处理自适应方差减少
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2022-12-01 DOI: 10.1145/3573386
Chenxiao Song, Ray Kawai
Adaptive Monte Carlo variance reduction is an effective framework for running a Monte Carlo simulation along with a parameter search algorithm for variance reduction, whereas an initialization step is required for preparing problem parameters in some instances. In spite of the effectiveness of adaptive variance reduction in various fields of application, the length of the preliminary phase has often been left unspecified for the user to determine on a case-by-case basis, much like in typical sequential frameworks. This uncertain element may possibly be even fatal in realistic finite-budget situations, since the pilot run may take most of the budget, or possibly use up all of it. To unnecessitate such an ad hoc initialization step, we develop a batching procedure in adaptive variance reduction, and provide an implementable formula of the learning rate in the parameter search which minimizes an upper bound of the theoretical variance of the empirical batch mean. We analyze decay rates of the minimized upper bound towards the minimal estimator variance with respect to the predetermined computing budget, and provide convergence results as the computing budget increases progressively when the batch size is fixed. Numerical examples are provided to support theoretical findings and illustrate the effectiveness of the proposed batching procedure.
自适应蒙特卡罗方差减少是运行蒙特卡罗模拟以及用于方差减少的参数搜索算法的有效框架,而在某些情况下,准备问题参数需要初始化步骤。尽管自适应方差减少在各个应用领域都很有效,但初步阶段的长度往往没有明确,用户可以根据具体情况来确定,就像典型的顺序框架一样。在现实的有限预算情况下,这种不确定因素甚至可能是致命的,因为试运行可能会占用大部分预算,或者可能会用完所有预算。为了避免这种特殊的初始化步骤,我们开发了一种自适应方差减少的批处理程序,并提供了参数搜索中的学习率的可实现公式,该公式最小化了经验批量平均值的理论方差的上限。我们分析了最小上界相对于预定计算预算的最小估计器方差的衰减率,并在批量大小固定时,随着计算预算的逐渐增加,提供了收敛结果。提供了数值例子来支持理论发现,并说明了所提出的配料程序的有效性。
{"title":"Batching Adaptive Variance Reduction","authors":"Chenxiao Song, Ray Kawai","doi":"10.1145/3573386","DOIUrl":"https://doi.org/10.1145/3573386","url":null,"abstract":"Adaptive Monte Carlo variance reduction is an effective framework for running a Monte Carlo simulation along with a parameter search algorithm for variance reduction, whereas an initialization step is required for preparing problem parameters in some instances. In spite of the effectiveness of adaptive variance reduction in various fields of application, the length of the preliminary phase has often been left unspecified for the user to determine on a case-by-case basis, much like in typical sequential frameworks. This uncertain element may possibly be even fatal in realistic finite-budget situations, since the pilot run may take most of the budget, or possibly use up all of it. To unnecessitate such an ad hoc initialization step, we develop a batching procedure in adaptive variance reduction, and provide an implementable formula of the learning rate in the parameter search which minimizes an upper bound of the theoretical variance of the empirical batch mean. We analyze decay rates of the minimized upper bound towards the minimal estimator variance with respect to the predetermined computing budget, and provide convergence results as the computing budget increases progressively when the batch size is fixed. Numerical examples are provided to support theoretical findings and illustrate the effectiveness of the proposed batching procedure.","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"33 1","pages":"1 - 24"},"PeriodicalIF":0.9,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"46935685","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Efficient Simulation of Sparse Graphs of Point Processes 点过程稀疏图的有效模拟
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2022-11-15 DOI: 10.1145/3565809
Cyrille Loïc Mascart, David, Hill, A. Muzy, P. Reynaud-Bouret
We derive new discrete event simulation algorithms for marked time point processes. The main idea is to couple a special structure, namely the associated local independence graph, as defined by Didelez, with the activity tracking algorithm of Muzy for achieving high-performance asynchronous simulations. With respect to classical algorithms, this allows us to drastically reduce the computational complexity, especially when the graph is sparse.
我们为标记时间点过程推导了新的离散事件模拟算法。其主要思想是将Didelez定义的一种特殊结构,即关联的局部独立图,与Muzy的活动跟踪算法相结合,以实现高性能异步模拟。相对于经典算法,这使我们能够大幅降低计算复杂度,尤其是当图是稀疏的时。
{"title":"Efficient Simulation of Sparse Graphs of Point Processes","authors":"Cyrille Loïc Mascart, David, Hill, A. Muzy, P. Reynaud-Bouret","doi":"10.1145/3565809","DOIUrl":"https://doi.org/10.1145/3565809","url":null,"abstract":"We derive new discrete event simulation algorithms for marked time point processes. The main idea is to couple a special structure, namely the associated local independence graph, as defined by Didelez, with the activity tracking algorithm of Muzy for achieving high-performance asynchronous simulations. With respect to classical algorithms, this allows us to drastically reduce the computational complexity, especially when the graph is sparse.","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"33 1","pages":"1 - 27"},"PeriodicalIF":0.9,"publicationDate":"2022-11-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"47898810","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Estimating Multiclass Service Demand Distributions Using Markovian Arrival Processes 利用马尔可夫到达过程估计多类服务需求分布
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2022-11-08 DOI: 10.1145/3570924
Runan Wang, G. Casale, Antonio Filieri
Building performance models for software services in DevOps is costly and error-prone. Accurate service demand distribution estimation is critical to precisely modeling queueing behaviors and performance prediction. However, current estimation methods focus on capturing the mean service demand, disregarding higher-order moments of the distribution that still can largely affect prediction accuracy. To address this limitation, we propose to estimate higher moments of the service demand distribution for a microservice from monitoring traces. We first generate a closed queueing model to abstract software performance and use it to model the departure process of requests completed by the software service as a Markovian arrival process (MAP). This allows formulating the estimation of service demand into an optimization problem, which aims to find the first multiple moments of the service demand distribution that maximize the likelihood of the MAP using generated the measured inter-departure times. We then estimate the service demand distribution for different classes of service with a maximum likelihood algorithm and novel heuristics to mitigate the computational cost of the optimization process for scalability. We apply our method to real traces from a microservice-based application and demonstrate that its estimations lead to greater prediction accuracy than exponential distributions assumed in traditional service demand estimation approaches for software services.
在DevOps中为软件服务构建性能模型成本高昂且容易出错。准确的服务需求分布估计对于准确建模排队行为和性能预测至关重要。然而,当前的估计方法侧重于捕捉平均服务需求,而忽略了仍然会在很大程度上影响预测精度的分布的高阶矩。为了解决这一限制,我们建议通过监测跟踪来估计微服务的服务需求分布的较高时刻。我们首先生成一个封闭排队模型来抽象软件性能,并使用它将软件服务完成的请求的离开过程建模为马尔可夫到达过程(MAP)。这允许将服务需求的估计公式化为优化问题,该优化问题旨在使用所生成的测量出发间时间来找到服务需求分布的前多个矩,该矩最大化MAP的可能性。然后,我们使用最大似然算法和新的启发式算法来估计不同服务类别的服务需求分布,以降低可扩展性优化过程的计算成本。我们将我们的方法应用于基于微服务的应用程序的真实跟踪,并证明其估计比软件服务的传统服务需求估计方法中假设的指数分布具有更高的预测精度。
{"title":"Estimating Multiclass Service Demand Distributions Using Markovian Arrival Processes","authors":"Runan Wang, G. Casale, Antonio Filieri","doi":"10.1145/3570924","DOIUrl":"https://doi.org/10.1145/3570924","url":null,"abstract":"Building performance models for software services in DevOps is costly and error-prone. Accurate service demand distribution estimation is critical to precisely modeling queueing behaviors and performance prediction. However, current estimation methods focus on capturing the mean service demand, disregarding higher-order moments of the distribution that still can largely affect prediction accuracy. To address this limitation, we propose to estimate higher moments of the service demand distribution for a microservice from monitoring traces. We first generate a closed queueing model to abstract software performance and use it to model the departure process of requests completed by the software service as a Markovian arrival process (MAP). This allows formulating the estimation of service demand into an optimization problem, which aims to find the first multiple moments of the service demand distribution that maximize the likelihood of the MAP using generated the measured inter-departure times. We then estimate the service demand distribution for different classes of service with a maximum likelihood algorithm and novel heuristics to mitigate the computational cost of the optimization process for scalability. We apply our method to real traces from a microservice-based application and demonstrate that its estimations lead to greater prediction accuracy than exponential distributions assumed in traditional service demand estimation approaches for software services.","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"33 1","pages":"1 - 26"},"PeriodicalIF":0.9,"publicationDate":"2022-11-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"49487716","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Dynamic Data-driven Microscopic Traffic Simulation using Jointly Trained Physics-guided Long Short-Term Memory 基于联合训练物理引导的长短期记忆的动态数据驱动微观交通模拟
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2022-11-05 DOI: https://dl.acm.org/doi/10.1145/3558555
Htet Naing, Wentong Cai, Hu Nan, Wu Tiantian, Yu Liang

Symbiotic simulation systems that incorporate data-driven methods (such as machine/deep learning) are effective and efficient tools for just-in-time (JIT) operational decision making. With the growing interest on Digital Twin City, such systems are ideal for real-time microscopic traffic simulation. However, learning-based models are heavily biased towards the training data and could produce physically inconsistent outputs. In terms of microscopic traffic simulation, this could lead to unsafe driving behaviours causing vehicle collisions in the simulation. As for symbiotic simulation, this could severely affect the performance of real-time base simulation models resulting in inaccurate or unrealistic forecasts, which could, in turn, mislead JIT what-if analyses. To overcome this issue, a physics-guided data-driven modelling paradigm should be adopted so that the resulting model could capture both accurate and safe driving behaviours. However, very few works exist in the development of such a car-following model that can balance between simulation accuracy and physical consistency. Therefore, in this paper, a new “jointly-trained physics-guided Long Short-Term Memory (JTPG-LSTM)” neural network, is proposed and integrated to a dynamic data-driven simulation system to capture dynamic car-following behaviours. An extensive set of experiments was conducted to demonstrate the advantages of the proposed model from both modelling and simulation perspectives.

结合数据驱动方法(如机器/深度学习)的共生模拟系统是即时(JIT)运营决策的有效和高效工具。随着人们对数字双城的兴趣日益浓厚,这种系统是实时微观交通模拟的理想选择。然而,基于学习的模型严重偏向于训练数据,可能产生物理上不一致的输出。在微观交通模拟中,这可能会导致不安全的驾驶行为,导致模拟中的车辆碰撞。对于共生模拟,这可能会严重影响实时基础模拟模型的性能,导致不准确或不现实的预测,进而可能误导JIT的假设分析。为了克服这个问题,应该采用物理指导的数据驱动的建模范式,以便最终的模型可以捕获准确和安全的驾驶行为。然而,在这种跟车模型的开发中,能够在仿真精度和物理一致性之间取得平衡的作品很少。因此,本文提出了一种新的“联合训练物理引导的长短期记忆(JTPG-LSTM)”神经网络,并将其集成到一个动态数据驱动的仿真系统中,以捕获动态跟车行为。一组广泛的实验从建模和仿真的角度证明了所提出的模型的优势。
{"title":"Dynamic Data-driven Microscopic Traffic Simulation using Jointly Trained Physics-guided Long Short-Term Memory","authors":"Htet Naing, Wentong Cai, Hu Nan, Wu Tiantian, Yu Liang","doi":"https://dl.acm.org/doi/10.1145/3558555","DOIUrl":"https://doi.org/https://dl.acm.org/doi/10.1145/3558555","url":null,"abstract":"<p>Symbiotic simulation systems that incorporate data-driven methods (such as machine/deep learning) are effective and efficient tools for <b>just-in-time (JIT)</b> operational decision making. With the growing interest on Digital Twin City, such systems are ideal for real-time microscopic traffic simulation. However, learning-based models are heavily biased towards the training data and could produce physically inconsistent outputs. In terms of microscopic traffic simulation, this could lead to unsafe driving behaviours causing vehicle collisions in the simulation. As for symbiotic simulation, this could severely affect the performance of real-time base simulation models resulting in inaccurate or unrealistic forecasts, which could, in turn, mislead JIT what-if analyses. To overcome this issue, a physics-guided data-driven modelling paradigm should be adopted so that the resulting model could capture both accurate and safe driving behaviours. However, very few works exist in the development of such a car-following model that can balance between simulation accuracy and physical consistency. Therefore, in this paper, a new <b>“jointly-trained physics-guided Long Short-Term Memory (JTPG-LSTM)”</b> neural network, is proposed and integrated to a dynamic data-driven simulation system to capture dynamic car-following behaviours. An extensive set of experiments was conducted to demonstrate the advantages of the proposed model from both modelling and simulation perspectives.</p>","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"10 1","pages":""},"PeriodicalIF":0.9,"publicationDate":"2022-11-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"138523778","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Performance Analysis of Speculative Parallel Adaptive Local Timestepping for Conservation Laws 守恒律推测并行自适应局部时间步进的性能分析
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2022-11-05 DOI: https://dl.acm.org/doi/10.1145/3545996
Maximilian Bremer, John Bachan, Cy Chan, Clint Dawson

Stable simulation of conservation laws, such as those used to model fluid dynamics and plasma physics applications, requires the satisfaction of the so-called Courant-Friedrichs-Lewy condition. By allowing regions of the mesh to advance with different timesteps that locally satisfy this stability constraint, significant work reduction can be attained when compared to a time integration scheme using a single timestep size. However, parallelizing this algorithm presents considerable difficulty. Since the stability condition depends on the state of the system, dependencies become dynamic and potentially non-local. In this article, we present an adaptive local timestepping algorithm using an optimistic (Timewarp-based) parallel discrete event simulation. We introduce waiting heuristics to limit misspeculation and a semi-static load balancing scheme to eliminate load imbalance as parts of the mesh require finer or coarser timesteps. Last, we outline an interface for separating the physics of the specific conservation law from the temporal integration allowing for productive adoption of our proposed algorithm. We present a misspeculation study for three conservation laws, demonstrating both the productivity of the local timestepping API, for which 74% of the lines of code are reused across different conservation laws, and the robustness of the waiting heuristics—at most 1.5% of element updates are rolled back. Our performance studies demonstrate up to a 2.8× speedup versus a baseline unoptimized local timestepping approach, a 4x improvement in per-node throughput compared to an MPI parallelization of synchronous timestepping, and scalability up to 3,072 cores on NERSC’s Cori Haswell partition.

守恒定律的稳定模拟,例如那些用于模拟流体动力学和等离子体物理应用的定律,需要满足所谓的Courant-Friedrichs-Lewy条件。通过允许网格区域以满足局部稳定性约束的不同时间步进推进,与使用单一时间步长的时间积分方案相比,可以显著减少工作量。然而,该算法的并行化存在相当大的困难。由于稳定性条件取决于系统的状态,因此依赖关系变为动态的,并且可能是非局部的。在本文中,我们提出了一种自适应局部时间步进算法,该算法使用乐观的(基于时间偏差的)并行离散事件模拟。我们引入了等待启发式来限制错误猜测和半静态负载平衡方案来消除负载不平衡,因为部分网格需要更细或更粗的时间步长。最后,我们概述了一个接口,用于将特定守恒定律的物理从时间积分中分离出来,从而允许有效地采用我们提出的算法。我们对三个守恒定律进行了错误的推测研究,展示了本地时间步进API的生产力,其中74%的代码行被跨不同的守恒定律重用,以及等待启发式的鲁棒性-最多1.5%的元素更新被回滚。我们的性能研究表明,与基线未优化的本地时间步进方法相比,加速高达2.8倍,与同步时间步进的MPI并行化相比,每个节点的吞吐量提高了4倍,并且在NERSC的Cori Haswell分区上可扩展性高达3,072个内核。
{"title":"Performance Analysis of Speculative Parallel Adaptive Local Timestepping for Conservation Laws","authors":"Maximilian Bremer, John Bachan, Cy Chan, Clint Dawson","doi":"https://dl.acm.org/doi/10.1145/3545996","DOIUrl":"https://doi.org/https://dl.acm.org/doi/10.1145/3545996","url":null,"abstract":"<p>Stable simulation of conservation laws, such as those used to model fluid dynamics and plasma physics applications, requires the satisfaction of the so-called Courant-Friedrichs-Lewy condition. By allowing regions of the mesh to advance with different timesteps that locally satisfy this stability constraint, significant work reduction can be attained when compared to a time integration scheme using a single timestep size. However, parallelizing this algorithm presents considerable difficulty. Since the stability condition depends on the state of the system, dependencies become dynamic and potentially non-local. In this article, we present an adaptive local timestepping algorithm using an optimistic (Timewarp-based) parallel discrete event simulation. We introduce waiting heuristics to limit misspeculation and a semi-static load balancing scheme to eliminate load imbalance as parts of the mesh require finer or coarser timesteps. Last, we outline an interface for separating the physics of the specific conservation law from the temporal integration allowing for productive adoption of our proposed algorithm. We present a misspeculation study for three conservation laws, demonstrating both the productivity of the local timestepping API, for which 74% of the lines of code are reused across different conservation laws, and the robustness of the waiting heuristics—at most 1.5% of element updates are rolled back. Our performance studies demonstrate up to a 2.8× speedup versus a baseline unoptimized local timestepping approach, a 4x improvement in per-node throughput compared to an MPI parallelization of synchronous timestepping, and scalability up to 3,072 cores on NERSC’s Cori Haswell partition.</p>","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"1 1","pages":""},"PeriodicalIF":0.9,"publicationDate":"2022-11-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"138523756","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A General Framework to Simulate Diffusions with Discontinuous Coefficients and Local Times 具有不连续系数和局部时间的扩散模拟的一般框架
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2022-11-05 DOI: https://dl.acm.org/doi/10.1145/3559541
Kailin Ding, Zhenyu Cui

In this article, we propose an efficient general simulation method for diffusions that are solutions to stochastic differential equations with discontinuous coefficients and local time terms. The proposed method is based on sampling from the corresponding continuous-time Markov chain approximation. In contrast to existing time discretization schemes, the Markov chain approximation method corresponds to a spatial discretization scheme and is demonstrated to be particularly suited for simulating diffusion processes with discontinuities in their state space. We establish the theoretical convergence order and also demonstrate the accuracy and robustness of the method in numerical examples by comparing it to the known benchmarks in terms of root mean squared error, runtime, and the parameter sensitivity.

在本文中,我们提出了一种有效的一般扩散模拟方法,这种扩散是具有不连续系数和局部时间项的随机微分方程的解。该方法基于相应的连续马尔可夫链近似的采样。与现有的时间离散化方案相比,马尔可夫链近似方法对应于空间离散化方案,并被证明特别适合于模拟状态空间中具有不连续的扩散过程。我们建立了理论的收敛顺序,并通过与已知基准在均方根误差、运行时间和参数灵敏度方面的比较,在数值实例中证明了该方法的准确性和鲁棒性。
{"title":"A General Framework to Simulate Diffusions with Discontinuous Coefficients and Local Times","authors":"Kailin Ding, Zhenyu Cui","doi":"https://dl.acm.org/doi/10.1145/3559541","DOIUrl":"https://doi.org/https://dl.acm.org/doi/10.1145/3559541","url":null,"abstract":"<p>In this article, we propose an efficient general simulation method for diffusions that are solutions to stochastic differential equations with discontinuous coefficients and local time terms. The proposed method is based on sampling from the corresponding continuous-time Markov chain approximation. In contrast to existing time discretization schemes, the Markov chain approximation method corresponds to a spatial discretization scheme and is demonstrated to be particularly suited for simulating diffusion processes with discontinuities in their state space. We establish the theoretical convergence order and also demonstrate the accuracy and robustness of the method in numerical examples by comparing it to the known benchmarks in terms of root mean squared error, runtime, and the parameter sensitivity.</p>","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"78 1","pages":""},"PeriodicalIF":0.9,"publicationDate":"2022-11-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"138523775","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Introduction to the Special Section on PADS 2021 PADS 2021专题介绍
IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2022-10-31 DOI: 10.1145/3579840
S. Diallo, A. Tolk
(
{"title":"Introduction to the Special Section on PADS 2021","authors":"S. Diallo, A. Tolk","doi":"10.1145/3579840","DOIUrl":"https://doi.org/10.1145/3579840","url":null,"abstract":"(","PeriodicalId":50943,"journal":{"name":"ACM Transactions on Modeling and Computer Simulation","volume":"32 1","pages":"1 - 2"},"PeriodicalIF":0.9,"publicationDate":"2022-10-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"45158047","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
ACM Transactions on Modeling and Computer Simulation
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1