Skip to contentSkip to conversation

Default cache_hot_time value back to 10ms

DISCUSSION Albert Cahalan 1 participant 1 message Oct 7, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Con Kolivas

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.