On Fri, 2005-02-11 at 15:58, Andrew Morton wrote:
> Badari Pulavarty <[EMAIL PROTECTED]> wrote:
> >
> > Due to lack of interesting suggestions to solve
> > mpage_writepages() -> ext3_writeback_writepage() problem,
> > I fixed it in the dumbest possible way.
>
> I've actually forgotten what the problem was. It was 100 patches ago :(
>
> > Let me know, what you think.
>
>
> If it works, let's get some benchmark numbers so we can decide whether it
> justifies more development?
Okay, here is a quick data I collected. More to follow..
Test: writes 10,000 blocks of 64k and does fdatasync().
Thanks,
Badari
BEFORE: (without writepages support)
elm3b29:/mnt # touch file
elm3b29:/mnt # time /tmp/writer file
real 0m23.746s user 0m0.000s sys 0m5.020s (allocation)
elm3b29:/mnt # time /tmp/writer file
real 0m20.950s user 0m0.001s sys 0m2.278s (no alloc)
elm3b29:/mnt # time /tmp/writer file
real 0m21.030s user 0m0.001s sys 0m2.254s (no alloc)
elm3b29:/mnt # time /tmp/writer file
real 0m20.577s user 0m0.001s sys 0m2.184s (no alloc)
====
AFTER: (with writepages support)
elm3b29:/mnt # touch file
elm3b29:/mnt # time /tmp/writer file
real 0m23.230s user 0m0.001s sys 0m4.132s (allocation)
elm3b29:/mnt # time /tmp/writer file
real 0m20.175s user 0m0.004s sys 0m1.756s (no alloc)
elm3b29:/mnt # time /tmp/writer file
real 0m20.368s user 0m0.001s sys 0m1.696s (no alloc)
elm3b29:/mnt # time /tmp/writer file
real 0m20.626s user 0m0.002s sys 0m1.763s (no alloc)
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html