Skip to content

storing page to mc dram #1

Description

@kingshukmajumder

Hi, I was looking at the banshee paper and associated code for a class project. I have the following doubts/questions.
In mc.cpp line 422, the whole page is written to a single mcdram (i.e _mcdram[mc_dram_select]). Since the mcdram_select is the lower bits of "address / 64", shouldn't the page (4kb or more) be distributed among all of the mcdrams per mc instead of just _mcdram[mc_dram_select]?

Also, the mc_address of the original request is directly used for writing the page (i.e creating the insert_req request).
Since insert_req is to store the whole page, shouldn't its address be ((address / _granularity)*_granularity)/ 64 / _mcdram_per_mc * 64 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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