gem5 more link benchmarks

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-10-01 01:00:00 +00:00
parent 220c3a4344
commit 057cc31cd5

View File

@@ -27251,7 +27251,7 @@ then rebuild with:
and then copy the link command to a separate Bash file. Then you can time and modify it easily.
Some approximate reference values on <<p51>>:
Some approximate reference values on <<p51>> LKMC d4b3e064adeeace3c3e7d106801f95c14637c12f + 1 (doing multiple runs to warm up disk caches):
* `opt`
** unmodified: 10 seconds
@@ -27275,7 +27275,15 @@ In addition to the link time, scons startup time can also be considerable:
* https://gem5.atlassian.net/browse/GEM5-256
* https://gem5-review.googlesource.com/c/public/gem5/+/25385
Tested at: d4b3e064adeeace3c3e7d106801f95c14637c12f + 1.
On LKMC 220c3a434499e4713664d4a47c246cb81ee0a06a gem5 63e96992568d8a8a0dccac477b8b7f1370ac7e98 (Sep 2020):
* `opt`
** default link: `18.32user 3.99system 0:22.33elapsed 99%CPU (0avgtext+0avgdata 4622908maxresident)k`
** `LDFLAGS_EXTRA=-fuse-ld=lld` (after a build with default linker): `6.74user 1.81system 0:03.85elapsed 222%CPU (0avgtext+0avgdata 7025292maxresident)k`
** `LDFLAGS_EXTRA=-fuse-ld=gold`: `7.70user 1.36system 0:09.44elapsed 95%CPU (0avgtext+0avgdata 5959152maxresident)k`
*** `LDFLAGS_EXTRA=-fuse-ld=gold -Wl,--threads -Wl,--thread-count=8`: `9.66user 1.86system 0:04.62elapsed 249%CPU (0avgtext+0avgdata 5989916maxresident)k`
+
Arghhh, it does not use multile threads by default... https://stackoverflow.com/questions/5142753/can-gcc-use-multiple-cores-when-linking/42302047#42302047
=== Benchmark machines