#109 large file creation/deletion very slow

open
nobody
Ext2fsd (105)
5
2011-07-12
2011-07-12
Sergey Kvachonok
No

When creating/deleting large (>100 Mb) files on ext2 partition ext2fsd consumes a lot of CPU in the kernel mode. The time taken seems to be proportional to the file size and is in the seconds range for ~700 Mb files on core2 3GHz. Copying files on ext2 volume takes approximately the same amount of time initially, maxing out CPU in the kernel for about ten seconds, even before any data writing starts. Then it proceeds copying with the normal hard drive speed. I believe there is a huge performance regression in the block walking/allocating code....

Discussion