Messages in this thread | | | Date | Mon, 16 Dec 2002 15:25:32 -0800 | From | Andrew Morton <> | Subject | Re: [Benchmark] AIM9 results |
| |
Hans Reiser wrote: > > Andrew and Chris, are these changes in performance definitely due to VM > changes (and not some difference I am not thinking of between 2.5 and > 2.4 reiserfs code)? >
aim9 is just doing
for (lots) close(creat(filename))
ie: deleting a zero-length file.
So I changed inode_setattr() to not call into the filesystem at all if i_size was not being altered. Not a very interesting optimisation, but it was simple to do.
It seems that reiserfs_truncate() has a lot of setup overhead. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |