Bug 7994 - [Anolis23.1][RC1][loongarch64][Tone]Tone平台测试性能sysbench和netperf-standalone失败,均编译不通过,需要适配下系统
Summary: [Anolis23.1][RC1][loongarch64][Tone]Tone平台测试性能sysbench和netperf-standalone失败,均...
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.1
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-19 15:52 UTC by liqianwen
Modified: 2024-03-29 09:39 UTC (History)
3 users (show)

See Also:


Attachments
sysbench日志信息 (35.33 KB, text/x-log)
2024-01-19 15:52 UTC, liqianwen
Details
netperf-standalone日志信息 (29.41 KB, text/x-log)
2024-01-19 15:53 UTC, liqianwen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description liqianwen loongson_group 2024-01-19 15:52:17 UTC
Created attachment 969 [details]
sysbench日志信息

Description of problem:
Tone平台测试性能sysbench和netperf-standalone失败,均编译不通过,需要适配下系统
 
软件环境:
#内核版本:
# uname -r
5.10.134-16.2_rc1.an23.loongarch64

#系统版本
# cat /etc/os-release 
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

Steps to Reproduce:
1.在Tone平台上跑sysbench和netperf-standalone性能数据


Actual results:
1、sysbench测试部分日志信息如下:
lj_arch.h:59:2: error: #error "No support for this architecture (yet)"
59 | #error "No support for this architecture (yet)"
| ^~~~~
lj_arch.h:357:2: error: #error "No target architecture defined"
357 | #error "No target architecture defined"
| ^~~~~
lj_arch.h:59:2: error: #error "No support for this architecture (yet)"
59 | #error "No support for this architecture (yet)"
| ^~~~~


2、netperf-standalone测试部分日志信息如下:
UNAME_MACHINE = loongarch64
UNAME_RELEASE = 5.10.134-16.2_rc1.an23.loongarch64
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Tue Jan 2 09:58:44 CST 2024
configure: error: cannot guess build type; you must specify one
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install-exec'. Stop.
test IP runtime send_size testconf


Expected results:
sysbench和netperf-standalone性能数据可正常跑出来

Additional info:
Comment 1 liqianwen loongson_group 2024-01-19 15:53:15 UTC
Created attachment 970 [details]
netperf-standalone日志信息
Comment 2 wenlong loongson_group 2024-01-19 15:58:04 UTC
sysbench修复链接见:
https://gitee.com/anolis/tone-cli/pulls/486
Comment 3 wenlong loongson_group 2024-01-19 16:17:44 UTC
netperf-standalone修复链接见:
https://gitee.com/anolis/tone-cli/pulls/486
Comment 4 gaochang alibaba_cloud_group 2024-01-26 17:34:46 UTC
修复 pr 已合入,问题解决
Comment 5 liqianwen loongson_group 2024-01-30 09:42:19 UTC
已验证,已解决
目前可正常在Tone平台上跑sysbench和netperf-standalone性能