ruby: remap pmem to optimize performance.

Change-Id: Ic860a9a34e09d1524658c24749dcc5db0213f218