Use shallow fetch for faster bootstrapping#1381
Open
linsword13 wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
All the failing tests seem to be tied to coverage upload. I am not sure if that's related to the current change though. |
The `checkout-versions.yaml` is updated to use the full commit-sha, as required by remote shallow fetch.
Here's a timing comparison:
* With the change
```
$ rm -rf scratch/
$ time benchpark list experiments
Cloning Ramble to /Users/linsword/hpc/contrib/benchpark/scratch/benchpark_home_fallback/ramble
Cloning packages to /Users/linsword/hpc/contrib/benchpark/scratch/benchpark_home_fallback/spack-packages
Cloning Spack to /Users/linsword/hpc/contrib/benchpark/scratch/benchpark_home_fallback/spack
Experiments - BENCHMARK+PROGRAMMING_MODEL+SCALING
ad+[mpi]
amg2023+[openmp|cuda|rocm|mpi]+[strong|weak|throughput]
babelstream+[openmp|cuda|rocm]
branson+[openmp|cuda|rocm|mpi]+[strong|weak|throughput]
commbench+[cuda|rocm]
genesis+[openmp|mpi]
gpcnet+[mpi]
gromacs+[openmp|cuda|rocm|mpi]
hpcg+[openmp|mpi]+[strong|weak]
hpl+[openmp|mpi]+[strong|weak]
ior+[mpi]+[strong|weak]
kripke+[openmp|cuda|rocm|mpi]+[strong|weak|throughput]
laghos+[cuda|rocm|mpi]+[strong|weak|throughput]
lammps+[openmp|cuda|rocm|mpi]+[strong]
md-test+[mpi]+[strong]
osu-micro-benchmarks+[cuda|rocm|mpi]
phloem+[mpi]
py-scaffold+[cuda|rocm]+[strong|weak]
quicksilver+[openmp|mpi]+[strong|weak]
qws+[openmp|mpi]+[strong|weak|throughput]
raja-perf+[openmp|cuda|rocm|mpi]+[strong|weak|throughput]
remhos+[cuda|rocm|mpi]+[strong|weak|throughput]
salmon-tddft+[openmp|mpi]
smb+[mpi]
sparta-snl+[openmp|cuda|rocm|mpi]
stream+[mpi]
test
real 0m7.585s
user 0m1.769s
sys 0m2.374s
```
* Without the change
```
$ git stash
Saved working directory and index state WIP on optimize-checkout-fetch: b1055bd `lanl-venado` change h100 -> gh200 (llnl#1379)
$ rm -rf scratch/
$ time benchpark list experiments
Cloning Ramble to /Users/linsword/hpc/contrib/benchpark/scratch/benchpark_home_fallback/ramble
Cloning packages to /Users/linsword/hpc/contrib/benchpark/scratch/benchpark_home_fallback/spack-packages
Cloning Spack to /Users/linsword/hpc/contrib/benchpark/scratch/benchpark_home_fallback/spack
Experiments - BENCHMARK+PROGRAMMING_MODEL+SCALING
ad+[mpi]
amg2023+[openmp|cuda|rocm|mpi]+[strong|weak|throughput]
babelstream+[openmp|cuda|rocm]
branson+[openmp|cuda|rocm|mpi]+[strong|weak|throughput]
commbench+[cuda|rocm]
genesis+[openmp|mpi]
gpcnet+[mpi]
gromacs+[openmp|cuda|rocm|mpi]
hpcg+[openmp|mpi]+[strong|weak]
hpl+[openmp|mpi]+[strong|weak]
ior+[mpi]+[strong|weak]
kripke+[openmp|cuda|rocm|mpi]+[strong|weak|throughput]
laghos+[cuda|rocm|mpi]+[strong|weak|throughput]
lammps+[openmp|cuda|rocm|mpi]+[strong]
md-test+[mpi]+[strong]
osu-micro-benchmarks+[cuda|rocm|mpi]
phloem+[mpi]
py-scaffold+[cuda|rocm]+[strong|weak]
quicksilver+[openmp|mpi]+[strong|weak]
qws+[openmp|mpi]+[strong|weak|throughput]
raja-perf+[openmp|cuda|rocm|mpi]+[strong|weak|throughput]
remhos+[cuda|rocm|mpi]+[strong|weak|throughput]
salmon-tddft+[openmp|mpi]
smb+[mpi]
sparta-snl+[openmp|cuda|rocm|mpi]
stream+[mpi]
test
real 1m10.219s
user 3m2.025s
sys 0m12.604s
```
a93c372 to
1e7be11
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Use shallow fetch for faster bootstrapping
The
checkout-versions.yamlis updated to use the full commit-sha, as required by remote shallow fetch.Here's a timing comparison: