Skip to contentSkip to conversation

ltt-control 0.85, lighter page cache use

RELEASE Mathieu Desnoyers 1 participant 2 messages May 19, 2010 – May 20, 2010

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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