Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Very slow git clone on starter cluster 2a #1289

Closed
rhopp opened this issue Mar 12, 2019 · 3 comments
Closed

Very slow git clone on starter cluster 2a #1289

rhopp opened this issue Mar 12, 2019 · 3 comments

Comments

@rhopp
Copy link
Collaborator

rhopp commented Mar 12, 2019

git clone operation is really slow in che on starter cluster 2a.

For all my tries I used this repo: https://github.com/openshiftio-vertx-boosters/vertx-http-booster
And this command: time git clone https://github.com/openshiftio-vertx-boosters/vertx-http-booster

We started investigating this, because our tests were timeout-ing on workspace startup on this.

First observation:

I've started workspace (without default project import). Waited for the workspace to be started and then I've run time git clone https://github.com/openshiftio-vertx-boosters/vertx-http-booster in terminal inside che.
Result times:

  • 4m9.997s
  • 5m47.361s
  • 4m6.350s

Note: I've tried this with two different accounts (both on 2a cluster)

Second observation:

Deployed this pod in -che namespace of my account on 2a cluster. I've connected to terminal of that pod and run the same command (time git clone ...). pwd was /data/something to be sure the PVC is used.
Result times:

  • 0m9.765s
  • 0m14.541s
  • 0m12.631s
  • 0m20.884s

From this it seems, that involvement of che directly affects git clone performance.

Third observation:

Running git clone on my local machine (just for comparison)
Results:

  • 2.640s
  • 1.234s
  • 1.237s

Fourth observation:

Running git clone from in terminal inside workspace on different cluster (I've used two accounts on cluster 2)
Results:

  • 0m23.643s
  • 0m38.622s

From this it seems it's not that big issue on other clusters (or at least on cluster 2)

I know we have openshiftio/openshift.io#4695, but this seems to me like a slightly different issue.

@amisevsk
Copy link
Collaborator

For clarity @rhopp, we're seeing slower git clones from a che workspace than the base PVC operation should take?

@ibuziuk
Copy link
Member

ibuziuk commented Mar 14, 2019

there is maintenance going on starter-us-east-2a, let's wait and retry once the upgrade is finished

@ibuziuk
Copy link
Member

ibuziuk commented Mar 25, 2019

closing as not reproducible, tested against 2a:

[user@workspace6jp33rqbd2sdspsh projects]$ time git clone https://github.com/openshiftio-vertx-boosters/vertx-http-booster
Cloning into 'vertx-http-booster'...
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 1580 (delta 8), reused 0 (delta 0), pack-reused 1564
Receiving objects: 100% (1580/1580), 295.18 KiB | 47.00 KiB/s, done.
Resolving deltas: 100% (745/745), done.
Checking out files: 100% (32/32), done.

real 0m18.318s
user 0m0.103s
sys 0m0.269s

@ibuziuk ibuziuk closed this as completed Mar 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants