Page MenuHomePhabricator

Pass RDRAND CPU feature flag to ganeti VMs
Closed, InvalidPublic

Description

Reading https://engineering.skroutz.gr/blog/entropy-changes-in-debian/ it became clear that VMs on buster KVM hosts might suffer from lack of entropy on boot, making boot times unnecessarily long.

The article is a pretty great read and while it goes through great lengths to explain everything, we can just get one simple thing out of all of it for now and that's that there is an extremely easy fix, namely passing the RDRAND CPU feature flag to the VMs. All of our hosts are new enough to support it already so there should be no problems.

Event Timeline

Done on both clusters

$ sudo gnt-cluster modify -H kvm:cpu_type=IvyBridge\\,+pcid\\,+invpcid\\,-kvm_steal_time\\,+spec-ctrl\\,+ssbd\\,+md-clear\\,+rdrand

Applied, tested and found working on both clusters

akosiaris changed the task status from Resolved to Invalid.Nov 1 2019, 8:53 AM

Rolling it back. Per https://en.wikipedia.org/wiki/RDRAND and further tests, rdrand is already present in IvyBridge, which is what we pass as the base anyway.