摘要
核外计算中,由于I/O操作速度比较慢,所以对文件的访问时间占的比例较大。如果使文件操作和计算重叠则可以大幅度地提高运行效率。软件数据预取是一种有效的隐藏存储延迟的技术,通过预取使数据在实际使用之前从硬盘读到缓存中,提高了缓存(cache)的命中率,降低了读取数据的时间。通过设置两个缓冲区来轮流存放本次和下一次读入的数据块,实现访存完全命中cache的效果,使Cholesky分解并行程序执行核外计算的效率得到了大幅度的提高。同时,I/O操作的时间与CPU的执行时间的比例也是影响效率的主要因素。
The time of accessing files is larger proportion because the I/O operation is slow in out-of-core computation. If the file operation and the calculation is overlap, the operational efficiency can be improved greatly. Data prefetching of software is an effective technique to hide memory latency, because it can improve the cache hit rate and reduce the time of reading data that make the data read from the hard drive to the cache before using the date actually.We set the two buffers to store the time and the next block of reading data in turn, to achieve the effect of accessing memory hitting cache completely and the execution effi- ciency of the parallel program of Cholesky decomposition has been improved greatly in out-of-core computation. At the same time, the proportion between I/O operation time and CPU execution time is also an important factors effecting efficiency.
出处
《微型机与应用》
2011年第4期14-17,共4页
Microcomputer & Its Applications
关键词
预取
核外
并行
集群
CHOLESKY分解
prefetching
out-of-core
parallel
clusters
Cholesky decomposition