Re: [RELEASE] ltt-control 0.86, better streaming fadvise

From: Mathieu Desnoyers
Date: Wed May 19 2010 - 22:11:46 EST


A discussion follow-up with Linus made me change the implementation to put the
fadvise after the synchronous page writeback, to ensure better streaming
behavior.

Mathieu

* Mathieu Desnoyers (mathieu.desnoyers@xxxxxxxxxxxx) wrote:
> Hi,
>
> I just released ltt-control 0.85 which waits for previous subbuffers to be
> written to disk (using sync_file_range()) and uses fadvise to tell the kernel
> that pages won't be reaccessed. This lessens the tracer impact on the page
> cache.
>
> Thanks to Linus for hints on how to use fadvise and sync_file_range to do
> this, c.f.:
>
> http://marc.info/?l=linux-kernel&m=127430576309253&w=2
>
> Mathieu
>
> --
> Mathieu Desnoyers
> Operating System Efficiency R&D Consultant
> EfficiOS Inc.
> http://www.efficios.com

--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
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/