Optimized writeback ratio