{"title":"Speculative parallel graph reduction for lambda calculus","authors":"Yong-Hack Lee, Suh-Hyun Cheon","doi":"10.1109/ICICS.1997.652110","DOIUrl":null,"url":null,"abstract":"In a parallel graph reduction system, speculative evaluation can increase parallelism but waste machine resources by evaluating an expression which may eventually be discarded. When a speculative task reduces a lambda expression to WHNF (weak head normal form), substitution can lead to unbounded growth of the graph size and require a copy operation. This speculative task may be unnecessary. In that case the performance is affected by the overheads to terminate all tasks to be propagated from a speculative task and to refresh the memory cells to be allocated for the copy operation. We propose a lambda form called DSF (deferred substitution form) in which substitution is deferred until a mandatory task evaluates the substitution. In a speculative task to the DSF, since there is no substitution, it cannot grow the graph size and require a copy operation. Therefore the overhead can be decreased when a expression reduced to the DSF is eventually unnecessary. In addition we propose an evaluation model for the DSF to increase the parallelism.","PeriodicalId":71361,"journal":{"name":"信息通信技术","volume":"47 19 1","pages":"903-906 vol.2"},"PeriodicalIF":0.0000,"publicationDate":"1997-09-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"信息通信技术","FirstCategoryId":"1093","ListUrlMain":"https://doi.org/10.1109/ICICS.1997.652110","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In a parallel graph reduction system, speculative evaluation can increase parallelism but waste machine resources by evaluating an expression which may eventually be discarded. When a speculative task reduces a lambda expression to WHNF (weak head normal form), substitution can lead to unbounded growth of the graph size and require a copy operation. This speculative task may be unnecessary. In that case the performance is affected by the overheads to terminate all tasks to be propagated from a speculative task and to refresh the memory cells to be allocated for the copy operation. We propose a lambda form called DSF (deferred substitution form) in which substitution is deferred until a mandatory task evaluates the substitution. In a speculative task to the DSF, since there is no substitution, it cannot grow the graph size and require a copy operation. Therefore the overhead can be decreased when a expression reduced to the DSF is eventually unnecessary. In addition we propose an evaluation model for the DSF to increase the parallelism.