Re: Default cache_hot_time value back to 10ms
From: Albert Cahalan
Date: Thu Oct 07 2004 - 14:51:21 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/