How does cache prefetch aggressiveness affect mixed OLTP/OLAP workloads?
Cache prefetch aggressiveness creates a tension between latency and throughput in mixed database workloadsβespecially on systems like IBM POWER10 where many threads and cores share caches and memory bandwidth.
π Prefetch aggressiveness directly shifts the balance between these two.
π Result:
π OLTP sees:
π OLTP suffers:
π Net effect:
π Result:
π Result:
π Aggressive prefetch from one thread can degrade others.
Modern POWER cores use adaptive, workload-aware prefetching:
π Reduces prefetch rate automatically
π Protects latency-sensitive data
π Prefer:
π Prefer:
Example:
π If prefetch too aggressive:
π If too conservative:
π The goal is not maximum prefetching, but correct prefetching.
The best systems:
Cache prefetch aggressiveness in mixed OLTP/OLAP workloads: