085_optimizing_recursive_programs_in_mr

085_optimizing_recursive_programs_in_mr

ID:39713825

大小:437.88 KB

页数:6页

时间:2019-07-09

085_optimizing_recursive_programs_in_mr_第1页
085_optimizing_recursive_programs_in_mr_第2页
085_optimizing_recursive_programs_in_mr_第3页
085_optimizing_recursive_programs_in_mr_第4页
085_optimizing_recursive_programs_in_mr_第5页
资源描述:

《085_optimizing_recursive_programs_in_mr》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、InMapReduce(computenext(removetheonesgenerationofnodes)we’vealreadyseen)JoinDifferenceΔAi-1mapreducemapreduceR(0)mapreducemap(0)R(1)mapAimapreduceA(1)imapAnythingnew?i=i+1Driverdone6/17/2013BillHowe,UW1Buetal.VLDB10,VLDBJ12Shawetal.Datalog12Evaluatin

2、gRecursiveQueriesatScale(computethenext(removetheonesgenerationofanswers)we’vealreadyseen)JoinDifferenceΔAi-1mapreducemapreduceR(0)mapreducemap(0)R(1)mapAimapreduce(a)(b)A(1)imap(a)Risloopinvariant,butgetsloadedandshuffledoneachiteration(b)Agrowsslow

3、lyandmonotonically,butisloadedandshuffledoneachiiteration.6/17/2013BillHowe,UW2Idea:CacheLoop-InvariantDataIterationi=0:LoadadistributedcacheIterationi>0:JoinDifferenceΔAi-1mapreducemapreduceR(0)mapR(0)reducemapA(0)R(1)mapR(1)iA(0)mapreduceA(1)(1)iAm

4、ap6/17/2013BillHowe,UW3BTC2010,680GBCache-enabledjoinoutercachetime(ms)700nocache600500(s)400time30020010000246810iteration#(3jobsperiteration)6/17/2013BillHowe,UW4EffectofvariousoptimizationsforarecursivegraphqueryonBTC2010(query:transitivereachabil

5、ityfrom7nodes)35000nooptimizations(e):(a)w/ofilecombiner30000(c):(a)w/oprojectopt.25000(b):(a)w/ofastercache)s(d):(a)w/odiffcache(20000e(a)alloptimizationsm15000rawHadoop1000050000050100150200250iteraon#Takeaways:•10ximprovementovernooptimizations.•A

6、lloptimizationsareuseful•We’reapproachingtherawoverheadofHadoop(bottomgrayline)Newtuplesdiscoveredbyiterationnumber100,000,000frontiertuplespreviouslydiscoveredtuplesremoved10,000,0001,000,000100,00010,0001,000#oftuplesdiscovered100101020406080100120

7、140160180iteration#6/17/2013BillHowe,UW6

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
相关文章
更多
相关标签