multi-queue algorithm for second level caches