科技报告详细信息
Disk I/O in Linux
Staelin, Carl
HP Development Company
关键词: disk performance;    RAID;    Linux;    I/O performance;   
RP-ID  :  HPL-2002-352
学科分类:计算机科学(综合)
美国|英语
来源: HP Labs
PDF
【 摘 要 】

The paper contains preliminary results from an investigation comparing Linux and WindowsXP disk I/O using kernel-based software RAID on identical hardware. WindowsXP performance is shown to be substantially superior to Linux performance, for reasons not currently understood. One known problem with the Linux RAID driver is that in Linux 2.4 file I/O is synchronous and file operations are serialized by a kernel file lock. Since the RAID driver is exposed to user-level applications via a file interface, this means that all accesses to the RAID are serialized. There are a number of possibilities to improve disk I/O performance: [1] Develop a user-level RAID layer built on aio and extend applications to allow asynchronous I/O. [2] Attempt to debug the Linux software RAID device so its synchronous performance is comparable to WindowsXP. We developed a simple user- level RAID layer built on aio, and demonstrate its improved performance over the Linux software RAID implementation, but its performance is still lower than that of the WindowsXP software RAID implementation. The alternative is to investigate various options for extending or improving the Linux kernel, which is likely to be a riskier and more difficult task.

【 预 览 】
附件列表
Files Size Format View
RO201804100000056LZ 138KB PDF download
  文献评价指标  
  下载次数:10次 浏览次数:24次