1. An apparatus comprising: a policy unit including: evaluation logic to determine a value of a performance metric for writes to a non-volatile memory, wherein the non-volatile memory and a cache memory are each to store respective data for access by the one or more processors; and policy parameter logic to determine, based on the value of the performance metric, a parameter value of a replacement policy, wherein the policy unit to generate, based on the parameter value, a signal indicating the replacement policy, wherein a cache replacement unit selects a line of the cache memory for an eviction, wherein the line is selected according to the replacement policy based on the signal.