Comments (10)
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/166018258
The labels on this github issue will be updated when the story is started.
from bosh-linux-stemcell-builder.
I've got some actual numbers from GCP. I uploaded a stemcell to GCS and then measured downloading it from there and then from the original endpoint.
GCP
$ time curl https://storage.googleapis.com/xoebus-test/bosh-stemcell-315.34-warden-boshlite-ubuntu-xenial-go_agent.tgz -o gcp.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 492M 100 492M 0 0 56.8M 0 0:00:08 0:00:08 --:--:-- 68.9M
real 0m8.681s
user 0m0.966s
sys 0m1.397s
AWS
$ time curl https://s3.amazonaws.com/bosh-core-stemcells/315.34/bosh-stemcell-315.34-warden-boshlite-ubuntu-xenial-go_agent.tgz -o aws.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 492M 100 492M 0 0 2820k 0 0:02:58 0:02:58 --:--:-- 2992k
real 2m58.867s
user 0m2.028s
sys 0m4.893s
8 seconds vs. nearly 180 seconds makes it seem like there's something fishy with the bucket setup.
from bosh-linux-stemcell-builder.
It just took me nearly 2 hours to download a BOSH-lite stemcell. 😭
Can I help you with any work to improve this? I expect we're wasting a tonne of time across the org. waiting for stemcell downloads (on workstations and in pipelines).
from bosh-linux-stemcell-builder.
At one point some downloads were being fronted by CloudFront CDN; not sure if/when/why that may have changed. I think there was some code to recognize and convert supported buckets to the CDN. Let me know if I can help.
from bosh-linux-stemcell-builder.
We enabled transfer acceleration from S3 a while ago, but it seems that you have to do some more leg work to actually use it. We are looking into that today.
Update:
It looks like we will have to change all the URLs to the accelerated endpoint.
from bosh-linux-stemcell-builder.
I also did a little experiment to mirror all of the stemcells into a GCS bucket using their storage transfer service. It was able to mirror everything (500GB) in around two minutes. This makes it seem like it might be an issue with our office (the peering between AWS and our ISP?) rather than the bucket itself?
from bosh-linux-stemcell-builder.
Interesting. That might be another issue.
We were able to assert that turning on the acceleration brings the downloads closer to GCP levels. Here are the links:
Fast
time curl https://bosh-core-stemcells.s3-accelerate.amazonaws.com/315.34/bosh-stemcell-315.34-warden-boshlite-ubuntu-xenial-go_agent.tgz -o aws.tar.gz
Slow
time curl https://s3.amazonaws.com/bosh-core-stemcells/315.34/bosh-stemcell-315.34-warden-boshlite-ubuntu-xenial-go_agent.tgz -o aws.tar.gz
So for now, you can use the "fast" link as a template for future downloads as we figure out how to change all the URLs.
from bosh-linux-stemcell-builder.
Just tried it out and it works great - thank you!
Want me to leave this open until the https://bosh.io change is made or should I close it?
from bosh-linux-stemcell-builder.
We can leave it open.
from bosh-linux-stemcell-builder.
Closing - stemcells were moved to accelerated buckets in https://www.pivotaltracker.com/story/show/168994545
from bosh-linux-stemcell-builder.
Related Issues (20)
- Noble Numbat vSphere/vCloud stemcells forbid SSH password authentication HOT 3
- Noble uses control groups (cgroups) v2 instead of v1 HOT 5
- Consider removing any packages from Noble that are not in Ubuntu's "Main" repository HOT 6
- Noble: No longer cut vCloud stemcells HOT 2
- Noble: No longer have separate master/version.X branches HOT 1
- Noble should use a main instead of master branch
- Risk of false positive on systemd rc.local logics when execution of firstboot.sh fails HOT 3
- Noble revise the generate_dev_tools_file_list HOT 2
- AWS stemcell is missing from cn-north-1 region since v1.423 HOT 4
- Nobel needs to keep in sync with PR's from jammy
- Noble pam_lastlog is deprecated its succesor is pam_lastlog2 HOT 3
- bats and agent are still using sv commands HOT 3
- Public IaaS stemcells should use recommended NTP servers HOT 3
- Noble - rsyslog errors HOT 1
- Noble - warden/boshlite
- mbus firewall rules HOT 1
- Noble ipv6 tests fail HOT 2
- Noble - bpm does not start application
- [noble] remove_dev_tools currently breaks the vm HOT 2
- [noble] syslog release breaks rsyslog HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bosh-linux-stemcell-builder.