#284: Set cache characteristics -------------------------+-------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: enhancement | Status: new Priority: minor | Milestone: Component: SimFactory | Version: Keywords: | -------------------------+-------------------------------------------------- When building, set the Cactus configuration variables CACHELINE_BYTES and CACHE_SIZE from the corresponding MDB entries, if defined.
#284: Set cache characteristics --------------------------+------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: enhancement | Status: accepted Priority: minor | Milestone: Component: SimFactory | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by mthomas):
* status: new => accepted
Comment:
Which MDB entries correspond to these new variables? The mdb-syntax file has many cache variables added to it.
#284: Set cache characteristics --------------------------+------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: enhancement | Status: accepted Priority: minor | Milestone: Component: SimFactory | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by hinder):
Wouldn't it be better to determine these automatically at runtime?
#284: Set cache characteristics --------------------------+------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: enhancement | Status: accepted Priority: minor | Milestone: Component: SimFactory | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
It would be better, but I don't know how.
Cactus already has configuration variables for this and tries to guess the values while building. This can be wrong, since it builds on the head node, which often has a different cache configuration. In addition, I've begun to collect this information (which is difficult to find, I usually have to inquire with the help desk staff) in the MDB.
#284: Set cache characteristics --------------------------+------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: enhancement | Status: closed Priority: minor | Milestone: Component: SimFactory | Version: Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by mthomas):
* status: accepted => closed * resolution: => fixed
Comment:
added CACHELINE_BYTES mapped to L3linesize, and CACHE_SIZE mapped to L3size
trac@lists.einsteintoolkit.org