Coloring the caches for predictability on multicores