Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up LTM server launch by combining the files read from GCS #17

Open
tytso opened this issue Jun 5, 2018 · 0 comments
Open

Speed up LTM server launch by combining the files read from GCS #17

tytso opened this issue Jun 5, 2018 · 0 comments

Comments

@tytso
Copy link
Owner

tytso commented Jun 5, 2018

The shell script /usr/local/lib/gce-fetch-gs-files takes 20 seconds to run:

Jun 04 21:18:34 xfstests-ltm systemd[1]: Starting GCE self-signed cert fetch from GCS...
Jun 04 21:18:44 xfstests-ltm root[1841]: fetching cert completed, gsutil returned 0
Jun 04 21:18:50 xfstests-ltm root[2213]: fetching config completed, gsutil returned 0
Jun 04 21:18:54 xfstests-ltm systemd[1]: Started GCE self-signed cert fetch from GCS.'

This is because it calls gsutil multiple times --- and each run takes a few seconds. It should be possible to combine the files needed to configure the LTM server into a single tar file.

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

No branches or pull requests

1 participant