Just for the log: LFS, EXT2 and TMPFS are all comparable slow when creating files.
I created a small C program which counts from 1 to 30000 internally and opens a corresponding file with O_CREAT. This takes half the time (9 secs.). The same program takes 0,09 secs. when just opening these files. I will have a look at stat(2) next.
