Skip to content

the answer of 6.37 maybe wrong #79

@sttttwv

Description

@sttttwv

N=64, sumB
The size of array is four times of cache's, that means every sixteen rows in the array are mapped to the same row in the cache, for example the row 0, 16, 32, 48 would be mapped to the first row of cache. After the first inner loop is completed, the data in cache is the first four numbers of lines 48 to 63. If search the number in lines 0 to 15, it will be missed. So the miss rate is 100%.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions