arrow
返回

Optimizing image spatial filtering on single CPU core

delete2016-12-23
delete6
PRE
AI
A
Ahmed Zekri *
DOI:10.1007/s11042-016-4266-5delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Nowadays, computing becomes a service on cloud computing resources. Users reserve virtual machines to execute their applications with minimum number of processing cores to save money. Optimizing user applications on the level of single core of a physical machine is highly desirable to users to reduce cost, as well as to cloud providers to reduce power consumption. In this paper, we showed how to exploit all the processing resources available in a single CPU physical core to optimize the performance of the 2D spatial filtering operation, a basic kernel in important image and multimedia applications such as image enhancement, edge detection, image segmentation, and image analysis. We proposed a novel computational procedure to restructure the conventional image filtering operation. Then, we demonstrated the merits of combining hand-optimized source-code restructuring, auto-optimized compiler techniques including vectorization, and hand-optimized threading to squeeze the performance of a single CPU core. Our intensive performance evaluations, using Sobel filters, on a variety of image sizes using the Linux Perf tool on a single core of the quad-core Intel Core i7 processor showed that our source-code restructurings with compiler auto-vectorization, using Intel AVX vector instructions, is 1.3X better than the non-restructured auto-vectorized version of the CImg library for computing the image gradient. Moreover, using OpenMP library directives we studied different image partitioning strategies to better exploit the two hardware threads inside a CPU core which boosted performance to 2.6X. Compared with the conventional CImg implementation, we obtained an average enhancement of 5.0X for image sizes ranging from 0.5 MPixel to 8 MPixel. However, comparing our best-optimized code to the conventional non-optimized serial code, without threading, resulted in a significant enhancement of 23X. The overall results showed how significant performance in important image processing applications can be obtained by applying source-code restructurings before employing any automatic compiler optimizations to exploit ILP, DLP and TLP parallelism degrees inside a single core of a multi-core CPU.
Keyword:
Source-code restructuring
Sobel gradient filter
Vectorization
OpenMP threading
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Porting and optimization of solidification application for CPU-MIC hybrid platforms
err2016-12-23
err7
PREAI
errSzustak, Lukasz; Halbiniak, Kamil; Kuczynski, Lukasz; Wrobel, Joanna; Kulawik, Adam
err分享
err收藏
A Runtime and Non-Intrusive Approach to Optimize EDP by Tuning Threads and CPU Frequency for OpenMP Applications
err2021-07-01
err22
PREAI
errSchwarzrock, Janaina; de Oliveira, Charles C.; Ritt, Marcus; Lorenzon, Arthur F.; Beck, Antonio Carlos S.
err分享
err收藏
Multispectral Image Denoising With Optimized Vector Bilateral Filter
err2014-01-01
err36
PREAI
errPeng, Honghong; Rao, Raghuveer; Dianat, Sohail A.
err分享
err收藏
Aurora: Seamless Optimization of OpenMP ApplicationsAurora: OpenMP应用程序的无缝优化
err2019-05-01
err34
errOAAI
errLorenzon, Arthur Francisco; de Oliveira, Charles Cardoso; Souza, Jeckson Dellagostin; Schneider Beck, Antonio Carlos
err分享
err收藏
Single image rain and snow removal via guided L0 smoothing filter
err2015-06-11
err76
PREAI
errDing, Xinghao; Chen, Liqin; Zheng, Xianhui; Huang, Yue; Zeng, Delu
err分享
err收藏
Efficient Volume Reconstruction for Parallel-Beam Computed Laminography by Filtered Backprojection on Multi-Core Clusters
err2013-12-01
err49
PREAI
errMyagotin, Anton; Voropaev, Alexey; Helfen, Lukas; Haenschke, Daniel; Baumbach, Tilo
err分享
err收藏

期刊

Multimedia Tools and Applications 封面图
Multimedia Tools and Applications
IF:
3
论文数:
2.0W
被引数:
3.9W

机构

B
beirut arab university
学者数:
43
论文数: 24
被引数: 390
引用论文

引用论文

Image Processing on Multicore x86 Architectures
err2010-03-01
err14
PREAI
errKim, Daehyun; Lee, Victor W.; Chen, Yen-Kuang
err分享
err收藏
AUTOMATIC PROGRAM PARALLELIZATION
err1993-01-01
err166
PREAI
errBANERJEE, U; EIGENMANN, R; NICOLAU, A; PADUA, DA
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
COMPILER TRANSFORMATIONS FOR HIGH-PERFORMANCE COMPUTING
err1994-12-01
err461
errOAAI
errBACON, DF; GRAHAM, SL; SHARP, OJ
err分享
err收藏
没有更多内容