arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1708.08435cs.DCcs.DB
收藏

集群计算框架中的查询性能分析和冲突归因

Analyzing Query Performance and Attributing Blame for Contentions in a Cluster Computing Framework

Prajakta Kalmegh, Shivnath Babu, Sudeepa Roy

摘要:

目前有许多方法可以用来防止或最小化查询间交互对共享集群的影响。尽管采取了这些措施,但由于混合工作负载的并发执行而导致的性能问题仍然普遍存在,从而导致查询等待时间过长。因此,分析这些资源干扰对于回答多租户环境中“谁导致我的查询减慢”等时间敏感问题至关重要。更重要的是,判断查询速度变慢是由于其他查询引起的资源争用还是其他外部因素,可以帮助管理员缩小性能下降的可能性。调查资源争用的症状并将责任归咎于并发查询的过程是不平凡和乏味的,并且涉及通过查询交互的周期进行数小时的手动调试。在本文中,我们提出了ProtoXplore -一个Proto或第一个系统eXplore争用,帮助管理员确定是否归咎于资源瓶颈可以归因于并发查询,并使用一种方法称为资源获取时间惩罚(RATP),以量化这种归咎于有争议的来源准确。此外,ProtoXplore建立在解释理论的基础上,并使用称为ProtoGraph的多级有向无环图,逐步深入探索查询在执行期间所面临的各种级别的性能瓶颈。我们的实验评估使用ProtoXplore来分析Apache Spark上TPC-DS查询之间的交互,以展示ProtoXplore如何提供解释,帮助诊断与争用相关的问题,并更好地管理共享集群中不断变化的混合工作负载。

英文摘要:

There are many approaches is use today to either prevent or minimize the impact of inter-query interactions on a shared cluster. Despite these measures, performance issues due to concurrent executions of mixed workloads still prevail causing undue waiting times for queries. Analyzing these resource interferences is thus critical in order to answer time sensitive questions like 'who is causing my query to slowdown' in a multi-tenant environment. More importantly, dignosing whether the slowdown of a query is a result of resource contentions caused by other queries or some other external factor can help an admin narrow down the many possibilities of performance degradation. This process of investigating the symptoms of resource contentions and attributing blame to concurrent queries is non-trivial and tedious, and involves hours of manually debugging through a cycle of query interactions. In this paper, we present ProtoXplore - a Proto or first system to eXplore contentions, that helps administrators determine whether the blame for resource bottlenecks can be attributed to concurrent queries, and uses a methodology called Resource Acquire Time Penalty (RATP) to quantify this blame towards contentious sources accurately. Further, ProtoXplore builds on the theory of explanations and enables a step-wise deep exploration of various levels of performance bottlenecks faced by a query during its execution using a multi-level directed acyclic graph called ProtoGraph. Our experimental evaluation uses ProtoXplore to analyze the interactions between TPC-DS queries on Apache Spark to show how ProtoXplore provides explanations that help in diagnosing contention related issues and better managing a changing mixed workload in a shared cluster.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑