Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267839AbUJGSxq (ORCPT ); Thu, 7 Oct 2004 14:53:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267829AbUJGSvI (ORCPT ); Thu, 7 Oct 2004 14:51:08 -0400 Received: from sccrmhc13.comcast.net ([204.127.202.64]:29060 "EHLO sccrmhc13.comcast.net") by vger.kernel.org with ESMTP id S267807AbUJGStl (ORCPT ); Thu, 7 Oct 2004 14:49:41 -0400 Subject: Re: Default cache_hot_time value back to 10ms From: Albert Cahalan To: linux-kernel mailing list Cc: nickpiggin@yahoo.com.au, kenneth.w.chen@intel.com, kernel@kolivas.org, mingo@elte.hu, Andrew Morton OSDL Content-Type: text/plain Organization: Message-Id: <1097174661.2669.310.camel@cube> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 07 Oct 2004 14:44:22 -0400 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 652 Lines: 20 Con Kolivas writes: > Should it not be based on the cache flush time? We measure > that and set the cache_decay_ticks and can base it on that. Often one must use the time, but... If the system goes idle for an hour, the last-run process is still cache-hot. Many systems let you measure cache line castouts. Time is a very crude approximation of this. Memory traffic is a slightly better approximation. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/