Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Never disable hyperthreading and add tsx=on to kernel params #2806

Closed
wants to merge 3 commits into from

Conversation

wking
Copy link
Member

@wking wking commented Dec 12, 2019

Enable Transactional Synchronization Extensions. These were disabled by default for CVE-2019-11135 (article), but we think the change is causing a perfomance impact. Re-enable it to see if we recover.

While testing this, I'm stealing some scaffolding which was previously used for disabling hyperthreading. We want both TSX and hyperthreading for this test. If it turns out to be useful, we can work out if/how we want an install-config TSX knob to work.

The more-convenient property got vendored in with 5366d28 (vendor:
Bump machine-config-operator to latest, 2019-10-30, openshift#2594) as part of
FIPS support.
@openshift-ci-robot
Copy link
Contributor

@wking: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

WIP: Never disable hyperthreading and add tsx=on to kernel params

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 12, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign wking
You can assign the PR to them by writing /assign @wking in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ashcrow
Copy link
Member

ashcrow commented Dec 12, 2019

FYI: unit/vet/etc... is expected to fail.

Enable Transactional Synchronization Extensions [1].  These were
disabled by default for CVE-2019-11135 [2,3], but we think the change
is causing a perfomance impact.  Re-enable it to see if we recover.

While testing this, I'm stealing some scaffolding which was previously
used for disabling hyperthreading.  We want both TSX and
hyperthreading for this test.  If it turns out to be useful, we can
work out if/how we want an install-config TSX knob to work.

[1]: https://en.wikipedia.org/wiki/Transactional_Synchronization_Extensions
[2]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11135
[3]: https://access.redhat.com/articles/tsx-asynchronousabort
@wking
Copy link
Member Author

wking commented Dec 12, 2019

Pushed 9724102 -> 44871b6 for:

# github.com/openshift/installer/pkg/asset/machines
pkg/asset/machines/master.go:40:2: imported and not used: "github.com/openshift/installer/pkg/types"
pkg/asset/machines/worker.go:40:2: imported and not used: "github.com/openshift/installer/pkg/types" 

As described in [1], because we want to test etcd stability when we
have the fast, vulnerable throttle wide open.

[1]: https://access.redhat.com/articles/tsx-asynchronousabort
@openshift-ci-robot
Copy link
Contributor

@wking: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/unit 93fb54c link /test unit
ci/prow/e2e-gcp 93fb54c link /test e2e-gcp
ci/prow/e2e-azure 93fb54c link /test e2e-azure

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wking
Copy link
Member Author

wking commented Dec 13, 2019

@wking
Copy link
Member Author

wking commented Dec 16, 2019

RHCOS folks have a solid lead, no need for me to poke things anymore.

/close

@openshift-ci-robot
Copy link
Contributor

@wking: Closed this PR.

In response to this:

RHCOS folks have a solid lead, no need for me to poke things anymore.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wking wking deleted the enable-tsx branch December 16, 2019 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants