Accelerating Key Bioinformatics Tasks 100-fold by Improving Memory Access

Accelerating Key Bioinformatics Tasks 100-fold by Improving Memory Access
复制标题

通过改进内存访问将关键生物信息学任务加速 100 倍

DOI:
10.1145/3437359.3465562
复制
发表时间:
2021
期刊:
Practice and Experience in Advanced Research Computing
影响因子:
--
通讯作者:
Sfiligoi, I.
Sfiligoi, I.
中科院分区:
--
文献类型:
--
作者:
Sfiligoi, I.

文献摘要

参考文献

相似文献

大多数实验科学现在都依赖于计算,生物科学也不例外。随着数据集越来越大,计算成本也越来越高,这使得科学家使用的代码的适当优化变得越来越重要。近年来开发的许多代码都基于基于Python的NumPy,因为它易于使用和良好的性能特性。然而,NumPy的可组合性通常不能很好地与现代CPU的多层性质相匹配,使得任何非平凡的多步算法都受到外部存储器访问速度的限制,这比CPU的计算能力慢数百倍。为了充分利用CPU的计算能力,必须保持工作内存占用足够小,以适应CPU缓存,这需要将问题分成更小的部分,并尽可能多地融合在一起。在本文中,我们基于这些原则对scikit-bio库中的两个重要功能进行了更改,即主坐标分析和Mantel测试,这些广泛使用的通用工具的速度提高了100倍以上。
Most experimental sciences now rely on computing, and biological sciences are no exception. As datasets get bigger, so do the computing costs, making proper optimization of the codes used by scientists increasingly important. Many of the codes developed in recent years are based on the Python-based NumPy, due to its ease of use and good performance characteristics. The composable nature of NumPy, however, does not generally play well with the multi-tier nature of modern CPUs, making any non-trivial multi-step algorithm limited by the external memory access speeds, which are hundreds of times slower than the CPU's compute capabilities. In order to fully utilize the CPU compute capabilities, one must keep the working memory footprint small enough to fit in the CPU caches, which requires splitting the problem into smaller portions and fusing together as many steps as possible. In this paper, we present changes based on these principles to two important functions in the scikit-bio library, principal coordinates analysis and the Mantel test, that resulted in over 100x speed improvement in these widely used, general-purpose tools.
为 GPU 移植和优化 UniFrac
DOI: --
发表时间: 2020
期刊: arXiv.org
影响因子: --
作者:
I. Sfiligoi;Daniel McDonald;R. Knight
通讯作者: R. Knight
DOI: 10.1038/nature24644
发表时间: 2017-11-23
期刊: Nature
影响因子: 64.8
作者:
Gaudelli NM;Komor AC;Rees HA;Packer MS;Badran AH;Bryson DI;Liu DR
通讯作者: Liu DR