!38 【轻量级 PR】:Fix I1OT20
From: @shinwell_hu Reviewed-by: @licihua Signed-off-by: @licihua
This commit is contained in:
commit
72605b3e7c
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user