1. A memory system comprising: a first cache memory comprising a volatile memory; a second cache memory comprising a non-volatile memory with access speed slower than access speed of the volatile memory; and a reconfiguration control circuitry to switch between a first mode that uses the second cache memory as a cache memory in a lower layer than the first cache memory and a second mode that uses the first cache memory and the second cache memory as cache memories in an identical memory layer.