Review Board 2.0.15


ruby: recorder: Fix (de-)serializing with different cache block-sizes

Review Request #2220 - Created April 3, 2014 and submitted

Information
Marco Elver
gem5
default
Reviewers
Default
ruby: recorder: Fix (de-)serializing with different cache block-sizes

Upon aggregating records, serialize system's cache-block size, as the
cache-block size can be different when restoring from a checkpoint. This way,
we can correctly read all records when restoring from a checkpoints, even if
the cache-block size is different.

Note, that it is only possible to restore from a checkpoint if the
desired cache-block size is smaller or equal to the cache-block size
when the checkpoint was taken; we can split one larger request into
multiple small ones, but it is not reliable to do the opposite.
Created a Ruby checkpoint with the default config. Restore from checkpoint with default config (64 byte block-size) and varying block-sizes (32, 16, 8).
Review request changed
Updated (April 19, 2014, 8:45 a.m.)

Status: Closed (submitted)