Patent attributes
Techniques provide for specifying priorities and thresholds used for cache promotion and flushing on a per pool basis. The thresholds may include a promotion threshold and a flushing threshold. The promotion threshold is used to determine whether data portions of the pool are promoted to a secondary cache. The flushing threshold is used to determine whether any data portions of the pool currently stored in the secondary cache are flushed to non-volatile physical storage. Each of the promotion threshold and the flushing threshold for the pool may be determined in accordance with the priority specified for the pool. For remaining data portions that are included in a pool for which a pool specific priority is not specified, a default technique may be used, for example, which uses the same promotion threshold and the same flushing threshold for all pools for which a pool specific priority is not specified.