arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.07818cs.DC
收藏

容器资源分配与不同云服务器上数据密集型应用性能的关系

Container Resource Allocation versus Performance of Data-intensive Applications on Different Cloud Servers

Qing Wang, Snigdhaswin Kar, Prabodh Mishra, Caleb Linduff, Ryan Izard, Khayam Anjam, Geddings Barrineau, Junaid Zulfiqar, Kuang-Ching Wang

AI总结:

本研究通过实验比较Intel和AMD服务器上容器化数据密集型应用的性能,发现核心分配需避免缓存争用,多余内存无益,多容器引发争用,分布式缓存和高速总线利于多容器部署。

摘要:

近年来,数据密集型应用越来越多地部署在云系统上。这类应用利用大量的计算、内存和I/O资源来处理大规模数据。优化此类应用的性能和成本效益是一个非平凡的问题。随着容器的日益普及,这个问题变得更加具有挑战性;容器因其较低的操作开销和更快的启动速度而广受欢迎,但代价是为托管应用提供的资源保障较弱。本文在运行Docker容器的云服务器上,研究了两个具有截然不同性能目标和资源需求的容器化数据密集型应用,这些服务器采用Intel Xeon E5和AMD EPYC Rome多核处理器,并配置了多种CPU、内存和I/O设置。实验的主要发现包括:1)为计算密集型应用分配多个核心可以提高性能,但前提是这些核心不争用相同的缓存,且最佳核心数量取决于具体工作负载;2)为内存密集型应用分配比其确定性数据工作负载所需更多的内存并不能进一步提高性能;然而,3)在同一服务器上运行多个此类内存密集型容器可能导致缓存和内存总线争用,从而造成显著且波动的性能下降。在Intel和AMD服务器上的对比观察提供了关于分布式小芯片数量更多且互联总线速度更高(AMD)与核心和缓存集中集成数量更多但总线速度较低(Intel)之间权衡的见解。对于所研究的两种应用类型,更分布式的缓存和更快的数据总线有利于部署更多数量的容器。

英文摘要:

In recent years, data-intensive applications have been increasingly deployed on cloud systems. Such applications utilize significant compute, memory, and I/O resources to process large volumes of data. Optimizing the performance and cost-efficiency for such applications is a non-trivial problem. The problem becomes even more challenging with the increasing use of containers, which are popular due to their lower operational overheads and faster boot speed at the cost of weaker resource assurances for the hosted applications. In this paper, two containerized data-intensive applications with very different performance objectives and resource needs were studied on cloud servers with Docker containers running on Intel Xeon E5 and AMD EPYC Rome multi-core processors with a range of CPU, memory, and I/O configurations. Primary findings from our experiments include: 1) Allocating multiple cores to a compute-intensive application can improve performance, but only if the cores do not contend for the same caches, and the optimal core counts depend on the specific workload; 2) allocating more memory to a memory-intensive application than its deterministic data workload does not further improve performance; however, 3) having multiple such memory-intensive containers on the same server can lead to cache and memory bus contention leading to significant and volatile performance degradation. The comparative observations on Intel and AMD servers provided insights into trade-offs between larger numbers of distributed chiplets interconnected with higher speed buses (AMD) and larger numbers of centrally integrated cores and caches with lesser speed buses (Intel). For the two types of applications studied, the more distributed caches and faster data buses have benefited the deployment of larger numbers of containers.

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

↑