From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754798Ab0ETCLm (ORCPT ); Wed, 19 May 2010 22:11:42 -0400 Received: from mail.openrapids.net ([64.15.138.104]:34560 "EHLO blackscsi.openrapids.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754301Ab0ETCLk (ORCPT ); Wed, 19 May 2010 22:11:40 -0400 Date: Wed, 19 May 2010 22:11:39 -0400 From: Mathieu Desnoyers To: ltt-dev@lists.casi.polymtl.ca Cc: linux-kernel@vger.kernel.org Subject: Re: [RELEASE] ltt-control 0.86, better streaming fadvise Message-ID: <20100520021139.GA15828@Krystal> References: <20100519220015.GA8028@Krystal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100519220015.GA8028@Krystal> X-Editor: vi X-Info: http://www.efficios.com X-Operating-System: Linux/2.6.26-2-686 (i686) X-Uptime: 22:10:27 up 117 days, 4:47, 9 users, load average: 0.22, 0.24, 0.25 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@efficios.com) 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