From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhi Yong Wu Subject: Re: VFS hot tracking: How to calculate data temperature? Date: Mon, 12 Nov 2012 07:32:05 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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 , Steven Whitehouse To: james northrup Return-path: Received: from mail-bk0-f46.google.com ([209.85.214.46]:60622 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810Ab2KKXcH (ORCPT ); Sun, 11 Nov 2012 18:32:07 -0500 Received: by mail-bk0-f46.google.com with SMTP id jk13so2131195bkc.19 for ; Sun, 11 Nov 2012 15:32:05 -0800 (PST) In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Nov 9, 2012 at 11:05 PM, james northrup wrote: > is 'temp 109' a bucket of inodes or is temp per-inode? both. > > > On Thu, Nov 8, 2012 at 5:12 PM, 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? >> >> > >> > -- >> > Regards, >> > >> > Zhi Yong Wu >> >> >> >> -- >> Regards, >> >> Zhi Yong Wu > > -- Regards, Zhi Yong Wu