RMD: A Resemblance and Mergence based Approach for High Performance Deduplication