dist: Distributed Ethernet link support for distributed gem5 simulations
Review Request #3228 - Created Nov. 19, 2015 and submitted
| Information | |
|---|---|
| Curtis Dunham | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Distributed gem5 is the result of the convergence effort between multi-gem5 and pd-gem5 (from Univ. of Wisconsin). It relies on the base multi-gem5 infrastructure for packet forwarding, synchronisation and checkpointing but combines those with the elaborated network switch model from pd-gem5.
-
src/sim/pseudo_inst.cc (Diff revision 1) -
rather than magic values why not have initparam pass a string key and get value. That will mean less annoying issues in the future with two parties using the same number before committing the code. This is the same issue that was recently fixed with the checkpoint versioniong, we probably shouldn't repeat it here.
Qre the dist_*.{cc,hh} files basically just renames (with internal symbol renames) of the equivalent multi_* files, or are there significant differences? Were they renamed with 'hg rename/mv'?
I still haven't had time to look at this closely, but I figured I'd nitpick a few style issues while I'm at it.
Given that it's clearly an improvement over the status quo (since it includes input from pd-gem5) I don't have a problem with committing first and addressing any issues I run across later, once the style issues are addressed.
-
src/dev/dist_iface.hh (Diff revision 2) -
open brace goes on following line
-
src/dev/tcp_iface.hh (Diff revision 2) -
open brace goes on following line
-
src/dev/tcp_iface.cc (Diff revision 2) -
open brace goes on following line
-
src/sim/initparam_keys.hh (Diff revision 2) -
open brace goes on following line
Why was this patch committed? There are no ship-its, and there was no warning. I was complaining about minor things to buy myself a little time, and also because I hoped the changes between the similar files would be easier to detect/review if rename was used. I saw the updates on reviewboard and made a mental note that now I need to go back and re-review, and then next thing I know I see the changeset messages going by...
