Excerpts from Bron Gondwana's message of 2010-11-30 04:35:10 -0500: > On Sat, Nov 20, 2010 at 08:58:10AM +1100, Bron Gondwana wrote: > > On Fri, Nov 19, 2010 at 09:10:08AM -0500, Chris Mason wrote: > > > Excerpts from Bron Gondwana's message of 2010-11-18 16:46:31 -0500: > > > > On Thu, Nov 18, 2010 at 10:30:47AM -0500, Chris Mason wrote: > > > > > Ok, we're mixing unlinks and fsyncs. If it fsyncing directories too? > > > > > > > > Nup. I'm pretty sure it doesn't, just files. Yes - there will > > > > certainly > > > > be fsyncs going on as well - Cyrus is very careful to fsync everything > > > > it > > > > cares about at the file level, but all it does with directories is mkdir > > > > them if they don't exist. > > > > > > Could you double check this one please? fsyncing the directory is a ton > > > more expensive, I just want to make sure it isn't part of the workload. > > > > > > Otherwise it looks like we're seeking to read in the inode and unlink > > > it. One possibility is that we're not giving the elevator enough clues > > > about the IO being synchronous. > > > > > > Are you using cfq or deadline? I bet we can improve the latencies using > > > READ_SYNC. > > > > I'm using deadline. > > > > All I'm seeing is the fsyncs on the files. And some unnecessary mkdir > > calls that I can probably remove, and an unneccary truncate on the > > quota file. > > Do you have any suggestsions for what I could try? You mentioned READ_SYNC > above. We now have one working partition on this machine, but it took longer > to set up than most, and I'm not sure how it will cope with 7 more of them > (which is my next project - compare to the historical performance of this > box first with reiserfs and then with ext4!)
Let me work up a patch that does READ_SYNC calls for the metadata reads, and I'll try to model this here a little. We should be able to improve things. -chris -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html