Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
队伍名 Nests
编译
OS: Debian GNU/Linux 12 (bookworm) x86_64
Kernel: 6.1.0-21-amd64
Go:go version go1.22.6 linux/amd64
GCC:riscv64-unknown-elf-gcc 13.2.0 / Xuantie-900-gcc-linux-6.6.0-glibc-x86_64-V2.10.1
$ git clone https://github.com/hanbings/rvspoc-S2427-tidb.git $ cd rvspoc-S2427-tidb $ sudo apt-get install gcc-riscv64-linux-gnu $ GOOS=linux GOARCH=riscv64 CC=riscv64-linux-gnu-gcc make server
Sysbench 测试
说明:Sysbench 使用了 LuaJIT,而 LuaJIT 在上游中的 RISCV 版本并未稳定,我们并未在 RISCV 架构中成功运行 Sysbench 软件。因此为了最低延迟,我们 从 Sysbench 签出代码 并在同上编译步骤中使用本地的机器(x86)编译并上传至开发机的跳板机(x86)中进行测试。
依据 TiDB 官方文档中的 Sysbench 测试部分,我们使用以下指令测试了 TiDB 在 Point Select、Update Index 和 Read Only 的性能,其中数据导入仅进行一次导入并在全部测试中使用同一个数据集,预热步骤可以选做(预热需要一定的时间,如果不进行预热步骤请在所有的测试中均不使用预热)
config
文件已附带于提交中
SG2042 / Pioneer Box
下面是使用不同编译器和参数的 TiDB 运行在 RVBox 12 或 RVBox 13 的 Sysbench 测试结果。
RVBox12 gcc-riscv64-linux-gnu 编译器(默认参数)
RVBox13 gcc-riscv64-linux-gnu 编译器(默认参数)
RVBox13 gcc-riscv64-linux-gnu 编译器(-mtune=thead-c906)
RVBox13 gcc-riscv64-linux-gnu 编译器(-march=rv64gcv_zfh_xtheadba_xtheadcondmov_xtheadmac)
RVBox13 Xuantie-900-gcc-linux-6.6.0-glibc-x86_64-V2.10.1 编译器(rv64imafdcv0p7_zfh_xtheadc)
请确认勾选以下复选框,声明本人已知悉对应的提交要求。
(Please make sure to check the following box to declare that I am aware of the corresponding submission requirements.)
(I have read in full and confirm that I agree to the latest Submission Requirements for this challenge),
本赛题最新提交要求(The latest Submission Requirements)
RISC-V 软件移植及优化锦标赛
RISC-V Software Porting and Optimization Championship