Re: [patch/rft] jbd2: tag journal writes as metadata I/O

From: tytso
Date: Tue Apr 06 2010 - 14:45:22 EST

> CFQ currently seems to be preempting any thread doing IO if a request has
> been marked as metadata. I think this is going to be bad for any other IO
> going on.
> I wrote a small fio script which is doing buffered writes with bs=32K and I
> am doing fsync on file after every 20 IOs (fsync=20). I am assuming that this
> something close to writting a small file and then doing fsync on that.
> With that fio script running I launched firefox and measured the
> time it takes..... it looks like that firefox launching times have
> seems to just almost doubled.

Vivek, thanks for pointing this out. Sounds like we need to think
carefully about whether the potential unfairness that this patch might
impose on other workloads sharing the file system dominates the
improvements that Jeff found when there's only a single workload
running on the file system.

I'm tentatively leaning towards pulling this patch so we can do more
testing / benchmarking. Jeff, any thoughts or comments?

- Ted
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at