[SRU] Improve debian/99-gce.rules to set schedulers based on disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gce-compute-image-packages (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[SRU]
=======
[Overview]
We should reduce the scope of the `udev` rules in d/99-gce.rules, and change the I/O scheduler. The previous `udev` rule was drastically reducing the bootspeed on SSD backed instances, as the `noop` scheduler is pretty old school.
I did pretty extensive experimentation and found that swapping to "none" in this file yielded the best results on HDD instances (>10s improvement in boot time on average). Letting SSD's just roll independently also seemed to give the best speeds.
[ Impact ]
* If an end user launches an Ubuntu instance in GCE backed with a HDD, no
scheduler will be used natively.
* This package is provided upstream by Google themselves, and is part of a
collection of tools and that ensures that the Ubuntu images published to GCE
run properly on the platform.
[Test Case]
When this package lands in -proposed, the following will happen:
* an image built with this package from -proposed will be built for GCE and
published in the `ubuntu-
* The image will go through CPC's own CTF framework, and assuming it passes
will be handed to the Google team to perform their own verification.
* This can also be done independently with a PPA hooked into CPC's bootstrap
scripts (kajiya's PPA here: [0])
If all the testing indicates that the image containing the new package is good, verification is considered finished.
[ Regression potential / Where problems could occur ]
* This may affect users who are already modifying the file (d/99-gce.rules) via
a startup script on boot [2]; there have been no edits since 2017 so it's a
pretty well established file.
* There could also be issues if a non-rotating disk is interpreted as a rotating
disk (and vice-versa). This shouldn't be a big problem in practice though, as
the named scheduler is "none" which works well on both types anyway.
[Additional Information]
This bug is used to track the release of this new version for all the supported suites, as per the policy mentioned here [1].
[0]: https:/
[1]: https:/
[2]: https:/
description: | updated |
description: | updated |
description: | updated |
summary: |
- Improve debian/99-gce.rules to set schedulers based on disk + [SRU] Improve debian/99-gce.rules to set schedulers based on disk |
description: | updated |
description: | updated |
tags: |
added: verification-done-jammy verification-done-mantic removed: verification-needed-jammy verification-needed-mantic |
tags: |
added: verification-needed-jammy verification-needed-mantic removed: verification-done-jammy verification-done-mantic |
MP reviewed @ https:/ /code.launchpad .net/~kajiya/ ubuntu/ +source/ gce-compute- image-packages/ +git/gce- compute- image-packages/ +merge/ 455766/ comments/ 1223948.