codes-org / codes

The Co-Design of Exascale Storage Architectures (CODES) simulation framework builds upon the ROSS parallel discrete event simulation engine to provide high-performance simulation utilities and models for building scalable distributed systems simulations
Other
40 stars 16 forks source link

dragonfly - cache router LP-ID in terminal state (Imported #143) #143

Open nmcglo opened 8 years ago

nmcglo commented 8 years ago

Original Issue Author: Jonathan Jenkins Original Issue ID: 143 Original Issue URL: https://xgitlab.cels.anl.gov/codes/codes/issues/143


While investigating #142 an optimization opportunity came to mind. The number of codes-mapping calls in the dragonfly can be reduced by a significant amount by storing the router LP-ID in the terminal rather than the relative ID, which then must be re-calculated for each flit.

We could take this one step further by storing the full set of neighbor LP IDs, since the neighbors of any dragonfly entity are statically defined (could do this for any statically-defined network topology), but those changes would be more far-reaching.