A Hybrid Task Graph Scheduler for High Performance Image Processing Workflows.

IF 1.6 4区 计算机科学 Q3 COMPUTER SCIENCE, INFORMATION SYSTEMS Journal of Signal Processing Systems for Signal Image and Video Technology Pub Date : 2017-12-01 Epub Date: 2017-07-19 DOI:10.1007/s11265-017-1262-6
Timothy Blattner, Walid Keyrouz, Shuvra S Bhattacharyya, Milton Halem, Mary Brady
{"title":"A Hybrid Task Graph Scheduler for High Performance Image Processing Workflows.","authors":"Timothy Blattner,&nbsp;Walid Keyrouz,&nbsp;Shuvra S Bhattacharyya,&nbsp;Milton Halem,&nbsp;Mary Brady","doi":"10.1007/s11265-017-1262-6","DOIUrl":null,"url":null,"abstract":"<p><p>Designing applications for scalability is key to improving their performance in hybrid and cluster computing. Scheduling code to utilize parallelism is difficult, particularly when dealing with data dependencies, memory management, data motion, and processor occupancy. The Hybrid Task Graph Scheduler (HTGS) improves programmer productivity when implementing hybrid workflows for multi-core and multi-GPU systems. The Hybrid Task Graph Scheduler (HTGS) is an abstract execution model, framework, and API that increases programmer productivity when implementing hybrid workflows for such systems. HTGS manages dependencies between tasks, represents CPU and GPU memories independently, overlaps computations with disk I/O and memory transfers, keeps multiple GPUs occupied, and uses all available compute resources. Through these abstractions, data motion and memory are explicit; this makes data locality decisions more accessible. To demonstrate the HTGS application program interface (API), we present implementations of two example algorithms: (1) a matrix multiplication that shows how easily task graphs can be used; and (2) a hybrid implementation of microscopy image stitching that reduces code size by ≈ 43% compared to a manually coded hybrid workflow implementation and showcases the minimal overhead of task graphs in HTGS. Both of the HTGS-based implementations show good performance. In image stitching the HTGS implementation achieves similar performance to the hybrid workflow implementation. Matrix multiplication with HTGS achieves 1.3× and 1.8× speedup over the multi-threaded OpenBLAS library for 16k × 16k and 32k × 32k size matrices, respectively.</p>","PeriodicalId":50050,"journal":{"name":"Journal of Signal Processing Systems for Signal Image and Video Technology","volume":null,"pages":null},"PeriodicalIF":1.6000,"publicationDate":"2017-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1007/s11265-017-1262-6","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Signal Processing Systems for Signal Image and Video Technology","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s11265-017-1262-6","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2017/7/19 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 2

Abstract

Designing applications for scalability is key to improving their performance in hybrid and cluster computing. Scheduling code to utilize parallelism is difficult, particularly when dealing with data dependencies, memory management, data motion, and processor occupancy. The Hybrid Task Graph Scheduler (HTGS) improves programmer productivity when implementing hybrid workflows for multi-core and multi-GPU systems. The Hybrid Task Graph Scheduler (HTGS) is an abstract execution model, framework, and API that increases programmer productivity when implementing hybrid workflows for such systems. HTGS manages dependencies between tasks, represents CPU and GPU memories independently, overlaps computations with disk I/O and memory transfers, keeps multiple GPUs occupied, and uses all available compute resources. Through these abstractions, data motion and memory are explicit; this makes data locality decisions more accessible. To demonstrate the HTGS application program interface (API), we present implementations of two example algorithms: (1) a matrix multiplication that shows how easily task graphs can be used; and (2) a hybrid implementation of microscopy image stitching that reduces code size by ≈ 43% compared to a manually coded hybrid workflow implementation and showcases the minimal overhead of task graphs in HTGS. Both of the HTGS-based implementations show good performance. In image stitching the HTGS implementation achieves similar performance to the hybrid workflow implementation. Matrix multiplication with HTGS achieves 1.3× and 1.8× speedup over the multi-threaded OpenBLAS library for 16k × 16k and 32k × 32k size matrices, respectively.

Abstract Image

Abstract Image

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于高性能图像处理工作流的混合任务图调度器。
设计具有可伸缩性的应用程序是提高混合计算和集群计算性能的关键。调度代码以利用并行性是困难的,特别是在处理数据依赖性、内存管理、数据移动和处理器占用时。混合任务图调度器(HTGS)在为多核和多gpu系统实现混合工作流时提高了程序员的生产力。混合任务图调度器(HTGS)是一种抽象的执行模型、框架和API,可以在为此类系统实现混合工作流时提高程序员的工作效率。HTGS管理任务之间的依赖关系,独立表示CPU和GPU内存,与磁盘I/O和内存传输重叠计算,保持多个GPU占用,并使用所有可用的计算资源。通过这些抽象,数据的运动和存储是显式的;这使得数据位置决策更容易获得。为了演示HTGS应用程序接口(API),我们给出了两个示例算法的实现:(1)矩阵乘法,它显示了任务图的使用是多么容易;(2)显微镜图像拼接的混合实现,与手动编码的混合工作流实现相比,减少了约43%的代码大小,并展示了HTGS中任务图的最小开销。这两种基于html的实现都显示出良好的性能。在图像拼接方面,HTGS实现实现了与混合工作流实现相似的性能。对于16k × 16k和32k × 32k大小的矩阵,HTGS的矩阵乘法比多线程OpenBLAS库分别实现了1.3倍和1.8倍的加速。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
4.00
自引率
0.00%
发文量
106
审稿时长
4-8 weeks
期刊介绍: The Journal of Signal Processing Systems for Signal, Image, and Video Technology publishes research papers on the design and implementation of signal processing systems, with or without VLSI circuits. The journal is published in twelve issues and is distributed to engineers, researchers, and educators in the general field of signal processing systems.
期刊最新文献
Prediction of Bus Passenger Traffic using Gaussian Process Regression. Signal Processing Techniques for 6G. LSTM Network Integrated with Particle Filter for Predicting the Bus Passenger Traffic. An Analysis of Image Features Extracted by CNNs to Design Classification Models for COVID-19 and Non-COVID-19. Fine-tuning-based Transfer Learning for Characterization of Adeno-Associated Virus.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1