PCRAM-aware cluster allocation algorithm for hybrid main memory hierarchy