首页> 外文会议>Twenty-Eighth annual Pacific Northwest software quality conference >Testing Concurrency Runtime via a Stochastic Stress Framework
【24h】

Testing Concurrency Runtime via a Stochastic Stress Framework

机译:通过随机压力框架测试并发运行时

获取原文
获取原文并翻译 | 示例

摘要

The non-linear interaction of many software components makes quality assurance a complex problem even for traditional serial code. Concurrency and interaction from multiple threads add an additional dimension to software complexity. This extra dimension introduces unique bug types such as deadlocks, live-locks, and race conditions. In this paper, we will describe how a solid stress framework, complete with integrated structured randomization and methodical meddling of temporal properties makes practical software quality assurance possible. Specifically, we discuss the methods and practices applied to provide solid assurance to a critical commercial component - the native Concurrency Runtime [3] stack from Microsoft. First, by applying random distributions in individual tests and integrating such individual tests via a statistically fair scheduler, we describe how to cope with traversing the seemingly infinite interaction patterns. Second, we will expose how such testing helps identify hangs stemming from deadlocks and live-locks. Third, we will talk about injecting randomization to the temporal properties of the software system methodically, and how that can be used to assure that we find bugs with reasonable probabilistic expectation. We will conclude with a brief survey of the effectiveness of our stochastic stress framework over other tools.
机译:即使对于传统的串行代码,许多软件组件之间的非线性相互作用也使得质量保证成为一个复杂的问题。来自多个线程的并发性和交互性增加了软件复杂性。这个额外的维度引入了独特的错误类型,例如死锁,活动锁和争用条件。在本文中,我们将描述一个固体应力框架,以及集成的结构化随机化和时间属性的方法化干预如何使切实可行的软件质量保证成为可能。具体来说,我们讨论用于为关键商业组件(Microsoft的本机并发运行时[3]堆栈)提供可靠保证的方法和实践。首先,通过在单个测试中应用随机分布并通过统计合理的调度程序集成此类单个测试,我们描述了如何应对遍历看似无限的交互模式。其次,我们将介绍这种测试如何帮助识别死锁和活动锁所导致的挂起。第三,我们将讨论有条不紊地将随机性注入软件系统的时间特性,以及如何将其用于确保我们发现具有合理概率期望的错误。最后,我们将对随机压力框架相对于其他工具的有效性进行简要调查。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号