对错误和夜间颠簸的事情进行基准测试
Benchmarking Blunders and Things That Go Bump in the Night
摘要:
基准测试;我指的是任何由受控工作负载驱动的计算机系统,它是性能测试和模拟的终极目标。除了是一种制度化的作弊形式外,它还提供了无数的机会,在应用工作负载和解释结果测量的方式中出现系统性错误。正确的测试,错误的结论是一个普遍存在的错误,因为测试工程师倾向于将数据视为神圣。这种崇敬不仅是放错了地方,而且当应用程序最终上线时,它肯定会导致生产地狱。我演示了如何通过两个真实的战争故事来避免这种错误。(a)如何通过心理热线解决基准测试的缺陷,以及(b)基准测试如何在过多的Java果汁下变得平坦。在每种情况下,我都提出了简单的性能模型,并展示了如何应用它们来正确评估基准测试数据。
英文摘要:
Benchmarking; by which I mean any computer system that is driven by a controlled workload, is the ultimate in performance testing and simulation. Aside from being a form of institutionalized cheating, it also offer countless opportunities for systematic mistakes in the way the workloads are applied and the resulting measurements interpreted. Right test, wrong conclusion is a ubiquitous mistake that happens because test engineers tend to treat data as divine. Such reverence is not only misplaced, it's also a sure ticket to production hell when the application finally goes live. I demonstrate how such mistakes can be avoided by means of two war stories that are real WOPRs. (a) How to resolve benchmark flaws over the psychic hotline and (b) How benchmarks can go flat with too much Java juice. In each case I present simple performance models and show how they can be applied to correctly assess benchmark data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。