Impact of technology scaling of phase-change memory performance