From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [PATCH 3/9] readahead: record readahead patterns Date: Tue, 29 Nov 2011 18:57:43 +0100 Message-ID: <20111129175743.GP24062@one.firstfloor.org> References: <20111129130900.628549879@intel.com> <20111129131456.278516066@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , Andi Kleen , Ingo Molnar , Jens Axboe , Peter Zijlstra , Rik van Riel , Linux Memory Management List , linux-fsdevel@vger.kernel.org, LKML To: Wu Fengguang Return-path: Content-Disposition: inline In-Reply-To: <20111129131456.278516066@intel.com> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Nov 29, 2011 at 09:09:03PM +0800, Wu Fengguang wrote: > Record the readahead pattern in ra->pattern and extend the ra_submit() > parameters, to be used by the next readahead tracing/stats patches. I like this, could it be exported it a bit more formally in /proc for each file descriptor? I could imagine a monitoring tool that you run on a process that tells you what pattern state the various file descriptors are in and how large the window is. That would be similar to the tools for monitoring network connections, which are extremly useful in practice. -Andi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org