An Efficient Parallel Sorting Compatible with the Standard qsort

Duhu Man, Yasuaki Ito, K. Nakano
{"title":"An Efficient Parallel Sorting Compatible with the Standard qsort","authors":"Duhu Man, Yasuaki Ito, K. Nakano","doi":"10.1142/S0129054111008568","DOIUrl":null,"url":null,"abstract":"The main contribution of this paper is to present an efficient parallel sorting \"psort\" compatible with the standard qsort. Our parallel sorting \"psort\" is implemented such that its interface is compatible with \"qsort\" in C Standard Library. Therefore, any application program that uses standard \"qsort\" can be accelerated by simply replacing \"qsort\" call by our \"psort\" . Also, \"psort\" uses standard \"qsort\" as a subroutine for local sequential sorting. So, if the performance of \"qsort\" is improved by anyone in the community, then that of our \"psort\" is also automatically improved. To evaluate the performance of our \"psort\", we have implemented our parallel sorting in a Linux server with two Intel quad-core processors (i. e. eight processor cores). The experimental results show that our \"psort\" is approximately 6 times faster than standard \"qsort\" using 8 processors. Since the speed up factor cannot be more than 8 if we use 8 cores, our algorithm is close to optimal. Also, as far as we know, no previously published parallel implementations achieve a speed up factor less than 4 using 8 cores.","PeriodicalId":312929,"journal":{"name":"2009 International Conference on Parallel and Distributed Computing, Applications and Technologies","volume":"158 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-12-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 International Conference on Parallel and Distributed Computing, Applications and Technologies","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1142/S0129054111008568","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

Abstract

The main contribution of this paper is to present an efficient parallel sorting "psort" compatible with the standard qsort. Our parallel sorting "psort" is implemented such that its interface is compatible with "qsort" in C Standard Library. Therefore, any application program that uses standard "qsort" can be accelerated by simply replacing "qsort" call by our "psort" . Also, "psort" uses standard "qsort" as a subroutine for local sequential sorting. So, if the performance of "qsort" is improved by anyone in the community, then that of our "psort" is also automatically improved. To evaluate the performance of our "psort", we have implemented our parallel sorting in a Linux server with two Intel quad-core processors (i. e. eight processor cores). The experimental results show that our "psort" is approximately 6 times faster than standard "qsort" using 8 processors. Since the speed up factor cannot be more than 8 if we use 8 cores, our algorithm is close to optimal. Also, as far as we know, no previously published parallel implementations achieve a speed up factor less than 4 using 8 cores.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
与标准qsort兼容的高效并行排序
本文的主要贡献是提出了一种与标准qsort兼容的高效并行排序“psort”。我们的并行排序"psort"的实现使得它的接口与C标准库中的"qsort"兼容。因此,任何使用标准“qsort”的应用程序都可以通过简单地将“qsort”调用替换为我们的“psort”来加速。此外,“psort”使用标准的“qsort”作为本地顺序排序的子例程。因此,如果社区中的任何人提高了“qsort”的性能,那么我们的“psort”的性能也会自动提高。为了评估“psort”的性能,我们在一个带有两个Intel四核处理器(即8个处理器内核)的Linux服务器上实现了并行排序。实验结果表明,我们的“psort”比使用8个处理器的标准“qsort”快大约6倍。因为如果我们使用8个内核,加速因子不能超过8,所以我们的算法接近最优。此外,据我们所知,之前发布的并行实现在使用8核的情况下没有达到低于4的加速因子。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A Novel Metadata Management Architecture Based on Service Separation in Cluster File System Key Elements Tracing Method for Parallel XML Parsing in Multi-Core System Theoretical and Empirical Analysis of a GPU Based Parallel Bayesian Optimization Algorithm A Classification-Based Approach to Fault-Tolerance Support in Parallel Programs Maotai 2.0: Data Race Prevention in View-Oriented Parallel Programming
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1