# 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
#
# consumer cloud olc A-Tune configuration
#
[main]
include = default-default
[kernel_config]
#TODO CONFIG
[bios]
#TODO CONFIG
[bootloader.grub2]
#TODO CONFIG
[sysfs]
#TODO CONFIG
[systemctl]
#TODO CONFIG
[sysctl]
net.core.rps_sock_flow_entries = 0
[script]
prefetch = off
ethtool = -L {network} combined 1
rps_cpus = {network} 0
sched_domain = domain0/flags 4639 | domain1/flags 25631
[ulimit]
#TODO CONFIG
[schedule_policy]
#TODO CONFIG
[check]
#TODO CONFIG
[tip]
set the number of threads to be the same as the number of cores in tomcat = application
set jvm parameters to -Xmn800m -Xmx2G = application
set -XX:MinInliningThreshold to 150, set -XX:FreqInlineSize to 450, set -XX:MaxInlineLevel to 15 and set -XX:MaxInlineSize to 100 = application
set socket to TCP_NODELAY = application
set kernel.halt_poll_threshold to 800000 = sysctl