On Tue, Jun 26, 2012 at 11:05:40AM -0700, Fredrick wrote: > > I had run perf stat on ext4 functions between two runs of our program > writing data to a file for the first time and writing data to the file > for the second time(where the extents are initialized). >From your mballoc differences, it sounds like you were comparing fallocate with not using fallocate at all; is that right? The comparison you need to do is using normal fallocate versus fallocate with the no-hide-stale feature enabled. It's obvious that allocating blocks as you need will always be more expensive than using fallocate. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html