practice of cache friendly queue