Hi all,
  While testing out filtering scripts for Postfix I discovered that file
deletion, at least in this particular circumstance, is quite slow with
JFS on kernel 2.4.25.  The same situation yields much faster results
with kernel 2.6.3 on my desktop box (also running JFS).

Anyway, the problem lies with:
#!/bin/sh

for i in `seq 1 1000`
do
  echo hi > foo.$i
  rm foo.$i
done

This takes about 13-14 seconds consistently on 2.4.25.  On 2.6.3 it's
around 1 second.  2.4 is on a hardware RAID1 with two 10K SCSI drives
and 2.6.3 is a single ATA100 IDE drive.

If I create a loopback ext2 filesystem on the 2.4 box and run the test,
it takes ~1.2 seconds.

I'm just wondering if this is a known issue, and if it can be fixed in
2.4.  If not, I'll have to think about converting to 2.6; I needed a
good reason anyway.. :)

Thanks,
Chris
_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to