Re: [PATCH][WIP] dio rewrite

From: Kent Overstreet
Date: Mon Feb 11 2013 - 20:33:56 EST


On Mon, Feb 11, 2013 at 05:24:13PM -0800, Andi Kleen wrote:
> On Mon, Feb 11, 2013 at 04:53:26PM -0800, Kent Overstreet wrote:
> > I finally started hacking on the dio code, and it's far from done but
> > it's turning out better than I expected so I thought I'd show off what
> > I've got so far.
>
> The critical metric for some of the highend workloads
> is the number of cache lines touched in the submission path
> (especially potentially modified ones). How does your new code fare on that?

I haven't started looking at performance yet, except to sanity check it
- but it should be substantially better, mostly due to getting rid of
dio->pages.

As far as touching shared cachelines I don't think it's any different
than the old code, though.

There's also icache, which should be hugely better.

But the code's changed so much I'll have to spend some time optimizing
it before I can make a reasonable comparison, after I've finished with
all the correctness issues.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/