ltt-control 0.85, lighter page cache use
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
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com
Re: [RELEASE] ltt-control 0.86, better streaming fadvise
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
Quoted 19 lines · * Mathieu Desnoyers ([email protected]) 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_rangeto do this, c.f.:http://marc.info/?l=linux-kernel&m=127430576309253&w=2
Mathieu
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com