diff --git a/pkg/internal/checkup/executor/oslat/client.go b/pkg/internal/checkup/executor/oslat/client.go index e5fecd81..8f76f73f 100644 --- a/pkg/internal/checkup/executor/oslat/client.go +++ b/pkg/internal/checkup/executor/oslat/client.go @@ -198,7 +198,7 @@ func getMaxLatencyValue(values []string, units string) (time.Duration, error) { func buildOslatCmd(testDuration time.Duration) string { const ( - cpuList = "1-2" + cpuList = "2-3" realtimePriority = "1" workload = "memmove" workloadMemory = "4K" diff --git a/pkg/internal/checkup/executor/oslat/client_test.go b/pkg/internal/checkup/executor/oslat/client_test.go index 8f493269..90660592 100644 --- a/pkg/internal/checkup/executor/oslat/client_test.go +++ b/pkg/internal/checkup/executor/oslat/client_test.go @@ -137,7 +137,7 @@ func (c fakeClock) Now() time.Time { } const ( - oslatRunCmd = "taskset -c 1-2 oslat --cpu-list 1-2 --rtprio 1 --duration 1m0s --workload memmove --workload-mem 4K \n" + oslatRunCmd = "taskset -c 2-3 oslat --cpu-list 2-3 --rtprio 1 --duration 1m0s --workload memmove --workload-mem 4K \n" oslatRunResultsTemplate = "oslat V 2.60\n" + "Total runtime: \t\t60 seconds\n" + "Thread priority: \tSCHED_FIFO:1\n" +