Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ test-e2e: $(BINDATA)
test-e2e-local: $(BINDATA) performance-profile-creator-tests gather-sysinfo-tests
$(GO_BUILD_RECIPE)
for d in performanceprofile/functests-render-command/1_render_command; do \
$(GO) test -v -timeout 40m ./test/e2e/$$d -ginkgo.v -ginkgo.no-color -ginkgo.fail-fast || exit; \
$(GO) test -v -timeout 40m ./test/e2e/$$d -ginkgo.v -ginkgo.no-color || exit; \
done

# This target ensures /manifests directory is up-to-date. It takes advantage of yaml patching functionality of
Expand Down Expand Up @@ -211,7 +211,7 @@ pao-functests: cluster-label-worker-cnf pao-functests-only
pao-functests-only: $(BINDATA)
@echo "Cluster Version"
hack/show-cluster-version.sh
hack/run-test.sh -t "test/e2e/performanceprofile/functests/0_config test/e2e/performanceprofile/functests/1_performance test/e2e/performanceprofile/functests/6_mustgather_testing test/e2e/performanceprofile/functests/10_performance_ppc" -p "-v -r --fail-fast --flake-attempts=2 --junit-report=report.xml" -m "Running Functional Tests"
hack/run-test.sh -t "test/e2e/performanceprofile/functests/0_config test/e2e/performanceprofile/functests/1_performance test/e2e/performanceprofile/functests/6_mustgather_testing test/e2e/performanceprofile/functests/10_performance_ppc" -p "-v -r --flake-attempts=2 --junit-report=report.xml" -m "Running Functional Tests"

.PHONY: pao-functests-updating-profile
pao-functests-updating-profile: cluster-label-worker-cnf pao-functests-update-only
Expand All @@ -235,19 +235,19 @@ pao-functests-performance-workloadhints: cluster-label-worker-cnf pao-functests-
pao-functests-performance-workloadhints-only: $(BINDATA)
@echo "Cluster Version"
hack/show-cluster-version.sh
hack/run-test.sh -t "test/e2e/performanceprofile/functests/0_config test/e2e/performanceprofile/functests/8_performance_workloadhints" -p "-v -r --fail-fast --flake-attempts=2 --timeout=5h --junit-report=report.xml" -m "Running Functional WorkloadHints Tests"
hack/run-test.sh -t "test/e2e/performanceprofile/functests/0_config test/e2e/performanceprofile/functests/8_performance_workloadhints" -p "-v -r --flake-attempts=2 --timeout=5h --junit-report=report.xml" -m "Running Functional WorkloadHints Tests"

.PHONY: pao-functests-latency-testing
pao-functests-latency-testing: dist-latency-tests $(BINDATA)
@echo "Cluster Version"
hack/show-cluster-version.sh
hack/run-test.sh -t "./test/e2e/performanceprofile/functests/0_config ./test/e2e/performanceprofile/functests/5_latency_testing" -p "-v -r --fail-fast --flake-attempts=2 --timeout=5h --junit-report=report.xml" -m "Running Functionalconfiguration latency Tests"
hack/run-test.sh -t "./test/e2e/performanceprofile/functests/0_config ./test/e2e/performanceprofile/functests/5_latency_testing" -p "-v -r --flake-attempts=2 --timeout=5h --junit-report=report.xml" -m "Running Functionalconfiguration latency Tests"

.PHONY: pao-functests-mixedcpus
pao-functests-mixedcpus: $(BINDATA)
@echo "Cluster Version"
hack/show-cluster-version.sh
hack/run-test.sh -t "./test/e2e/performanceprofile/functests/0_config ./test/e2e/performanceprofile/functests/11_mixedcpus" -p "-v -r --fail-fast --flake-attempts=2 --junit-report=report.xml" -m "Running MixedCPUs Tests"
hack/run-test.sh -t "./test/e2e/performanceprofile/functests/0_config ./test/e2e/performanceprofile/functests/11_mixedcpus" -p "-v -r --flake-attempts=2 --junit-report=report.xml" -m "Running MixedCPUs Tests"

.PHONY: pao-functests-hypershift
pao-functests-hypershift: $(BINDATA)
Expand Down Expand Up @@ -275,7 +275,7 @@ arm-kernelpagesize: $(BINDATA)
.PHONY: performance-profile-creator-tests
performance-profile-creator-tests: build-performance-profile-creator
@echo "Running Performance Profile Creator Tests"
hack/run-test.sh -t "test/e2e/performanceprofile/functests-performance-profile-creator" -p "--v -r --fail-fast --flake-attempts=2" -m "Running Functional Tests" -r "--junit-report=/tmp/artifacts"
hack/run-test.sh -t "test/e2e/performanceprofile/functests-performance-profile-creator" -p "--v -r --flake-attempts=2" -m "Running Functional Tests" -r "--junit-report=/tmp/artifacts"

# Gather sysinfo binary for use in must-gather
.PHONY: build-gather-sysinfo
Expand Down
1 change: 1 addition & 0 deletions assets/performanceprofile/configs/99-runtimes.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ infra_ctr_cpuset = "{{.ReservedCpus}}"
# do not have high-performance binary under the $PATH that will point to it.
[crio.runtime.runtimes.high-performance]
inherit_default_runtime = true
{{if .ExecCPUAffinity}}exec_cpu_affinity = "{{.ExecCPUAffinity}}"{{end}}
allowed_annotations = ["cpu-load-balancing.crio.io", "cpu-quota.crio.io", "irq-load-balancing.crio.io", "cpu-c-states.crio.io", "cpu-freq-governor.crio.io"{{ if .CrioSharedCPUsAnnotation }}{{ printf ", %q" .CrioSharedCPUsAnnotation}}{{end}}]
11 changes: 11 additions & 0 deletions pkg/apis/performanceprofile/v2/performanceprofile_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ const PerformanceProfileEnablePhysicalRpsAnnotation = "performance.openshift.io/
// Valid values: "true", "enable" (to enable), "false", "disable" (to disable).
const PerformanceProfileEnableRpsAnnotation = "performance.openshift.io/enable-rps"

const (
// PerformanceProfileExecCPUAffinityAnnotation manages the exec-cpu-affinity setting for the node.
// Performance profile sets this falg's value to "first" by default in the runtime handler configuration.
// Valid values:
// "none": will disable performance profile's default setting of this feature in CRI-O.
// Other values are ignored and treated as to keep the default value set by performance-profile.
// remove in 4.23
PerformanceProfileExecCPUAffinityAnnotation = "performance.openshift.io/exec-cpu-affinity"
PerformanceProfileExecCPUAffinityNone = "none"
)

// PerformanceProfileSpec defines the desired state of PerformanceProfile.
type PerformanceProfileSpec struct {
// CPU defines a set of CPU related parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ const (
ovsDynamicPinningTriggerHostFile = "/var/lib/ovn-ic/etc/enable_dynamic_cpu_affinity"

cpusetConfigure = "cpuset-configure"

// ExecCPUAffinity config
execCPUAffinityFirst = "first"
)

const (
Expand Down Expand Up @@ -118,6 +121,7 @@ const (
templateOvsSliceUsageFile = "01-use-ovs-slice.conf"
templateWorkload = "Workload"
templateCrioSharedCPUsAnnotation = "CrioSharedCPUsAnnotation"
templateExecCPUAffinity = "ExecCPUAffinity"
)

// New returns new machine configuration object for performance sensitive workloads
Expand Down Expand Up @@ -587,6 +591,10 @@ func renderCrioConfigSnippet(profile *performancev2.PerformanceProfile, src stri
templateArgs[templateReservedCpus] = string(*profile.Spec.CPU.Reserved)
}

if profilecomponent.IsExecCPUAffinityEnabled(profile) {
templateArgs[templateExecCPUAffinity] = execCPUAffinityFirst
}

if opts.MixedCPUsEnabled {
templateArgs[templateSharedCpus] = string(*profile.Spec.CPU.Shared)
templateArgs[templateCrioSharedCPUsAnnotation] = "cpu-shared.crio.io"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"encoding/json"
"errors"
"fmt"
"path/filepath"
"regexp"
"strings"

Expand Down Expand Up @@ -141,6 +142,58 @@ var _ = Describe("Machine Config", func() {
})
})

Context("machine config creation with CRI-O runtime config", func() {
crioRuntimeConfigPath := filepath.Join(crioConfd, crioRuntimesConfig)

It("should create machine config with exec-cpu-affinity set by default", func() {
profile := testutils.NewPerformanceProfile("test")

mc, err := New(profile, &components.MachineConfigOptions{})
Expect(err).ToNot(HaveOccurred())

result := igntypes.Config{}
Expect(json.Unmarshal(mc.Spec.Config.Raw, &result)).To(Succeed())

var content string
for _, f := range result.Storage.Files {
if f.Path == crioRuntimeConfigPath {
base64Data := strings.TrimPrefix(*f.Contents.Source, "data:text/plain;charset=utf-8;base64,")
decoded, err := base64.StdEncoding.DecodeString(base64Data)
Expect(err).ToNot(HaveOccurred())
content = string(decoded)
break
}
}
Expect(content).ToNot(BeEmpty(), "crio runtime config not found")
Expect(content).To(ContainSubstring("exec_cpu_affinity = \"first\""))
})

It("should create machine config without exec-cpu-affinity when annotation is set to none", func() {
profile := testutils.NewPerformanceProfile("test")
profile.Annotations = map[string]string{}
profile.Annotations[performancev2.PerformanceProfileExecCPUAffinityAnnotation] = performancev2.PerformanceProfileExecCPUAffinityNone

mc, err := New(profile, &components.MachineConfigOptions{})
Expect(err).ToNot(HaveOccurred())

result := igntypes.Config{}
Expect(json.Unmarshal(mc.Spec.Config.Raw, &result)).To(Succeed())

var content string
for _, f := range result.Storage.Files {
if f.Path == crioRuntimeConfigPath {
base64Data := strings.TrimPrefix(*f.Contents.Source, "data:text/plain;charset=utf-8;base64,")
decoded, err := base64.StdEncoding.DecodeString(base64Data)
Expect(err).ToNot(HaveOccurred())
content = string(decoded)
break
}
}
Expect(content).ToNot(BeEmpty(), "crio runtime config not found")
Expect(content).To(Not(ContainSubstring("exec_cpu_affinity = \"first\"")))
})
})

Context("machine config creation with enabled RPS using alternative values", func() {
It("should create machine config with RPS configuration when enabled with 'enable'", func() {
profile := testutils.NewPerformanceProfile("test")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,17 @@ func IsMixedCPUsEnabled(profile *performancev2.PerformanceProfile) bool {
}
return *profile.Spec.WorkloadHints.MixedCpus
}

// IsExecCPUAffinityEnabled checks if exec-cpu-affinity feature should be enabled
func IsExecCPUAffinityEnabled(profile *performancev2.PerformanceProfile) bool {
if profile.Annotations != nil {
val, ok := profile.Annotations[performancev2.PerformanceProfileExecCPUAffinityAnnotation]
if ok && val == performancev2.PerformanceProfileExecCPUAffinityNone {
// run the legacy behavior and disable exec-cpu-affinity
return false
}
}

// The default behavior is to enable exec-cpu-affinity whenever profile is applied
return true
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
path: /usr/local/bin/clear-irqbalance-banned-cpus.sh
user: {}
- contents:
source: data:text/plain;charset=utf-8;base64,CltjcmlvLnJ1bnRpbWVdCmluZnJhX2N0cl9jcHVzZXQgPSAiMi03IgoKCgoKIyBUaGUgQ1JJLU8gd2lsbCBjaGVjayB0aGUgYWxs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JvdmlkZSB0aGUgcnVudGltZV9wYXRoIGJlY2F1c2Ugd2UgbmVlZCB0byBpbmZvcm0gdGhhdCB3ZSB3YW50IHRvIHJlLXVzZSBydW5jIGJpbmFyeSBhbmQgd2UKIyBkbyBub3QgaGF2ZSBoaWdoLXBlcmZvcm1hbmNlIGJpbmFyeSB1bmRlciB0aGUgJFBBVEggdGhhdCB3aWxsIHBvaW50IHRvIGl0LgpbY3Jpby5ydW50aW1lLnJ1bnRpbWVzLmhpZ2gtcGVyZm9ybWFuY2VdCmluaGVyaXRfZGVmYXVsdF9ydW50aW1lID0gdHJ1ZQpleGVjX2NwdV9hZmZpbml0eSA9ICJmaXJzdCIKYWxsb3dlZF9hbm5vdGF0aW9ucyA9IFsiY3B1LWxvYWQtYmFsYW5jaW5nLmNyaW8uaW8iLCAiY3B1LXF1b3RhLmNyaW8uaW8iLCAiaXJxLWxvYWQtYmFsYW5jaW5nLmNyaW8uaW8iLCAiY3B1LWMtc3RhdGVzLmNyaW8uaW8iLCAiY3B1LWZyZXEtZ292ZXJub3IuY3Jpby5pbyJdCg==
verification: {}
group: {}
mode: 420
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
path: /usr/local/bin/clear-irqbalance-banned-cpus.sh
user: {}
- contents:
source: data:text/plain;charset=utf-8;base64,CltjcmlvLnJ1bnRpbWVdCmluZnJhX2N0cl9jcHVzZXQgPSAiMi0zIgoKCgoKIyBUaGUgQ1JJLU8gd2lsbCBjaGVjayB0aGUgYWxsb3dlZF9hbm5vdGF0aW9ucyB1bmRlciB0aGUgcnVudGltZSBoYW5kbGVyIGFuZCBhcHBseSBoaWdoLXBlcmZvcm1hbmNlIGhvb2tzIHdoZW4gb25lIG9mCiMgaGlnaC1wZXJmb3JtYW5jZSBhbm5vdGF0aW9ucyBwcmVzZW50cyB1bmRlciBpdC4KIyBXZSBzaG91bGQgcHJvdmlkZSB0aGUgcnVudGltZV9wYXRoIGJlY2F1c2Ugd2Ugb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1bnRpbWVzLmhpZ2gtcGVyZm9ybWFuY2VdCmluaGVyaXRfZGVmYXVsdF9ydW50aW1lID0gdHJ1ZQpleGVjX2NwdV9hZmZpbml0eSA9ICJmaXJzdCIKYWxsb3dlZF9hbm5vdGF0aW9ucyA9IFsiY3B1LWxvYWQtYmFsYW5jaW5nLmNyaW8uaW8iLCAiY3B1LXF1b3RhLmNyaW8uaW8iLCAiaXJxLWxvYWQtYmFsYW5jaW5nLmNyaW8uaW8iLCAiY3B1LWMtc3RhdGVzLmNyaW8uaW8iLCAiY3B1LWZyZXEtZ292ZXJub3IuY3Jpby5pbyJdCg==
verification: {}
group: {}
mode: 420
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
path: /usr/local/bin/clear-irqbalance-banned-cpus.sh
user: {}
- contents:
source: data:text/plain;charset=utf-8;base64,CltjcmlvLnJ1bnRpbWVdCmluZnJhX2N0cl9jcHVzZXQgPSAiMi03IgoKCgoKIyBUaGUgQ1JJLU8gd2lsbCBjaGVjayB0aGUgYWxsb3dlZF9hbm5vdGF0aW9ucyB1bmRlciB0aGUgcnVudGltZSBoYW5kbGVyIGFuZCBhcHBseSBoaWdoLXBlcmZvcm1hbmNlIGhvb2tzIHdoZW4gb25lIG9mCiMgaGlnaC1wZXJmb3JtYW5jZSBhbm5vdGF0aW9ucyBwcmVzZW50cyB1bmRlciBpdC4KIyBXZSBzaG91bGQgcHJvdmlkZSB0aGUgcnVudGltZV9wYXRoIGJlY2F1c2Ugd2UgbmVlZCB0byBpbmZvcm0gdGhhdCB3ZSB3YW50IHRvIHJlLXVzZSBydW5jIGJpbmFyeSBhbmQgd2UKIyBkbyBub3QgaGF2ZSBoaWdoLXBlcmZvcm1hbmNlIGJpbmFyeSB1bmRlciB0aGUgJFBBVEggdGhhdCB3aWxsIHBvaW50IHRvIGl0LgpbY3Jpby5ydW50aW1lLnJ1bnRpbWVzLmhpZ2gtcGVyZm9ybWFuY2VdCmluaGVyaXRfZG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8uaW8iLCAiY3B1LWMtc3RhdGVzLmNyaW8uaW8iLCAiY3B1LWZyZXEtZ292ZXJub3IuY3Jpby5pbyJdCg==
verification: {}
group: {}
mode: 420
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
path: /usr/local/bin/clear-irqbalance-banned-cpus.sh
user: {}
- contents:
source: data:text/plain;charset=utf-8;base64,CltjcmlvLnJ1bnRpbWVdCmluZnJhX2N0cl9jcHVzZXQgPSAiMi0zIgoKCgoKIyBUaGUgQ1JJLU8gd2lsbCBjaGVjayB0aGUgYWxsb3dlZF9hbm5vdGF0aW9ucyB1bmRlciB0aGUgcnVudGltZSBoYW5kbGVyIGFuZCBhcHBseSBoaWdoLXBlcmZvcm1hbmNlIGhvb2tzIHdoZW4gb25lIG9mCiMgaGlnaC1wZXJmb3JtYW5jZSBhbm5vdGF0aW9ucyBwcmVzZW50cyB1bmRlciBpdC4KIyBXZSBzaG91bGQgcHJvdmlkZSB0aGUgcnVudGltZV9wYXRoIGJlY2F1c2Ugd2UgbmVlZCB0byBpbmZvcm0gdGhhdCB3ZSB3YW50IHRvIHJlLXVzZSBydW5jIGJpbmFyeSBhbmQgd2UKIyBkbyBub3QgaGF2ZSBoaWdoLXBlcmZvcm1hbmNlIGJpbmFyeSB1bmRlciB0aGUgJFBBVEggdGhhdCB3aWxsIHBvaW50IHRvIGl0LgpbY3Jpby5ydW50aW1lLnJ1bnRpbWVzLmhpZ2gtcGVyZm9ybWFuY2VdCmluaGVyaXRfZGVmYXVsdF9ydW50aW1lID0gdHJ1ZQphbGxvd2VkX2Fubm90YXRpb25zID0gWyJjcHUtbG9hZC1iYWxhbmNpbmcuY3Jpby5pbyIsICJjcHUtcXVvdGEuY3Jpby5pbyIsICJpcnEtbG9hZC1iYWxhbmNpbmcuY3Jpby5pbyIsICJjcHUtYy1zdGF0ZXMuY3Jpby5pbyIsICJjcHUtZnJlcS1nb3Zlcm5vci5jcmlvLmlvIl0K
source: data:text/plain;charset=utf-8;base64,CltjcmlvLnJ1bnRpbWVdCmluZnJhX2N0cl9jcHVzZXQgPSAiMi0zIgoKCgoKIyBUaGUgQ1JJLU8gd2lsbCBjaGVjayB0aGUgYWxsb3dlZF9hbm5vdGF0aW9ucyB1bmRlciB0aGUgcnVudGltZSBoYW5kbGVyIGFuZCBhcHBseSBoaWdoLXBlcmZvcm1hbmNlIGhvb2tzIHdoZW4gb25lIG9mCiMgaGlnaC1wZXJmb3JtYW5jZSBhbm5vdGF0aW9ucyBwcmVzZW50cyB1bmRlciBpdC4KIyBXZSBzaG91bGQgcHJvdmlkZSB0aGUgcnVudGltZV9wYXRoIGJlY2F1c2Ugd2UgbmVlZCB0byBpbmZvcm0gdGhhdCB3ZSB3YW50IHRvIHJlLXVzZSBydW5jIGJpbmFyeSBhbmQgd2UKIyBkbyBub3QgaGF2ZSBoaWdoLXBlcmZvcm1hbmNlIGJpbmFyeSB1bmRlciB0aGUgJFBBVEggdGhhdCB3aWxsIHBvaW50IHRvIGl0LgpbY3Jpby5ydW50aW1lLnJ1bnRpbWVzLmhpZ2gtcGVyZm9ybWFuY2VdCmluaGVyaXRfZGVmYXVsdF9ydW50aW1lID0gdHJ1ZQpleGVjX2NwdV9hZmZpbml0eSA9ICJmaXJzdCIKYWxsb3dlZF9hbm5vdGF0aW9ucyA9IFsiY3B1LWxvYWQtYmFsYW5jaW5nLmNyaW8uaW8iLCAiY3B1LXF1b3RhLmNyaW8uaW8iLCAiaXJxLWxvYWQtYmFsYW5jaW5nLmNyaW8uaW8iLCAiY3B1LWMtc3RhdGVzLmNyaW8uaW8iLCAiY3B1LWZyZXEtZ292ZXJub3IuY3Jpby5pbyJdCg==
verification: {}
group: {}
mode: 420
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
path: /usr/local/bin/clear-irqbalance-banned-cpus.sh
user: {}
- contents:
source: data:text/plain;charset=utf-8;base64,CltjcmlvLnJ1bnRpbWVdCmluZnJhX2N0cl9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