juju should wrap apt-get invocations with eatmydata when provisioning cloud instances

Bug #1335822 reported by Andrew Wilkins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Andrew Wilkins

Bug Description

Wrapping apt-get calls with eatmydata yields a significant speedup, particularly with slow disks. This is very noticeable on the Microsoft Azure cloud. See lp:1236531

My own very unscientific tests found upgrading without it took 6m, with took only 3m. Both are slow, but 3m saved at bootstrap time is very valuable in terms of user experience.

We should use apt_get_wrapper in our cloud-config, and we should update sshinit to honour the option.

Andrew Wilkins (axwalk)
Changed in juju-core:
milestone: none → next-stable
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Medium → High
Andrew Wilkins (axwalk)
Changed in juju-core:
status: Triaged → Fix Committed
assignee: nobody → Andrew Wilkins (axwalk)
milestone: next-stable → 1.21-alpha1
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.