!38 【轻量级 PR】:Fix I1OT20

From: @shinwell_hu
Reviewed-by: @licihua
Signed-off-by: @licihua
This commit is contained in:
openeuler-ci-bot 2020-12-26 16:43:51 +08:00 committed by Gitee
commit 72605b3e7c
2 changed files with 7 additions and 3 deletions

View File

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

View File

@ -5,7 +5,7 @@
%define dist_release_version 8 %define dist_release_version 8
%define generic_version 20.03 %define generic_version 20.03
%define generic_patch_level LTS %define generic_patch_level LTS
%define generic_release 40 %define generic_release 41
%define builtin_release_version 1.0 %define builtin_release_version 1.0
%define current_arch %{_arch} %define current_arch %{_arch}
@ -136,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT
/etc/profile.d/performance.sh /etc/profile.d/performance.sh
%changelog %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 * Thu Aug 20 2020 co <colo9@outlook.com> - 1.0-40
- fix bad date format in changelog - fix bad date format in changelog
- /sbin/ip not found err fix - /sbin/ip not found err fix