内存对计算机系统的性能具有重要影响,内存网格能够共享跨域的开放网络环境中的内存资源,以磁盘缓存的形式提高系统性能。为实现缓存对应用的透明性,提出了动态修改操作系统内核的二进制代码,实现文件系统读写流程的截获和重定向;并提出了基于内核线程的异步缓存写入方法,提高写缓存的效率。通过原型系统及实验,说明上述方法既不需要修改应用程序,也不需要修改操作系统源代码,并且能充分利用共享的内存资源,提高系统的I/O性能。
The performance of computer system is impacted by memory.RAM grid can share the memory resources distributed in cross-domain open network environment,and improve the system performance by disk cache.In order to be transparent to the applications,a method of dynamical modifying the binary code of operating system kernel is proposed,which can intercept and redirect the file system read/write routine.A kernel thread-based asynchronous cache writing method is also proposed to improve the effectiveness of cache writing.The prototype system and experiment shows that these methods can take full advantage of the shared memory resources,to improve the system I/O performance,without modifying the source code of the application and the operating system.