Is there any reason reiser4 took this long on a large file delete process.
Hello,
Is there any reason reiser4 took this long on a large file delete process
- File size 4,237,037,568 openSUSE-DVD-Build0957-i586.iso
# time rm /media/disk/iso/openSUSE-DVD-Build0957-i586.iso
real 12m4.027s user 0m0.000s sys 1m10.132s
# df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb 1.8T 1.1T 662G 63% /media/disk
- The disk is in externally attached , uses usb
- gkrellm showed disk was busy at ~6mb a sec during file deletion
- The volume has a mix of 353,281 directories and files in total
I use reiser4 enabled kernel details at [2]
[2]
https://build.opensuse.org/package/binaries?package=kernel-reiser4&project=home%3Adoiggl&repository=openSUSE_11.3
https://build.opensuse.org/package/show?package=kernel-reiser4&project=home%3Adoiggl
Thanks Glenn
Quoted 10 lines · On Sat, 05 Feb 2011 04:14:41 +0100 <[email protected]> wrote:
Hello,
Is there any reason reiser4 took this long on a large file delete process- File size 4,237,037,568 openSUSE-DVD-Build0957-i586.iso
# time rm /media/disk/iso/openSUSE-DVD-Build0957-i586.isoreal 12m4.027s user 0m0.000s sys 1m10.132s
You use cryptcompress, right? A compressed file is AFAIK split into many small fragments, which means that lots of records in the tree have to be changed while deleting the file.
Signature · 5 lines
Jonáš Vidra, [email protected] -- To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Jonáš Vidra
Quoted 7 lines · On Sat, 05 Feb 2011 04:14:41 +0100 <[email protected]> wrote:
Hello,
Is there any reason reiser4 took this long on a large file delete process- File size 4,237,037,568 openSUSE-DVD-Build0957-i586.iso
# time rm /media/disk/iso/openSUSE-DVD-Build0957-i586.iso
Quoted 8 lines
Quoted 3 lines
real 12m4.027s
user 0m0.000s
sys 1m10.132sYou use cryptcompress, right? A compressed file is AFAIK split into many small fragments, which means that lots of records in the tree have to be changed while deleting the file.
Unfortunately I don't know any good heuristic to detect iso-files by content. So partition formatted with "ccreg40" is not the best solution for media-files..
Edward.
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html