EXT2IFS performance of VHD on my Kingston UFD

作者在使用NTFS格式的USB闪存盘时遇到性能问题,通过创建EXT2文件系统实现了性能提升。测试结果显示,使用EXT2格式后,文件复制速度约为2~6MB/s,比NTFS慢但仍然可接受;而在虚拟机中使用7-Zip进行基准测试时,读取速度高达220MB/min,显著提高了性能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

This is a follow-up of article "Why VHD not working on my Kingston UFD". Originally when I used NTFS on my UFD, the performance is not satisfactory. To summarize the behavior, the "Current Disk Queue Length" is almost always above or equal to 2, never reaches 0, and the write speed is very slow.

Then, I sought for other ways. I remember there is an IFS (installable file system) driver freely available, which is written by Stephan Schreiber. Then I created an EXT2 file system on the USB flash drive. See article "Creating EXT2 USB Flash Drive from Windows".

Then I field-tested the performance of the UFD. Test 1 - file copy. Test 2 - VPC.

For Test 1, the file copy operation, it seems continuous write speed is only about 2~6MB/s (sometimes slow and sometimes fast, may be due to some non-contiguous allocation of EXT2), which is much lower than when using NTFS, which is about 10MB/s. Anyway it is still acceptable.

For Test 2, I used 7-Zip benchmark functionality from inside VPC. 7-Zip benchmark usually runs fast only with ample RAM. I intentionally let 7-Zip use more memory than the amount of RAM on the VM, and put the swap file on a VHD on the USB flash drive. I observed the behavior of disk queue length and disk write performance. The disk queue length no longer seem overwhelming, with an optimistic number of reaches to 0. To my satisfactory, the speed is really much higher than before, with highest read per minute up to 220MB/min, that is 3~4MB/s. I expect that if I allow VPC to use the disk cache, the speed can be higher, but I won't do this test for now.

See Perfmon.png for the disk queue status.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值