Performance Comparison of GPUs with a Genetic Algorithm based on CUDA

Database Pub Date : 2014-12-19 DOI:10.14257/ASTL.2014.65.09
Jae-Hyun Seo, Eun-Sol Ko, Yong-Hyuk Kim
{"title":"Performance Comparison of GPUs with a Genetic Algorithm based on CUDA","authors":"Jae-Hyun Seo, Eun-Sol Ko, Yong-Hyuk Kim","doi":"10.14257/ASTL.2014.65.09","DOIUrl":null,"url":null,"abstract":"Generally genetic algorithm (GA) has disadvantage of taking a lot of computation time, and it is worth reducing the execution time while keeping good quality and result. Comparative experiments are conducted with one CPU and four GPUs using CUDA (Compute Unified Device Architecture) and generational GA. We implement the fitness functions of the GA which are suitable for the each environment of the CPU and the GPUs for performance comparison. When experimenting with the CPU, we handle the individual one by one. On the other hand, when experimenting with the GPU, we handle all individuals concurrently. And then we compare and analyze each result of our GA and each time required to process fitness function. There was not a huge difference between the results of the CPU experiment and the GPU ones. In the case of the analysis of computation time, the memory bandwidth of the GPU affects the computation time of fitness evaluation. The numbers of genes that can be processed at the same time are increased by the growth of the clock rate and the number of cores of GPU.","PeriodicalId":81074,"journal":{"name":"Database","volume":"1 1","pages":"36-40"},"PeriodicalIF":0.0000,"publicationDate":"2014-12-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Database","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.14257/ASTL.2014.65.09","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Generally genetic algorithm (GA) has disadvantage of taking a lot of computation time, and it is worth reducing the execution time while keeping good quality and result. Comparative experiments are conducted with one CPU and four GPUs using CUDA (Compute Unified Device Architecture) and generational GA. We implement the fitness functions of the GA which are suitable for the each environment of the CPU and the GPUs for performance comparison. When experimenting with the CPU, we handle the individual one by one. On the other hand, when experimenting with the GPU, we handle all individuals concurrently. And then we compare and analyze each result of our GA and each time required to process fitness function. There was not a huge difference between the results of the CPU experiment and the GPU ones. In the case of the analysis of computation time, the memory bandwidth of the GPU affects the computation time of fitness evaluation. The numbers of genes that can be processed at the same time are increased by the growth of the clock rate and the number of cores of GPU.
基于CUDA遗传算法的gpu性能比较
遗传算法存在计算量大的缺点,值得在保证质量和结果的前提下减少执行时间。采用CUDA(计算统一设备架构)和分代遗传算法在1个CPU和4个gpu上进行了对比实验。我们实现了适合CPU和gpu各环境的遗传算法适应度函数,以便进行性能比较。在对CPU进行实验时,我们逐个处理单个。另一方面,当使用GPU进行实验时,我们同时处理所有个体。然后,我们比较和分析我们的遗传算法的每个结果和每次处理适应度函数所需的时间。CPU实验和GPU实验的结果并没有太大的差别。在计算时间分析的情况下,GPU的内存带宽会影响适应度评估的计算时间。可以同时处理的基因数量随着时钟速率和GPU核数的增加而增加。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书