Fix I1OT20

This commit is contained in:
木得感情的openEuler机器人 2020-12-26 16:32:07 +08:00 committed by Gitee
parent 0b717b3443
commit ea3b9fcf9e
2 changed files with 7 additions and 3 deletions

View File

@ -9,8 +9,9 @@
#PURPOSE.
#See the Mulan PSL v2 for more details.
CPUNO=`cat /proc/cpuinfo|grep processor|wc -l`
export GOMP_CPU_AFFINITY=0-$[CPUNO - 1]
# Disabled for GOMP issue with rpmbuild
# CPUNO=`cat /proc/cpuinfo|grep processor|wc -l`
# export GOMP_CPU_AFFINITY=0-$[CPUNO - 1]
sysctl -w vm.min_free_kbytes=112640 &> /dev/null
sysctl -w vm.dirty_ratio=60 &> /dev/null

View File

@ -5,7 +5,7 @@
%define dist_release_version 8
%define generic_version 20.03
%define generic_patch_level LTS
%define generic_release 40
%define generic_release 41
%define builtin_release_version 1.0
%define current_arch %{_arch}
@ -136,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT
/etc/profile.d/performance.sh
%changelog
* Sat Dec 26 2020 Shinwell_Hu <huxinwei@huawei.com> - 1.0-41
- Disable GOMP_CPU_AFFINITY setting in performance.sh to fix issue I1OT20
* Thu Aug 20 2020 co <colo9@outlook.com> - 1.0-40
- fix bad date format in changelog
- /sbin/ip not found err fix