Download COS kernel archive at specified commit by Amey-D · Pull Request #13 · ContainerEngine/accelerators · GitHub
Skip to content

Download COS kernel archive at specified commit#13

Open
Amey-D wants to merge 1 commit into
ContainerEngine:masterfrom
Amey-D:remove-git-pull
Open

Download COS kernel archive at specified commit#13
Amey-D wants to merge 1 commit into
ContainerEngine:masterfrom
Amey-D:remove-git-pull

Conversation

@Amey-D

@Amey-D Amey-D commented Oct 13, 2017

Copy link
Copy Markdown
Contributor

Instead of git pulling the sources this PR utilizes gitiles' feature
to download the source tarball at the specified commit. This also
removes git clone from the Dockerfile.

Instead of `git pull`ing the sources this PR utilizes gitiles' feature
to download the source tarball at the specified commit.  This also
removes `git clone` from the Dockerfile.

@rohitagarwal003 rohitagarwal003 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ time curl -sS "${download_url}" -o "${archive_filename}"

real	1m10.413s
user	0m0.829s
sys	0m1.958s
$ time tar xf "${archive_filename}"

real	0m9.957s
user	0m2.494s
sys	0m7.319s

I don't think this added latency on node bring up is going to work.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this command without setting LAKITA_KERNEL_SHA and it still passed.

@Amey-D

Amey-D commented Oct 13, 2017

Copy link
Copy Markdown
Contributor Author

Is there a way we can measure e2e latency on GCE? Presumably with this PR the Docker container would also become smaller so docker pull would run faster.

@rohitagarwal003

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants