sync patches: update files, add go compile flag, update test cases and support for go 1.15
This commit is contained in:
parent
610ac36306
commit
91bea42b7c
19
atune.spec
19
atune.spec
@ -3,11 +3,16 @@
|
||||
Summary: AI auto tuning system
|
||||
Name: atune
|
||||
Version: 0.3
|
||||
Release: 0.2
|
||||
Release: 0.6
|
||||
License: Mulan PSL v2
|
||||
URL: https://gitee.com/openeuler/A-Tune
|
||||
Source: https://gitee.com/openeuler/A-Tune/repository/archive/v%{version}.tar.gz
|
||||
|
||||
Patch6000: backport-atune-update-the-files-description.patch
|
||||
Patch6001: backport-atune-add-go-compile-flag.patch
|
||||
Patch6002: backport-atune-update-test-case.patch
|
||||
Patch6003: backport-atune-support-for-Go-1.15.patch
|
||||
|
||||
BuildRequires: rpm-build golang-bin procps-ng
|
||||
BuildRequires: sqlite >= 3.24.0 openssl
|
||||
BuildRequires: python3-scikit-optimize python3-pandas python3-xgboost
|
||||
@ -140,6 +145,18 @@ make models
|
||||
%systemd_postun_with_restart atuned.service
|
||||
|
||||
%changelog
|
||||
* Tue Mar 16 2021 hehuazhen<hehuazhen@huawei.com> - 0.3-0.6
|
||||
- support for go 1.15
|
||||
|
||||
* Tue Dec 29 2020 gaoruoshu<gaoruoshu@huawei.com> - 0.3-0.5
|
||||
- update test case
|
||||
|
||||
* Sat Dec 26 2020 zhuguodong<zhuguodong8@huawei.com> - 0.3-0.4
|
||||
- add go compile flag
|
||||
|
||||
* Tue Dec 22 2020 gaoruoshu<gaoruoshu@huawei.com> - 0.3-0.3
|
||||
- update file descriptions and readme files
|
||||
|
||||
* Sat Nov 28 2020 hanxinke<hanxinke@huawei.com> - 0.3-0.2
|
||||
- The engine package conflicts with atune < 0.3-0.1.
|
||||
|
||||
|
||||
34
backport-atune-add-go-compile-flag.patch
Normal file
34
backport-atune-add-go-compile-flag.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From 44c3814b0814d64d104ddb0605fad46be8d0b06f Mon Sep 17 00:00:00 2001
|
||||
From: zhuguodong <zhuguodong8@huawei.com>
|
||||
Date: Thu, 24 Dec 2020 08:06:38 +0000
|
||||
Subject: [PATCH] makefile change
|
||||
|
||||
---
|
||||
Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 68f6252..b54458c 100755
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -11,7 +11,7 @@ SRCVERSION = $(shell git rev-parse --short HEAD 2>/dev/null)
|
||||
ATUNEVERSION = $(VERSION)$(if $(SRCVERSION),($(SRCVERSION)))
|
||||
|
||||
GOLDFLAGS += -X gitee.com/openeuler/A-Tune/common/config.Version=$(ATUNEVERSION)
|
||||
-GOFLAGS = -ldflags "$(GOLDFLAGS)"
|
||||
+GOFLAGS = -ldflags '-s -w -extldflags "-static" -extldflags "-zrelro" -extldflags "-znow" -extldflags "-ftrapv" $(GOLDFLAGS)'
|
||||
|
||||
CERT_PATH=$(DESTDIR)/etc/atuned
|
||||
GRPC_CERT_PATH=$(CERT_PATH)/grpc_certs
|
||||
@@ -29,7 +29,7 @@ atuned:
|
||||
go build -mod=vendor -v $(GOFLAGS) -o $(PKGPATH)/atuned cmd/atuned/*.go
|
||||
|
||||
modules:
|
||||
- cd ${CURDIR}/modules/server/profile/ && go build -mod=vendor -buildmode=plugin -o ${CURDIR}/pkg/daemon_profile_server.so *.go
|
||||
+ cd ${CURDIR}/modules/server/profile/ && go build -mod=vendor -buildmode=plugin $(GOFLAGS) -o ${CURDIR}/pkg/daemon_profile_server.so *.go
|
||||
|
||||
clean:
|
||||
rm -rf $(PKGPATH)/*
|
||||
--
|
||||
2.27.0
|
||||
|
||||
184
backport-atune-support-for-Go-1.15.patch
Normal file
184
backport-atune-support-for-Go-1.15.patch
Normal file
@ -0,0 +1,184 @@
|
||||
From b2d9728e16dd5c55b8d1528fd37a58cf9790bc76 Mon Sep 17 00:00:00 2001
|
||||
From: HW_TaoChen <boby.chen@huawei.com>
|
||||
Date: Wed, 30 Dec 2020 16:57:48 +0800
|
||||
Subject: [PATCH] atune: support for Go 1.15
|
||||
|
||||
Signed-off-by: hanxinke <hanxinke@huawei.com>
|
||||
---
|
||||
Makefile | 40 ++++++++++---------
|
||||
.../collections/stack/stack.go | 4 +-
|
||||
vendor/modules.txt | 19 +++++++++
|
||||
3 files changed, 43 insertions(+), 20 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 68f6252..08eb3e5 100755
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -125,17 +125,19 @@ restcerts:
|
||||
openssl genrsa -out $(REST_CERT_PATH)/ca.key 2048
|
||||
openssl req -new -x509 -days 3650 -subj "/CN=ca" -key $(REST_CERT_PATH)/ca.key -out $(REST_CERT_PATH)/ca.crt
|
||||
openssl genrsa -out $(REST_CERT_PATH)/server.key 2048
|
||||
+ cp /etc/pki/tls/openssl.cnf $(REST_CERT_PATH)
|
||||
@if test $(REST_IP_ADDR) == localhost; then \
|
||||
- openssl req -new -subj "/CN=localhost" -key $(REST_CERT_PATH)/server.key -out $(REST_CERT_PATH)/server.csr; \
|
||||
- openssl x509 -req -sha256 -CA $(REST_CERT_PATH)/ca.crt -CAkey $(REST_CERT_PATH)/ca.key -CAcreateserial -days 3650 \
|
||||
- -in $(REST_CERT_PATH)/server.csr -out $(REST_CERT_PATH)/server.crt; \
|
||||
+ echo "[SAN]\nsubjectAltName=DNS:$(REST_IP_ADDR)" >> $(REST_CERT_PATH)/openssl.cnf; \
|
||||
+ echo "subjectAltName=DNS:$(REST_IP_ADDR)" > $(REST_CERT_PATH)/extfile.cnf; \
|
||||
else \
|
||||
- openssl req -new -subj "/CN=$(REST_IP_ADDR)" -key $(REST_CERT_PATH)/server.key -out $(REST_CERT_PATH)/server.csr; \
|
||||
+ echo "[SAN]\nsubjectAltName=IP:$(REST_IP_ADDR)" >> $(REST_CERT_PATH)/openssl.cnf; \
|
||||
echo "subjectAltName=IP:$(REST_IP_ADDR)" > $(REST_CERT_PATH)/extfile.cnf; \
|
||||
- openssl x509 -req -sha256 -CA $(REST_CERT_PATH)/ca.crt -CAkey $(REST_CERT_PATH)/ca.key -CAcreateserial -days 3650 \
|
||||
- -extfile $(REST_CERT_PATH)/extfile.cnf -in $(REST_CERT_PATH)/server.csr -out $(REST_CERT_PATH)/server.crt; \
|
||||
fi
|
||||
- rm -rf $(REST_CERT_PATH)/*.srl $(REST_CERT_PATH)/*.csr $(REST_CERT_PATH)/extfile.cnf
|
||||
+ openssl req -new -subj "/CN=$(REST_IP_ADDR)" -config $(REST_CERT_PATH)/openssl.cnf \
|
||||
+ -key $(REST_CERT_PATH)/server.key -out $(REST_CERT_PATH)/server.csr
|
||||
+ openssl x509 -req -sha256 -CA $(REST_CERT_PATH)/ca.crt -CAkey $(REST_CERT_PATH)/ca.key -CAcreateserial -days 3650 \
|
||||
+ -extfile $(REST_CERT_PATH)/extfile.cnf -in $(REST_CERT_PATH)/server.csr -out $(REST_CERT_PATH)/server.crt
|
||||
+ rm -rf $(REST_CERT_PATH)/*.srl $(REST_CERT_PATH)/*.csr $(REST_CERT_PATH)/*.cnf
|
||||
@echo "END GENERATE REST CERTS"
|
||||
|
||||
enginecerts:
|
||||
@@ -145,20 +147,22 @@ enginecerts:
|
||||
openssl genrsa -out $(ENGINE_CERT_PATH)/ca.key 2048; \
|
||||
openssl req -new -x509 -days 3650 -subj "/CN=ca" -key $(ENGINE_CERT_PATH)/ca.key -out $(ENGINE_CERT_PATH)/ca.crt; \
|
||||
fi
|
||||
+ cp /etc/pki/tls/openssl.cnf $(ENGINE_CERT_PATH)
|
||||
+ @if test $(ENGINE_IP_ADDR) == localhost; then \
|
||||
+ echo "[SAN]\nsubjectAltName=DNS:$(ENGINE_IP_ADDR)" >> $(ENGINE_CERT_PATH)/openssl.cnf; \
|
||||
+ echo "subjectAltName=DNS:$(ENGINE_IP_ADDR)" > $(ENGINE_CERT_PATH)/extfile.cnf; \
|
||||
+ else \
|
||||
+ echo "[SAN]\nsubjectAltName=IP:$(ENGINE_IP_ADDR)" >> $(ENGINE_CERT_PATH)/openssl.cnf; \
|
||||
+ echo "subjectAltName=IP:$(ENGINE_IP_ADDR)" > $(ENGINE_CERT_PATH)/extfile.cnf; \
|
||||
+ fi
|
||||
@for name in server client; do \
|
||||
openssl genrsa -out $(ENGINE_CERT_PATH)/$$name.key 2048; \
|
||||
- if test $(ENGINE_IP_ADDR) == localhost; then \
|
||||
- openssl req -new -subj "/CN=localhost" -key $(ENGINE_CERT_PATH)/$$name.key -out $(ENGINE_CERT_PATH)/$$name.csr; \
|
||||
- openssl x509 -req -sha256 -CA $(ENGINE_CERT_PATH)/ca.crt -CAkey $(ENGINE_CERT_PATH)/ca.key -CAcreateserial -days 3650 \
|
||||
- -in $(ENGINE_CERT_PATH)/$$name.csr -out $(ENGINE_CERT_PATH)/$$name.crt; \
|
||||
- else \
|
||||
- openssl req -new -subj "/CN=$(ENGINE_IP_ADDR)" -key $(ENGINE_CERT_PATH)/$$name.key -out $(ENGINE_CERT_PATH)/$$name.csr; \
|
||||
- echo "subjectAltName=IP:$(ENGINE_IP_ADDR)" > $(ENGINE_CERT_PATH)/extfile.cnf; \
|
||||
- openssl x509 -req -sha256 -CA $(ENGINE_CERT_PATH)/ca.crt -CAkey $(ENGINE_CERT_PATH)/ca.key -CAcreateserial -days 3650 \
|
||||
- -extfile $(ENGINE_CERT_PATH)/extfile.cnf -in $(ENGINE_CERT_PATH)/$$name.csr -out $(ENGINE_CERT_PATH)/$$name.crt; \
|
||||
- fi; \
|
||||
+ openssl req -new -subj "/CN=$(ENGINE_IP_ADDR)" -config $(ENGINE_CERT_PATH)/openssl.cnf \
|
||||
+ -key $(ENGINE_CERT_PATH)/$$name.key -out $(ENGINE_CERT_PATH)/$$name.csr; \
|
||||
+ openssl x509 -req -sha256 -CA $(ENGINE_CERT_PATH)/ca.crt -CAkey $(ENGINE_CERT_PATH)/ca.key -CAcreateserial -days 3650 \
|
||||
+ -extfile $(ENGINE_CERT_PATH)/extfile.cnf -in $(ENGINE_CERT_PATH)/$$name.csr -out $(ENGINE_CERT_PATH)/$$name.crt; \
|
||||
done
|
||||
- rm -rf $(ENGINE_CERT_PATH)/*.srl $(ENGINE_CERT_PATH)/*.csr $(ENGINE_CERT_PATH)/extfile.cnf
|
||||
+ rm -rf $(ENGINE_CERT_PATH)/*.srl $(ENGINE_CERT_PATH)/*.csr $(ENGINE_CERT_PATH)/*.cnf
|
||||
@echo "END GENERATE ENGINE CERTS"
|
||||
|
||||
env:
|
||||
diff --git a/vendor/github.com/golang-collections/collections/stack/stack.go b/vendor/github.com/golang-collections/collections/stack/stack.go
|
||||
index 04063df..a433fc9 100644
|
||||
--- a/vendor/github.com/golang-collections/collections/stack/stack.go
|
||||
+++ b/vendor/github.com/golang-collections/collections/stack/stack.go
|
||||
@@ -8,7 +8,7 @@ type (
|
||||
node struct {
|
||||
value interface{}
|
||||
prev *node
|
||||
- }
|
||||
+ }
|
||||
)
|
||||
// Create a new stack
|
||||
func New() *Stack {
|
||||
@@ -30,7 +30,7 @@ func (this *Stack) Pop() interface{} {
|
||||
if this.length == 0 {
|
||||
return nil
|
||||
}
|
||||
-
|
||||
+
|
||||
n := this.top
|
||||
this.top = n.prev
|
||||
this.length--
|
||||
diff --git a/vendor/modules.txt b/vendor/modules.txt
|
||||
index 5807785..b45918a 100644
|
||||
--- a/vendor/modules.txt
|
||||
+++ b/vendor/modules.txt
|
||||
@@ -1,20 +1,27 @@
|
||||
# github.com/antlr/antlr4 v0.0.0-20190726171924-e4737db19f4f
|
||||
+## explicit
|
||||
github.com/antlr/antlr4/runtime/Go/antlr
|
||||
# github.com/bndr/gotabulate v1.1.2
|
||||
+## explicit
|
||||
github.com/bndr/gotabulate
|
||||
# github.com/caibirdme/yql v0.0.0-20190801103415-238f3c90b514
|
||||
+## explicit
|
||||
github.com/caibirdme/yql
|
||||
github.com/caibirdme/yql/internal/grammar
|
||||
github.com/caibirdme/yql/internal/stack
|
||||
# github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f
|
||||
+## explicit
|
||||
github.com/coreos/go-systemd/daemon
|
||||
# github.com/go-ini/ini v1.42.0
|
||||
+## explicit
|
||||
github.com/go-ini/ini
|
||||
# github.com/go-xorm/xorm v0.7.4
|
||||
+## explicit
|
||||
github.com/go-xorm/xorm
|
||||
# github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
|
||||
github.com/golang-collections/collections/stack
|
||||
# github.com/golang/protobuf v1.3.1
|
||||
+## explicit
|
||||
github.com/golang/protobuf/proto
|
||||
github.com/golang/protobuf/protoc-gen-go/descriptor
|
||||
github.com/golang/protobuf/ptypes
|
||||
@@ -26,10 +33,13 @@ github.com/juju/errors
|
||||
# github.com/konsorten/go-windows-terminal-sequences v1.0.1
|
||||
github.com/konsorten/go-windows-terminal-sequences
|
||||
# github.com/mattn/go-sqlite3 v1.11.0
|
||||
+## explicit
|
||||
github.com/mattn/go-sqlite3
|
||||
# github.com/mitchellh/mapstructure v1.1.2
|
||||
+## explicit
|
||||
github.com/mitchellh/mapstructure
|
||||
# github.com/newm4n/grool v1.0.2
|
||||
+## explicit
|
||||
github.com/newm4n/grool/antlr
|
||||
github.com/newm4n/grool/antlr/parser
|
||||
github.com/newm4n/grool/builder
|
||||
@@ -38,11 +48,16 @@ github.com/newm4n/grool/engine
|
||||
github.com/newm4n/grool/model
|
||||
github.com/newm4n/grool/pkg
|
||||
# github.com/sirupsen/logrus v1.4.2
|
||||
+## explicit
|
||||
github.com/sirupsen/logrus
|
||||
github.com/sirupsen/logrus/hooks/syslog
|
||||
+# github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337
|
||||
+## explicit
|
||||
# github.com/urfave/cli v1.20.0
|
||||
+## explicit
|
||||
github.com/urfave/cli
|
||||
# golang.org/x/net v0.0.0-20190724013045-ca1201d0de80
|
||||
+## explicit
|
||||
golang.org/x/net/context
|
||||
golang.org/x/net/http/httpguts
|
||||
golang.org/x/net/http2
|
||||
@@ -60,6 +75,7 @@ golang.org/x/text/unicode/norm
|
||||
# google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107
|
||||
google.golang.org/genproto/googleapis/rpc/status
|
||||
# google.golang.org/grpc v1.22.0
|
||||
+## explicit
|
||||
google.golang.org/grpc
|
||||
google.golang.org/grpc/balancer
|
||||
google.golang.org/grpc/balancer/base
|
||||
@@ -95,7 +111,10 @@ google.golang.org/grpc/serviceconfig
|
||||
google.golang.org/grpc/stats
|
||||
google.golang.org/grpc/status
|
||||
google.golang.org/grpc/tap
|
||||
+# gopkg.in/ini.v1 v1.48.0
|
||||
+## explicit
|
||||
# gopkg.in/yaml.v2 v2.2.2
|
||||
+## explicit
|
||||
gopkg.in/yaml.v2
|
||||
# xorm.io/builder v0.3.5
|
||||
xorm.io/builder
|
||||
--
|
||||
2.23.0
|
||||
|
||||
32
backport-atune-update-test-case.patch
Normal file
32
backport-atune-update-test-case.patch
Normal file
@ -0,0 +1,32 @@
|
||||
From 30cdee5fd09feb6a7bd5afbfa16685c17ef4e369 Mon Sep 17 00:00:00 2001
|
||||
From: gaoruoshu <gaoruoshu@huawei.com>
|
||||
Date: Tue, 29 Dec 2020 09:33:53 +0800
|
||||
Subject: [PATCH] atune update test case
|
||||
|
||||
---
|
||||
tests/configurator/test_kernel_config.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/configurator/test_kernel_config.py b/tests/configurator/test_kernel_config.py
|
||||
index d6dfa7a..9be5485 100644
|
||||
--- a/tests/configurator/test_kernel_config.py
|
||||
+++ b/tests/configurator/test_kernel_config.py
|
||||
@@ -21,13 +21,13 @@ from analysis.plugin.public import NeedConfigWarning
|
||||
class TestKernelConfig:
|
||||
""" test kernel config"""
|
||||
user = "UT"
|
||||
- config_key = "CONFIG_EULEROS_DETAILED_RAS_INFO"
|
||||
+ config_key = "CONFIG_KDB_KEYBOARD"
|
||||
|
||||
def test_get_kernel_config_no_exist(self):
|
||||
"""test get kernel config with no exist"""
|
||||
try:
|
||||
kernel_config = KernelConfig(self.user)
|
||||
- value = kernel_config.get("CONFIG_EULEROS_TEST_KERNEL_CONFIG")
|
||||
+ value = kernel_config.get("CONFIG_TEST_KERNEL_CONFIG")
|
||||
assert value is None
|
||||
except (FileNotFoundError, LookupError):
|
||||
assert True
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
617
backport-atune-update-the-files-description.patch
Normal file
617
backport-atune-update-the-files-description.patch
Normal file
@ -0,0 +1,617 @@
|
||||
From cb2a1d68994361028a685baf1e0aa280bc3a1df1 Mon Sep 17 00:00:00 2001
|
||||
From: gaoruoshu <gaoruoshu@huawei.com>
|
||||
Date: Tue, 22 Dec 2020 19:12:14 +0800
|
||||
Subject: [PATCH] [atune] update the files description
|
||||
|
||||
---
|
||||
Documentation/UserGuide/A-Tune-User-Guide.md | 2 +-
|
||||
...224\250\346\210\267\346\214\207\345\215\227.md" | 2 +-
|
||||
profiles/basic-test-suite/baseline/fio.conf | 53 ++++++++++++++++++++++
|
||||
profiles/basic-test-suite/baseline/lmbench.conf | 49 ++++++++++++++++++++
|
||||
profiles/basic-test-suite/baseline/netperf.conf | 48 ++++++++++++++++++++
|
||||
profiles/basic-test-suite/baseline/stream.conf | 48 ++++++++++++++++++++
|
||||
profiles/basic-test-suite/baseline/unixbench.conf | 51 +++++++++++++++++++++
|
||||
.../basic-test-suite/euleros-baseline/fio.conf | 53 ----------------------
|
||||
.../basic-test-suite/euleros-baseline/lmbench.conf | 49 --------------------
|
||||
.../basic-test-suite/euleros-baseline/netperf.conf | 48 --------------------
|
||||
.../basic-test-suite/euleros-baseline/stream.conf | 48 --------------------
|
||||
.../euleros-baseline/unixbench.conf | 51 ---------------------
|
||||
12 files changed, 251 insertions(+), 251 deletions(-)
|
||||
create mode 100644 profiles/basic-test-suite/baseline/fio.conf
|
||||
create mode 100644 profiles/basic-test-suite/baseline/lmbench.conf
|
||||
create mode 100644 profiles/basic-test-suite/baseline/netperf.conf
|
||||
create mode 100644 profiles/basic-test-suite/baseline/stream.conf
|
||||
create mode 100644 profiles/basic-test-suite/baseline/unixbench.conf
|
||||
delete mode 100644 profiles/basic-test-suite/euleros-baseline/fio.conf
|
||||
delete mode 100644 profiles/basic-test-suite/euleros-baseline/lmbench.conf
|
||||
delete mode 100644 profiles/basic-test-suite/euleros-baseline/netperf.conf
|
||||
delete mode 100644 profiles/basic-test-suite/euleros-baseline/stream.conf
|
||||
delete mode 100644 profiles/basic-test-suite/euleros-baseline/unixbench.conf
|
||||
|
||||
diff --git a/Documentation/UserGuide/A-Tune-User-Guide.md b/Documentation/UserGuide/A-Tune-User-Guide.md
|
||||
index d798d8a..bffface 100644
|
||||
--- a/Documentation/UserGuide/A-Tune-User-Guide.md
|
||||
+++ b/Documentation/UserGuide/A-Tune-User-Guide.md
|
||||
@@ -763,7 +763,7 @@ Check the CPU, BIOS, OS, and NIC information.
|
||||
cpu:1 version: Kunpeng 920-6426 speed: 2600000000 HZ cores: 64
|
||||
system information:
|
||||
DMIBIOSVersion: 0.59
|
||||
- OSRelease: 4.19.36-vhulk1906.3.0.h356.eulerosv2r8.aarch64
|
||||
+ OSRelease: ...
|
||||
network information:
|
||||
name: eth0 product: HNS GE/10GE/25GE RDMA Network Controller
|
||||
name: eth1 product: HNS GE/10GE/25GE Network Controller
|
||||
diff --git "a/Documentation/UserGuide/A-Tune\347\224\250\346\210\267\346\214\207\345\215\227.md" "b/Documentation/UserGuide/A-Tune\347\224\250\346\210\267\346\214\207\345\215\227.md"
|
||||
index cf1fcbf..070aefc 100644
|
||||
--- "a/Documentation/UserGuide/A-Tune\347\224\250\346\210\267\346\214\207\345\215\227.md"
|
||||
+++ "b/Documentation/UserGuide/A-Tune\347\224\250\346\210\267\346\214\207\345\215\227.md"
|
||||
@@ -774,7 +774,7 @@ WORKLOAD_TYPE支持的类型参考list命令查询结果。
|
||||
cpu:1 version: Kunpeng 920-6426 speed: 2600000000 HZ cores: 64
|
||||
system information:
|
||||
DMIBIOSVersion: 0.59
|
||||
- OSRelease: 4.19.36-vhulk1906.3.0.h356.eulerosv2r8.aarch64
|
||||
+ OSRelease: ...
|
||||
network information:
|
||||
name: eth0 product: HNS GE/10GE/25GE RDMA Network Controller
|
||||
name: eth1 product: HNS GE/10GE/25GE Network Controller
|
||||
diff --git a/profiles/basic-test-suite/baseline/fio.conf b/profiles/basic-test-suite/baseline/fio.conf
|
||||
new file mode 100644
|
||||
index 0000000..7427d94
|
||||
--- /dev/null
|
||||
+++ b/profiles/basic-test-suite/baseline/fio.conf
|
||||
@@ -0,0 +1,53 @@
|
||||
+# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
+# A-Tune is licensed under the Mulan PSL v2.
|
||||
+# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
+# You may obtain a copy of Mulan PSL v2 at:
|
||||
+# http://license.coscl.org.cn/MulanPSL2
|
||||
+# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
+# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
+# PURPOSE.
|
||||
+# See the Mulan PSL v2 for more details.
|
||||
+# Create: 2020-06-18
|
||||
+#
|
||||
+# baseline test fio A-Tune configuration
|
||||
+#
|
||||
+[main]
|
||||
+include = include-basic-test-suite
|
||||
+
|
||||
+[kernel_config]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bios]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bootloader.grub2]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysfs]
|
||||
+block/{disk}/queue/scheduler = mq-deadline
|
||||
+block/{disk}/queue/max_sectors_kb = 1024
|
||||
+block/{disk}/queue/read_ahead_kb = 4096
|
||||
+block/{disk}/queue/rq_affinity = 2
|
||||
+
|
||||
+[systemctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[script]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[ulimit]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[schedule_policy]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[check]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[tip]
|
||||
+set /sys/block/{disk}/queue/iosched/retry_dev to 8 colon 16 = sysfs
|
||||
+set /sys/block/{disk}/queue/iosched/retry_count to 8 = sysfs
|
||||
+set /sys/block/{disk}/queue/iosched/retry_min_write to 2 = sysfs
|
||||
diff --git a/profiles/basic-test-suite/baseline/lmbench.conf b/profiles/basic-test-suite/baseline/lmbench.conf
|
||||
new file mode 100644
|
||||
index 0000000..3055e9e
|
||||
--- /dev/null
|
||||
+++ b/profiles/basic-test-suite/baseline/lmbench.conf
|
||||
@@ -0,0 +1,49 @@
|
||||
+# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
+# A-Tune is licensed under the Mulan PSL v2.
|
||||
+# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
+# You may obtain a copy of Mulan PSL v2 at:
|
||||
+# http://license.coscl.org.cn/MulanPSL2
|
||||
+# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
+# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
+# PURPOSE.
|
||||
+# See the Mulan PSL v2 for more details.
|
||||
+# Create: 2020-06-18
|
||||
+#
|
||||
+# baseline test lmbench A-Tune configuration
|
||||
+#
|
||||
+[main]
|
||||
+include = include-basic-test-suite
|
||||
+
|
||||
+[kernel_config]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bios]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bootloader.grub2]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysfs]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[systemctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[script]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[ulimit]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[schedule_policy]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[check]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[tip]
|
||||
+mkfs.ext4 -b 16384 -O ^metadata_csum /dev/{disk} and restart the host = block
|
||||
+modify compilation options from -O to -O2 = compile
|
||||
diff --git a/profiles/basic-test-suite/baseline/netperf.conf b/profiles/basic-test-suite/baseline/netperf.conf
|
||||
new file mode 100644
|
||||
index 0000000..8a5fa06
|
||||
--- /dev/null
|
||||
+++ b/profiles/basic-test-suite/baseline/netperf.conf
|
||||
@@ -0,0 +1,48 @@
|
||||
+# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
+# A-Tune is licensed under the Mulan PSL v2.
|
||||
+# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
+# You may obtain a copy of Mulan PSL v2 at:
|
||||
+# http://license.coscl.org.cn/MulanPSL2
|
||||
+# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
+# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
+# PURPOSE.
|
||||
+# See the Mulan PSL v2 for more details.
|
||||
+# Create: 2020-06-18
|
||||
+#
|
||||
+# baseline test netperf A-Tune configuration
|
||||
+#
|
||||
+[main]
|
||||
+include = include-basic-test-suite
|
||||
+
|
||||
+[kernel_config]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bios]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bootloader.grub2]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysfs]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[systemctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[script]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[ulimit]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[schedule_policy]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[check]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[tip]
|
||||
+#TODO CONFIG
|
||||
diff --git a/profiles/basic-test-suite/baseline/stream.conf b/profiles/basic-test-suite/baseline/stream.conf
|
||||
new file mode 100644
|
||||
index 0000000..0220811
|
||||
--- /dev/null
|
||||
+++ b/profiles/basic-test-suite/baseline/stream.conf
|
||||
@@ -0,0 +1,48 @@
|
||||
+# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
+# A-Tune is licensed under the Mulan PSL v2.
|
||||
+# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
+# You may obtain a copy of Mulan PSL v2 at:
|
||||
+# http://license.coscl.org.cn/MulanPSL2
|
||||
+# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
+# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
+# PURPOSE.
|
||||
+# See the Mulan PSL v2 for more details.
|
||||
+# Create: 2020-06-18
|
||||
+#
|
||||
+# baseline test stream A-Tune configuration
|
||||
+#
|
||||
+[main]
|
||||
+include = include-basic-test-suite
|
||||
+
|
||||
+[kernel_config]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bios]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bootloader.grub2]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysfs]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[systemctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[script]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[ulimit]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[schedule_policy]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[check]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[tip]
|
||||
+add -ftree-vectorize compilation option in gcc compilation = application
|
||||
diff --git a/profiles/basic-test-suite/baseline/unixbench.conf b/profiles/basic-test-suite/baseline/unixbench.conf
|
||||
new file mode 100644
|
||||
index 0000000..9d93246
|
||||
--- /dev/null
|
||||
+++ b/profiles/basic-test-suite/baseline/unixbench.conf
|
||||
@@ -0,0 +1,51 @@
|
||||
+# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
+# A-Tune is licensed under the Mulan PSL v2.
|
||||
+# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
+# You may obtain a copy of Mulan PSL v2 at:
|
||||
+# http://license.coscl.org.cn/MulanPSL2
|
||||
+# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
+# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
+# PURPOSE.
|
||||
+# See the Mulan PSL v2 for more details.
|
||||
+# Create: 2020-06-18
|
||||
+#
|
||||
+# baseline test unixbench A-Tune configuration
|
||||
+#
|
||||
+[main]
|
||||
+include = include-throughput-performance, include-basic-test-suite
|
||||
+
|
||||
+[kernel_config]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bios]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[bootloader.grub2]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysfs]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[systemctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[sysctl]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[script]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[ulimit]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[schedule_policy]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[check]
|
||||
+#TODO CONFIG
|
||||
+
|
||||
+[tip]
|
||||
+format the test block {disk} size to 64KB = block
|
||||
+use writeback, nojournal_checksum, noatime, nobarrier, noinit_itable, noacl and dioread_nolock to mount the test partition and set inode_readahead_blks to 4096 = block
|
||||
+add --without-gmp compilation option to coreutils package and upgrade the package = compile
|
||||
+add --static to the environment variable LDFLAGS during the compilation of bash package and upgrade the package = compile
|
||||
diff --git a/profiles/basic-test-suite/euleros-baseline/fio.conf b/profiles/basic-test-suite/euleros-baseline/fio.conf
|
||||
deleted file mode 100644
|
||||
index 330d43b..0000000
|
||||
--- a/profiles/basic-test-suite/euleros-baseline/fio.conf
|
||||
+++ /dev/null
|
||||
@@ -1,53 +0,0 @@
|
||||
-# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
-# A-Tune is licensed under the Mulan PSL v2.
|
||||
-# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
-# You may obtain a copy of Mulan PSL v2 at:
|
||||
-# http://license.coscl.org.cn/MulanPSL2
|
||||
-# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
-# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
-# PURPOSE.
|
||||
-# See the Mulan PSL v2 for more details.
|
||||
-# Create: 2020-06-18
|
||||
-#
|
||||
-# euleros baseline test fio A-Tune configuration
|
||||
-#
|
||||
-[main]
|
||||
-include = include-basic-test-suite
|
||||
-
|
||||
-[kernel_config]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bios]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bootloader.grub2]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysfs]
|
||||
-block/{disk}/queue/scheduler = mq-deadline
|
||||
-block/{disk}/queue/max_sectors_kb = 1024
|
||||
-block/{disk}/queue/read_ahead_kb = 4096
|
||||
-block/{disk}/queue/rq_affinity = 2
|
||||
-
|
||||
-[systemctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[script]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[ulimit]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[schedule_policy]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[check]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[tip]
|
||||
-set /sys/block/{disk}/queue/iosched/retry_dev to 8 colon 16 = sysfs
|
||||
-set /sys/block/{disk}/queue/iosched/retry_count to 8 = sysfs
|
||||
-set /sys/block/{disk}/queue/iosched/retry_min_write to 2 = sysfs
|
||||
diff --git a/profiles/basic-test-suite/euleros-baseline/lmbench.conf b/profiles/basic-test-suite/euleros-baseline/lmbench.conf
|
||||
deleted file mode 100644
|
||||
index 9ce64a4..0000000
|
||||
--- a/profiles/basic-test-suite/euleros-baseline/lmbench.conf
|
||||
+++ /dev/null
|
||||
@@ -1,49 +0,0 @@
|
||||
-# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
-# A-Tune is licensed under the Mulan PSL v2.
|
||||
-# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
-# You may obtain a copy of Mulan PSL v2 at:
|
||||
-# http://license.coscl.org.cn/MulanPSL2
|
||||
-# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
-# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
-# PURPOSE.
|
||||
-# See the Mulan PSL v2 for more details.
|
||||
-# Create: 2020-06-18
|
||||
-#
|
||||
-# euleros baseline test lmbench A-Tune configuration
|
||||
-#
|
||||
-[main]
|
||||
-include = include-basic-test-suite
|
||||
-
|
||||
-[kernel_config]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bios]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bootloader.grub2]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysfs]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[systemctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[script]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[ulimit]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[schedule_policy]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[check]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[tip]
|
||||
-mkfs.ext4 -b 16384 -O ^metadata_csum /dev/{disk} and restart the host = block
|
||||
-modify compilation options from -O to -O2 = compile
|
||||
diff --git a/profiles/basic-test-suite/euleros-baseline/netperf.conf b/profiles/basic-test-suite/euleros-baseline/netperf.conf
|
||||
deleted file mode 100644
|
||||
index 1470e07..0000000
|
||||
--- a/profiles/basic-test-suite/euleros-baseline/netperf.conf
|
||||
+++ /dev/null
|
||||
@@ -1,48 +0,0 @@
|
||||
-# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
-# A-Tune is licensed under the Mulan PSL v2.
|
||||
-# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
-# You may obtain a copy of Mulan PSL v2 at:
|
||||
-# http://license.coscl.org.cn/MulanPSL2
|
||||
-# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
-# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
-# PURPOSE.
|
||||
-# See the Mulan PSL v2 for more details.
|
||||
-# Create: 2020-06-18
|
||||
-#
|
||||
-# euleros baseline test netperf A-Tune configuration
|
||||
-#
|
||||
-[main]
|
||||
-include = include-basic-test-suite
|
||||
-
|
||||
-[kernel_config]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bios]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bootloader.grub2]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysfs]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[systemctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[script]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[ulimit]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[schedule_policy]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[check]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[tip]
|
||||
-#TODO CONFIG
|
||||
diff --git a/profiles/basic-test-suite/euleros-baseline/stream.conf b/profiles/basic-test-suite/euleros-baseline/stream.conf
|
||||
deleted file mode 100644
|
||||
index 602a7c4..0000000
|
||||
--- a/profiles/basic-test-suite/euleros-baseline/stream.conf
|
||||
+++ /dev/null
|
||||
@@ -1,48 +0,0 @@
|
||||
-# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
-# A-Tune is licensed under the Mulan PSL v2.
|
||||
-# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
-# You may obtain a copy of Mulan PSL v2 at:
|
||||
-# http://license.coscl.org.cn/MulanPSL2
|
||||
-# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
-# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
-# PURPOSE.
|
||||
-# See the Mulan PSL v2 for more details.
|
||||
-# Create: 2020-06-18
|
||||
-#
|
||||
-# euleros baseline test stream A-Tune configuration
|
||||
-#
|
||||
-[main]
|
||||
-include = include-basic-test-suite
|
||||
-
|
||||
-[kernel_config]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bios]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bootloader.grub2]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysfs]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[systemctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[script]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[ulimit]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[schedule_policy]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[check]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[tip]
|
||||
-add -ftree-vectorize compilation option in gcc compilation = application
|
||||
diff --git a/profiles/basic-test-suite/euleros-baseline/unixbench.conf b/profiles/basic-test-suite/euleros-baseline/unixbench.conf
|
||||
deleted file mode 100644
|
||||
index fb74ab6..0000000
|
||||
--- a/profiles/basic-test-suite/euleros-baseline/unixbench.conf
|
||||
+++ /dev/null
|
||||
@@ -1,51 +0,0 @@
|
||||
-# Copyright (c) 2020 Huawei Technologies Co., Ltd.
|
||||
-# A-Tune is licensed under the Mulan PSL v2.
|
||||
-# You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||
-# You may obtain a copy of Mulan PSL v2 at:
|
||||
-# http://license.coscl.org.cn/MulanPSL2
|
||||
-# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||
-# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||
-# PURPOSE.
|
||||
-# See the Mulan PSL v2 for more details.
|
||||
-# Create: 2020-06-18
|
||||
-#
|
||||
-# euleros baseline test unixbench A-Tune configuration
|
||||
-#
|
||||
-[main]
|
||||
-include = include-throughput-performance, include-basic-test-suite
|
||||
-
|
||||
-[kernel_config]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bios]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[bootloader.grub2]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysfs]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[systemctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[sysctl]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[script]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[ulimit]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[schedule_policy]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[check]
|
||||
-#TODO CONFIG
|
||||
-
|
||||
-[tip]
|
||||
-format the test block {disk} size to 64KB = block
|
||||
-use writeback, nojournal_checksum, noatime, nobarrier, noinit_itable, noacl and dioread_nolock to mount the test partition and set inode_readahead_blks to 4096 = block
|
||||
-add --without-gmp compilation option to coreutils package and upgrade the package = compile
|
||||
-add --static to the environment variable LDFLAGS during the compilation of bash package and upgrade the package = compile
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user