Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.1.0 版本适配 openEuler RISC-V 22.03 v2 #2

Open
wants to merge 582 commits into
base: master
Choose a base branch
from

Conversation

nexplorer-3e
Copy link

【实现方案】
获取三方库源码,在 openEuler 22.03 RISC-V 编译。涉及到两个方面。一是对三方库部分组件的修改,二是需要单独引入适用于龙芯平台的gcc和openjdk。修改opengauss源码,并采用编译的三方库构建。由于库自带的 autoconf 文件较旧,无法支持新平台,故引用了在 6.0 中适配 loongarch64 的提交以完成对新平台的适配。由于 oerv 从 23.09 开始使用了较新的 gcc, 可能无法支持 openGauss, 故适配使用了 oe2203v2 的环境。

  • openEuler 22.03 RISC-V 获取
    软件所提供了 oe2203v2 的适配,其中的软件较新,并且有合适的 gcc 和 openjdk 版本( gcc 10.3.1, 基本同 arm 相同),由于是在 docker 中进行适配,故此处获取 tarball, 并导入 docker 进行使用。
  1. https://mirror.iscas.ac.cn/openeuler-sig-riscv/openEuler-RISC-V/preview/openEuler-22.03-V2-riscv64/openeuler-rootfs.tar.gz 获取 tarball
  2. 使用 docker import openeuler-rootfs.tar.gz 导入镜像进行使用
  3. 对导入的镜像进行标记方便后续使用
  4. docker run 启动一个 oe2203v2 的环境
  • 安装依赖及环境修改
    第三方源码库和数据库编译所需的依赖可用如下命令安装:
dnf install -y libaio-devel flex bison ncurses-devel glibc-devel patch openeuler-lsb readline-devel cmake pam-devel libffi-devel tar python3-devel perl
dnf install -y python3-unversioned-command
dnf install -y libtool automake libtool-devel
dnf install -y python3-pyyaml
dnf install -y java-1.8.0-openjdk-devel

第三方库中的 boost 库编译 python 相关部分时需要从 /usr/include/python3.8m 获取头文件。而 oe2203v2 中的 python3-devel 将头文件安装在了 /usr/include/python3.8 。考虑到写死版本不是好的做法,此处通过建立软链接以通过编译。
使用以下命令建立一个 python3.8m 到 python3 的软链接:

# hack for boost: link /usr/include/python*m if not exist
pushd /usr/include
        PYVERH=`python3 -c 'import sysconfig; print(sysconfig.get_config_h_filename())'`
        PYVERH=`dirname $PYVERH`
        PYVERH=`basename $PYVERH`
        if ! [ -d "${PYVERH}m" ] ; then
                ln -s $PYVERH "${PYVERH}m"
        fi
popd
  • 拉取第三方源码库
    对于 risc-v 架构的适配尚未并入上游,故先从 fork 仓库拉取适配的代码。由于 thirdparty 仓库文件过大,无法方便地托管在 github 上,故从 gitee 进行拉取。
    仓库中包含了一副从 oe2203v2 中临时提取的 bishengjdk8,合入上游前需要更名,并且对组件库的编译参数进行了调整放宽以适配 risc-v 环境。
  1. https://gitee.com/ptr_0f_invalid/openGauss-third_party 的 510-riscv 分支拉取第三方源码库。请注意,拉取的是 510-riscv 分支。按照官方步骤进行编译。适配的提交包括了一些多进程编译改进,在 sg2042 上完整编译一遍需要约 3h.
  2. 获取 gcc
    使用以下的命令获取一份 gcc:
# workaround: use system gcc
mkdir gccrpm
pushd gccrpm
dnf download --resolve gcc gcc-c++ \
        libatomic libgcc libstdc++-devel libstdc++ \
        libgomp readline-devel cpp
rpm2archive *.rpm
rm -rf *.rpm
for i in *.tgz; do tar xf $i; done
rm -rf *.tgz
cp -rf lib*/* usr/lib/
pushd usr
if [ -d lib64 ] ; then
cp -rf lib64/*
rm -rf lib64
fi
ln -s lib lib64
# hack: create symlink to libgomp.so.1
pushd lib
ln -s libgomp.so.1 libgomp.so
popd
popd
mv usr gcc
ls |grep -v gcc |xargs rm -rf
popd
mv gccrpm gcc10.3
echo "please move gcc10.3 to output/buildtools after compoment build fails, then manually rerun component/build/build_component.sh"

没有问题后,将会在同目录下得到一个 gcc10.3 的文件夹,将其移入 thirdparty 仓库下的 output/buildtools/ 目录中。

mv gcc10.3 output/buildtools/
  • 拉取 openGauss 仓库并编译轻量版
  1. 拉取本 pr (或从个人仓库的 5.1.0-riscv 分支进行拉取)
  2. 调用 cmake_package_mini.sh 并指定第三方库构建完成得到的目录 <仓库名>/output 来构建 openGauss Lite:
sh build/script/cmake_package_mini.sh -3rd $PWD/../openGauss-third_party/output/ -pkg all

-3rd 后的路径推荐使用绝对路径)
在 sg2042 上构建大概需要 20 分钟。完成后,将在 mppdb-temp-install/ 下得到可用的 openGauss, 在 output/ 下也将得到打包好的 openGauss tarball.

【TPCC 验证】

  • 安装 openGauss
  1. 参照官方文档 [版本编译-编译后验证]
    (https://docs-opengauss.osinfra.cn/zh/docs/5.1.0/docs/CompilationGuide/%E7%89%88%E6%9C%AC%E7%BC%96%E8%AF%91.html#%E7%BC%96%E8%AF%91%E5%90%8E%E9%AA%8C%E8%AF%81) 的部分进行数据库的安装和初始化。测试了直接安装在 mppdb-temp-install 的 opengauss, 通过 tar 安装的途径限于时间关系没有测试。
# 新建用户
groupadd dbgrp
useradd omm -d dbgrp
useradd omu -d dbgrp  #测试用用户,如果在其他端测试可不新建

# 添加环境变量
mkdir -p /home/omm
cat << EOF > /home/omm/.bashrc
export GAUSSHOME=/root/openGauss-server/mppdb-temp-install ##编译结果的路径,可根据实际情况修改
chmod -R omm:dbgrp $GAUSSHOME
export LD_LIBRARY_PATH=$GAUSSHOME/lib:$LD_LIBRARY_PATH
export PATH=$GAUSSHOME/bin:$PATH
EOF
chown -R omm:dbgrp /home/omm

# 进入数据库管理用户 omm 开始配置数据库
su omm -l
# 以下命令在 omm 用户环境执行
mkdir data log
touch log/opengauss.log
gs_initdb -D $HOME/data --nodename=db1 
gs_ctl start -D /home/omm/data -Z single_node -l /home/omm/log/opengauss.log

image

  1. 配置完成后,在 omm 用户环境中使用 gsql 设定初始密码并创建 TPCC 测试用的数据库和用户。
gsql -d postgres
alter role "omm" password '1ee4514_';
create user bot identified by 'Gaussdba@Mpp' profile default; 
alter user bot sysadmin; 
create database tpcc1000 encoding 'UTF8' template=template0 owner bot;
  1. 从 Sourceforge 下载 BenchmarkSQL 5.0
  2. 下载 https://opengauss.obs.cn-south-1.myhuaweicloud.com/1.0.0/MOT-TPCC-Benchmark.tar.gz 并按照章节指示替换指定的文件。

该tar文件的内容包括sql.common.opengauss.mot文件夹和jTPCCTData.java文件,以及一个示例配置文件postgresql.conf和TPCC属性文件props.mot供参考。
将sql.common.opengauss.mot文件夹放在run文件夹下与sql.common同级的文件夹,用下载的Java文件替换src/client/jTPCCTData.java文件。

  1. 编辑run文件夹下的runDatabaseBuild.sh文件,将extraHistID从AFTER_LOAD列表中删除,以避免不支持的ALTER表DDL
  2. 替换 jdbc 驱动。驱动可以从编译好后 openGauss-server 仓库的 src/test/regress/jdbc_test/gsjdbc400.jar 获取到。未测试同 maven 仓库 driver 的兼容性。
  3. 编译 BenchmarkSQL. 编译过程可能遇到 javac 无法处理某行注释内字符的错误,删除这行即可。
  4. 修改配置文件 (props.pg 或 props.mot),以下是验证时使用的配置:
db=postgres
driver=org.postgresql.Driver
conn=jdbc:postgresql://localhost:5432/tpcc1000?prepareThreshold=1&batchMode=on&fetchsize=10
user=bot
password=Gaussdba@Mpp

warehouses=8
loadWorkers=40

terminals=37
//To run specified transactions per terminal- runMins must equal zero
runTxnsPerTerminal=10
//To run for specified minutes- runTxnsPerTerminal must equal zero
runMins=0
//Number of total transactions per minute
limitTxnsPerMin=300

//Set to true to run in 4.x compatible mode. Set to false to use the
//entire configured database evenly.
terminalWarehouseFixed=true

//The following five values must add up to 100
//The default percentages of 45, 43, 4, 4 & 4 match the TPC-C spec
newOrderWeight=45
paymentWeight=43
orderStatusWeight=4
deliveryWeight=4
stockLevelWeight=4
  1. 参考 测试TPCC性能 替换 sql.common/tableCreates.sql 中的内容。
  2. 导入数据。
./runDatabaseBuild.sh props.gs
  • 进行 TPCC 测试
./runBenchmark.sh props.gs

实际测试时,应当使用较大的 warehouse 并且使用 numactl 进行绑核。
测试日志如下:

Details

```log 19:17:40,827 [main] INFO jTPCC : Term-00, 19:17:40,842 [main] INFO jTPCC : Term-00, +-------------------------------------------------------------+ 19:17:40,843 [main] INFO jTPCC : Term-00, BenchmarkSQL v5.0 19:17:40,844 [main] INFO jTPCC : Term-00, +-------------------------------------------------------------+ 19:17:40,845 [main] INFO jTPCC : Term-00, (c) 2003, Raul Barbosa 19:17:40,846 [main] INFO jTPCC : Term-00, (c) 2004-2016, Denis Lussier 19:17:40,855 [main] INFO jTPCC : Term-00, (c) 2016, Jan Wieck 19:17:40,856 [main] INFO jTPCC : Term-00, +-------------------------------------------------------------+ 19:17:40,857 [main] INFO jTPCC : Term-00, 19:17:40,858 [main] INFO jTPCC : Term-00, db=postgres 19:17:40,859 [main] INFO jTPCC : Term-00, driver=org.postgresql.Driver 19:17:40,860 [main] INFO jTPCC : Term-00, conn=jdbc:postgresql://localhost:5432/tpcc1000?prepareThreshold=1&batchMode=on&fetchsize=10 19:17:40,861 [main] INFO jTPCC : Term-00, user=bot 19:17:40,861 [main] INFO jTPCC : Term-00, 19:17:40,862 [main] INFO jTPCC : Term-00, warehouses=8 19:17:40,863 [main] INFO jTPCC : Term-00, terminals=37 19:17:40,879 [main] INFO jTPCC : Term-00, runTxnsPerTerminal=10 19:17:40,880 [main] INFO jTPCC : Term-00, limitTxnsPerMin=300 19:17:40,881 [main] INFO jTPCC : Term-00, terminalWarehouseFixed=true 19:17:40,881 [main] INFO jTPCC : Term-00, 19:17:40,882 [main] INFO jTPCC : Term-00, newOrderWeight=45 19:17:40,883 [main] INFO jTPCC : Term-00, paymentWeight=43 19:17:40,884 [main] INFO jTPCC : Term-00, orderStatusWeight=4 19:17:40,884 [main] INFO jTPCC : Term-00, deliveryWeight=4 19:17:40,885 [main] INFO jTPCC : Term-00, stockLevelWeight=4 19:17:40,886 [main] INFO jTPCC : Term-00, 19:17:40,886 [main] INFO jTPCC : Term-00, resultDirectory=null 19:17:40,887 [main] INFO jTPCC : Term-00, osCollectorScript=null 19:17:40,888 [main] INFO jTPCC : Term-00, 19:17:49,093 [main] INFO jTPCC : Term-00, C value for C_LAST during load: 156 19:17:49,095 [main] INFO jTPCC : Term-00, C value for C_LAST this run: 240 19:17:49,096 [main] INFO jTPCC : Term-00, Term-00, Running Average tpmTOTAL: 0.00 Current tpmTOTAL: 0 Memory Usage: 5MB / 15MB �����������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 1428.57 Current tpmTOTAL: 12 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 368.09 Current tpmTOTAL: 96 Memory Usage: 7MB / 15MB ��������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 435.89 Current tpmTOTAL: 204 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 371.13 Current tpmTOTAL: 252 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.26 Current tpmTOTAL: 264 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 170.16 Current tpmTOTAL: 276 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 177.29 Current tpmTOTAL: 288 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 184.41 Current tpmTOTAL: 300 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 186.91 Current tpmTOTAL: 336 Memory Usage: 12MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 214.40 Current tpmTOTAL: 384 Memory Usage: 8MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 210.14 Current tpmTOTAL: 420 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 160.63 Current tpmTOTAL: 408 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.70 Current tpmTOTAL: 408 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 159.30 Current tpmTOTAL: 408 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.16 Current tpmTOTAL: 420 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.23 Current tpmTOTAL: 432 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.88 Current tpmTOTAL: 468 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.62 Current tpmTOTAL: 480 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 179.63 Current tpmTOTAL: 528 Memory Usage: 12MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 201.89 Current tpmTOTAL: 612 Memory Usage: 8MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 203.33 Current tpmTOTAL: 612 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 193.78 Current tpmTOTAL: 624 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 188.75 Current tpmTOTAL: 624 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 189.31 Current tpmTOTAL: 648 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 183.50 Current tpmTOTAL: 660 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 186.73 Current tpmTOTAL: 696 Memory Usage: 12MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 188.45 Current tpmTOTAL: 732 Memory Usage: 12MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 186.47 Current tpmTOTAL: 744 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 186.01 Current tpmTOTAL: 780 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 180.88 Current tpmTOTAL: 780 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 178.37 Current tpmTOTAL: 792 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 180.85 Current tpmTOTAL: 816 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 173.93 Current tpmTOTAL: 816 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 173.23 Current tpmTOTAL: 804 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 171.89 Current tpmTOTAL: 804 Memory Usage: 12MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 174.45 Current tpmTOTAL: 852 Memory Usage: 12MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 172.22 Current tpmTOTAL: 876 Memory Usage: 13MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.25 Current tpmTOTAL: 876 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.68 Current tpmTOTAL: 876 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.79 Current tpmTOTAL: 912 Memory Usage: 9MB / 15MB ���������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 169.30 Current tpmTOTAL: 912 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 169.38 Current tpmTOTAL: 936 Memory Usage: 10MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 170.78 Current tpmTOTAL: 972 Memory Usage: 11MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 173.47 Current tpmTOTAL: 1008 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 177.10 Current tpmTOTAL: 1056 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 175.05 Current tpmTOTAL: 1032 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 175.93 Current tpmTOTAL: 1056 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 173.97 Current tpmTOTAL: 1068 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 174.65 Current tpmTOTAL: 1104 Memory Usage: 9MB / 15MB ����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 172.09 Current tpmTOTAL: 1104 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 170.05 Current tpmTOTAL: 1104 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 169.65 Current tpmTOTAL: 1128 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 169.18 Current tpmTOTAL: 1128 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.38 Current tpmTOTAL: 1164 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 167.50 Current tpmTOTAL: 1164 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 167.23 Current tpmTOTAL: 1188 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.56 Current tpmTOTAL: 1224 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.14 Current tpmTOTAL: 1236 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 166.78 Current tpmTOTAL: 1260 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 166.01 Current tpmTOTAL: 1284 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.78 Current tpmTOTAL: 1296 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 165.74 Current tpmTOTAL: 1296 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 166.38 Current tpmTOTAL: 1320 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.03 Current tpmTOTAL: 1356 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.74 Current tpmTOTAL: 1368 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.02 Current tpmTOTAL: 1404 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.05 Current tpmTOTAL: 1392 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 169.06 Current tpmTOTAL: 1428 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.82 Current tpmTOTAL: 1452 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.08 Current tpmTOTAL: 1428 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 166.71 Current tpmTOTAL: 1440 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 168.82 Current tpmTOTAL: 1488 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.83 Current tpmTOTAL: 1524 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.60 Current tpmTOTAL: 1500 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.52 Current tpmTOTAL: 1500 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.14 Current tpmTOTAL: 1512 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.61 Current tpmTOTAL: 1512 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.52 Current tpmTOTAL: 1536 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.37 Current tpmTOTAL: 1560 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.67 Current tpmTOTAL: 1584 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 165.54 Current tpmTOTAL: 1608 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.86 Current tpmTOTAL: 1596 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.54 Current tpmTOTAL: 1608 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.39 Current tpmTOTAL: 1632 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.54 Current tpmTOTAL: 1644 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.12 Current tpmTOTAL: 1632 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.95 Current tpmTOTAL: 1668 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.09 Current tpmTOTAL: 1656 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.94 Current tpmTOTAL: 1680 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.12 Current tpmTOTAL: 1692 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 161.73 Current tpmTOTAL: 1680 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.84 Current tpmTOTAL: 1728 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.69 Current tpmTOTAL: 1788 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.71 Current tpmTOTAL: 1740 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 165.92 Current tpmTOTAL: 1788 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 167.23 Current tpmTOTAL: 1836 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 166.65 Current tpmTOTAL: 1836 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 166.41 Current tpmTOTAL: 1848 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 165.56 Current tpmTOTAL: 1860 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 165.35 Current tpmTOTAL: 1848 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.71 Current tpmTOTAL: 1872 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.99 Current tpmTOTAL: 1872 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.10 Current tpmTOTAL: 1884 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.50 Current tpmTOTAL: 1920 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 164.06 Current tpmTOTAL: 1956 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.87 Current tpmTOTAL: 1956 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.35 Current tpmTOTAL: 1956 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 161.50 Current tpmTOTAL: 1968 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 161.32 Current tpmTOTAL: 1980 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 160.24 Current tpmTOTAL: 1992 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 160.34 Current tpmTOTAL: 1992 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 161.01 Current tpmTOTAL: 2028 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.74 Current tpmTOTAL: 2088 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.30 Current tpmTOTAL: 2076 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 162.17 Current tpmTOTAL: 2088 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 163.56 Current tpmTOTAL: 2124 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 160.44 Current tpmTOTAL: 2124 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 160.94 Current tpmTOTAL: 2124 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 158.02 Current tpmTOTAL: 2136 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 158.27 Current tpmTOTAL: 2136 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 157.65 Current tpmTOTAL: 2136 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 155.72 Current tpmTOTAL: 2148 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 152.19 Current tpmTOTAL: 2148 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 152.60 Current tpmTOTAL: 2148 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 152.04 Current tpmTOTAL: 2148 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 151.36 Current tpmTOTAL: 2160 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 151.49 Current tpmTOTAL: 2160 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 151.62 Current tpmTOTAL: 2160 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 151.26 Current tpmTOTAL: 2172 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 151.56 Current tpmTOTAL: 2172 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 150.85 Current tpmTOTAL: 2184 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 150.93 Current tpmTOTAL: 2196 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 151.00 Current tpmTOTAL: 2208 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 151.52 Current tpmTOTAL: 2232 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 151.62 Current tpmTOTAL: 2268 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 151.67 Current tpmTOTAL: 2280 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 152.17 Current tpmTOTAL: 2304 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 150.35 Current tpmTOTAL: 2304 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 147.72 Current tpmTOTAL: 2304 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 147.59 Current tpmTOTAL: 2316 Memory Usage: 14MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 147.16 Current tpmTOTAL: 2316 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 147.10 Current tpmTOTAL: 2328 Memory Usage: 10MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 146.51 Current tpmTOTAL: 2340 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 146.85 Current tpmTOTAL: 2352 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 142.06 Current tpmTOTAL: 2364 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 142.19 Current tpmTOTAL: 2364 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 142.30 Current tpmTOTAL: 2364 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 142.43 Current tpmTOTAL: 2376 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 140.09 Current tpmTOTAL: 2388 Memory Usage: 11MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 139.72 Current tpmTOTAL: 2388 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 139.83 Current tpmTOTAL: 2400 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 136.93 Current tpmTOTAL: 2400 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 135.69 Current tpmTOTAL: 2412 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 135.57 Current tpmTOTAL: 2412 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 134.72 Current tpmTOTAL: 2424 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 131.46 Current tpmTOTAL: 2424 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 130.02 Current tpmTOTAL: 2436 Memory Usage: 12MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 117.55 Current tpmTOTAL: 2448 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 116.65 Current tpmTOTAL: 2448 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 107.22 Current tpmTOTAL: 2448 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 105.74 Current tpmTOTAL: 2448 Memory Usage: 13MB / 15MB �����������������������������������������������������������������������������������������������������������Term-00, Running Average tpmTOTAL: 97.18 Current tpmTOTAL: 2448 Memory Usage: 14MB / 15MB ���������������������������������������������������������������������������������������������������������� 19:25:47,078 [Thread-5] INFO jTPCC : Term-00, 19:25:47,079 [Thread-5] INFO jTPCC : Term-00, 19:25:47,081 [Thread-5] INFO jTPCC : Term-00, Measured tpmC (NewOrders) = 44.0 19:25:47,082 [Thread-5] INFO jTPCC : Term-00, Measured tpmTOTAL = 97.17 19:25:47,083 [Thread-5] INFO jTPCC : Term-00, Session Start = 2024-02-26 19:21:58 19:25:47,084 [Thread-5] INFO jTPCC : Term-00, Session End = 2024-02-26 19:25:47 19:25:47,085 [Thread-5] INFO jTPCC : Term-00, Transaction Count = 370

将会在仓库的 release 上传手工打包的 mppdb-temp-install 和 gsjdbc400.jar.

Footnotes

  1. https://docs-opengauss.osinfra.cn/zh/docs/5.1.0/docs/PerformanceTuningGuide/%E6%B5%8B%E8%AF%95TPCC%E6%80%A7%E8%83%BD.html

arcoalien@qq.com and others added 30 commits August 30, 2023 19:48
Merge pull request !4043 from 吉文克/master
Merge pull request !4055 from 吉文克/master
Merge pull request !4058 from Carl/tuidian
Merge pull request !4039 from 姜岩/master
Merge pull request !4042 from 东山/master
Merge pull request !2955 from xiyanziran/master-minread
Signed-off-by: xiyanziran <quanzl@vastdata.com.cn>
Merge pull request !4056 from xiyanziran/master-procarray
Merge pull request !4004 from xiyanziran/master-entab
Merge pull request !4072 from Carl/tuidian
Merge pull request !4025 from Carl/master
Merge pull request !4067 from chenxiaobin/dropSlot
openGaussDev and others added 27 commits September 26, 2023 14:19
More detail:fix RTO&Standby_Read params pro
Merge pull request !4215 from 姜岩/progressbar
Merge pull request !4218 from zhangchengzhe/master
Merge pull request !4219 from 董宁/bugfix9_up
Merge pull request !4197 from april01xxx/master_merge_into
Merge pull request !4224 from 董宁/sync7_up
Merge pull request !4223 from Carl/master
Merge pull request !4225 from Movead/master
Merge pull request !4187 from Movead/master
Merge pull request !4222 from laishenghao/master
Merge pull request !4228 from 董宁/sync8_up
Merge pull request !4232 from 杨皓/rto
Merge pull request !4233 from 杨皓/copy
TODO add support in makefile & comments
TODO: enable mot & comment
install by path would cause file exist error
@sunmin89
Copy link

  • openEuler 22.03 RISC-V 获取

嗨,我打算对你的提交进行验证,想问一下,本次提交的结果能否运行到 openEuler-23.03,因为欧拉的官方镜像从 这里开始支持SG2042(pioneerbox)
https://mirror.iscas.ac.cn/openeuler-sig-riscv/openEuler-RISC-V/preview/openEuler-23.03-V1-riscv64/

我打算安装这个版本的操作系统,然后测验你的提交!

@sunmin89
Copy link

尊敬的参赛选手,您好。
本次锦标赛您所提交的 PR 初步复测结果如 https://github.com/plctlab/rvspoc/blob/main/Results/Verifications/S2305/README.md 所示。如有任何异议请回复本条评论。如确认无误请回复 “确认无误”,感谢您的配合。

@nexplorer-3e
Copy link
Author

尊敬的参赛选手,您好。 本次锦标赛您所提交的 PR 初步复测结果如 https://github.com/plctlab/rvspoc/blob/main/Results/Verifications/S2305/README.md 所示。如有任何异议请回复本条评论。如确认无误请回复 “确认无误”,感谢您的配合。

确认无误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet