Originally posted by: nagger
Hi,
First, your compiler is historic. Can you update to v9?
Second, are you compiling with -o2 or -o3 optimiser?
Third, what file system are you using on SUSE 10?
Is it a journaling file system like JFS2? If not then all bets off = SUSE may be faster but its also unsafe for Enterprise work as a panic would require a ckfs that could take many hours on large disks.
Fourth, where have you placed the JFS2 log? Best place it on a different disk than the one you are deleting files from for performance because the JFS2 log if probably the bottleneck.
Fifth, You say AIX 5.3 is that TL 08 or some ancient release? Use oslevel -s to determine this.
Sixth, did you try the code without the unlink() to make sure its the unlink that is the issue.
Hope you find something of use above, thanks Nigel
#AIX-Forum