From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zheng Liu Subject: Re: VFS hot tracking: How to calculate data temperature? Date: Fri, 9 Nov 2012 11:20:48 +0800 Message-ID: <20121109032048.GA28278@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linuxram@linux.vnet.ibm.com, Dave Chinner , cmm@us.ibm.com, Ben Chociej , Zheng Liu , "Darrick J. Wong" , Ram Pai , James Northrup , Steven Whitehouse To: Zhi Yong Wu Return-path: Received: from mail-pb0-f46.google.com ([209.85.160.46]:64951 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756551Ab2KIDIa (ORCPT ); Thu, 8 Nov 2012 22:08:30 -0500 Received: by mail-pb0-f46.google.com with SMTP id rr4so2505186pbb.19 for ; Thu, 08 Nov 2012 19:08:30 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Nov 09, 2012 at 09:12:10AM +0800, Zhi Yong Wu wrote: > On Fri, Nov 2, 2012 at 12:04 PM, Zhi Yong Wu wrote: > > HI, guys > > > > VFS hot tracking currently show result as below, and it is very > > strange and not nice. > > > > inode #279, reads 0, writes 1, avg read time 18446744073709551615, > > avg write time 5251566408153596, temp 109 > > > > Do anyone know if there is one simpler but effective way to calculate > > data temperature? > > inode 279, reads 0, writes 1, temp 109 > > Since we have got no better way, and avg read/write times are > mid-stage value, i want to show it as above format, do you think of > it? Looks good to me. Regards, Zheng