An apparatus and method to reduce the initialization time of a system is
disclosed. In one embodiment, upon a cache line update, metadata
associated with the cache line is stored in a distributed format in
non-volatile memory with its associated cache line. Upon indication of an
expected shut down, metadata is copied from volatile memory and stored in
non-volatile memory in a packed format. In the packed format, multiple
metadata associated with multiple cache lines are stored together in, for
example, a single memory block. Thus, upon system power up, if the system
was shut down in an expected manner, metadata may be restored in volatile
memory from the metadata stored in the packed format, with a
significantly reduced boot time over restoring metadata from the metadata
stored in the distributed format.