I recently reads about the cache coloring of slab system and didn't understand. Why the cache coloring that adds various offsets to object in different slabs could enhance performance?
My initial guess is: the slab allocator with cache offsets, try to put first objects of slabs at memory of different cache color. If a client allocate N objects from these slabs, it will get N objects with N cache colors.
Is my guess correct or can someone give me more hints on this? thanks a lot,