登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
9月20日,Gitee × 模力方舟来成都了!聚焦 AI 应用在开发范式、算力架构、交互设计、硬件选型等跨场景创新实践,点击立即报名~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
18
Star
5
Fork
34
src-openEuler
/
gazelle
代码
Issues
48
Pull Requests
1
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
【22.03 LTS SP2】【mysql】配置多个numa的单个cpu时,每个numa配置2048的内存,测试tpcc会报错RING: Cannot reserve memory
已完成
#I7MRGS
缺陷
chenshijuan3
创建于
2023-07-20 20:56
【环境信息】 openeulerversion=openEuler-22.03-LTS-SP2 compiletime=2023-06-29-19-26-48 gccversion=10.3.1-37.oe2203sp2 kernelversion=5.10.0-153.12.0.92.oe2203sp2 openjdkversion=1.8.0.372.b07-1.oe2203sp2 [root@openEuler mysql]# rpm -q gazelle gazelle-1.0.2-2.aarch64 双端物理机,96核4numa  【问题复现步骤】 lstack配置如下 ``` dpdk_args=["--socket-mem", "2048,2048,2048,2048", "--huge-dir", "/mnt/hugepages-lstack", "--proc-type", "primary", "--legacy-mem", "--map-perfect"] use_ltran=0 kni_switch=0 low_power_mode=0 #needed mbuf count = tcp_conn_count * mbuf_count_per_conn tcp_conn_count=1500 mbuf_count_per_conn=525 # send ring size, default is 32, max is 2048 send_ring_size = 32 # 0: when send ring full, send return # 1: when send ring full, alloc mbuf from mempool to send data expand_send_ring = 0 #protocol stack thread per loop params #read data form protocol stack into recv_ring read_connect_number = 4 #process rpc msg number rpc_number = 4 #read nic pkts number nic_read_number = 128 #each cpu core start a protocol stack thread. num_cpus="23,47,71,95" #app worker thread bind to numa in epoll/poll. app_bind_numa=1 #app main thread affinity set by dpdk. main_thread_affinity=0 host_addr="124.88.4.65" mask_addr="255.255.0.0" gateway_addr="124.88.0.1" devices="24:a5:2c:d1:f0:8f" #0: use rss rule #1: use tcp tuple rule to specify packet to nic queue tuple_filter=0 #tuple_filter=1, below cfg valid num_process=1 process_numa="0,1" process_idx=0 #tuple_filer=0, below cfg valid listen_shadow=1 udp_enable=0 #app_exclude_cpus="22,46,70,94" ``` 服务端启动 LD_PRELOAD=/usr/lib64/liblstack.so GAZELLE_BIND_PROCNAME=mysqld /usr/local/mysql/bin/mysqld --defaults-file=/etc/my.cnf --bind-address=124.88.4.65 客户端 ./runBenchmark.sh props.conf 出现概率(是否必现,概率性错误)100% 【预期结果】 可以测试成功 【实际结果】  【附件信息】 比如系统message日志/组件日志、dump信息、图片等
【环境信息】 openeulerversion=openEuler-22.03-LTS-SP2 compiletime=2023-06-29-19-26-48 gccversion=10.3.1-37.oe2203sp2 kernelversion=5.10.0-153.12.0.92.oe2203sp2 openjdkversion=1.8.0.372.b07-1.oe2203sp2 [root@openEuler mysql]# rpm -q gazelle gazelle-1.0.2-2.aarch64 双端物理机,96核4numa  【问题复现步骤】 lstack配置如下 ``` dpdk_args=["--socket-mem", "2048,2048,2048,2048", "--huge-dir", "/mnt/hugepages-lstack", "--proc-type", "primary", "--legacy-mem", "--map-perfect"] use_ltran=0 kni_switch=0 low_power_mode=0 #needed mbuf count = tcp_conn_count * mbuf_count_per_conn tcp_conn_count=1500 mbuf_count_per_conn=525 # send ring size, default is 32, max is 2048 send_ring_size = 32 # 0: when send ring full, send return # 1: when send ring full, alloc mbuf from mempool to send data expand_send_ring = 0 #protocol stack thread per loop params #read data form protocol stack into recv_ring read_connect_number = 4 #process rpc msg number rpc_number = 4 #read nic pkts number nic_read_number = 128 #each cpu core start a protocol stack thread. num_cpus="23,47,71,95" #app worker thread bind to numa in epoll/poll. app_bind_numa=1 #app main thread affinity set by dpdk. main_thread_affinity=0 host_addr="124.88.4.65" mask_addr="255.255.0.0" gateway_addr="124.88.0.1" devices="24:a5:2c:d1:f0:8f" #0: use rss rule #1: use tcp tuple rule to specify packet to nic queue tuple_filter=0 #tuple_filter=1, below cfg valid num_process=1 process_numa="0,1" process_idx=0 #tuple_filer=0, below cfg valid listen_shadow=1 udp_enable=0 #app_exclude_cpus="22,46,70,94" ``` 服务端启动 LD_PRELOAD=/usr/lib64/liblstack.so GAZELLE_BIND_PROCNAME=mysqld /usr/local/mysql/bin/mysqld --defaults-file=/etc/my.cnf --bind-address=124.88.4.65 客户端 ./runBenchmark.sh props.conf 出现概率(是否必现,概率性错误)100% 【预期结果】 可以测试成功 【实际结果】  【附件信息】 比如系统message日志/组件日志、dump信息、图片等
评论 (
1
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
标签
sig/sig-high-perform
未设置
项目
未立项任务
未立项任务
里程碑
openEuler-22.03-LTS-SP3-round-2
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (22)
标签 (52)
master
sync-pr1165-master-to-openEuler-25.09
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-25.09
openEuler-22.03-LTS-SP1
openEuler-25.03
openEuler-24.09
openEuler-22.03-LTS-SP2
openEuler-20.03-LTS-SP1
openEuler-22.03-LTS
openEuler-22.03-LTS-Next
openEuler-20.03-LTS-SP3
openEuler-23.09
openEuler-23.03
openEuler-22.09
openEuler-20.03-LTS-Next
openEuler-20.03-LTS-SP4-update-20250718
openEuler-22.03-LTS-SP3-update-20250718
openEuler-22.03-LTS-SP4-update-20250718
openEuler-24.03-LTS-update-20250718
openEuler-24.03-LTS-SP1-update-20250718
openEuler-24.03-LTS-SP2-update-20250718
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-update-20250307
openEuler-24.03-LTS-SP1-update-20250307
openEuler-22.03-LTS-SP3-update-20250307
openEuler-22.03-LTS-SP4-update-20250307
openEuler-20.03-LTS-SP4-update-20250307
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-update-20241220
openEuler-22.03-LTS-SP3-update-20241220
openEuler-24.03-LTS-update-20241213
openEuler-22.03-LTS-SP4-update-20241213
openEuler-22.03-LTS-SP3-update-20241213
openEuler-22.03-LTS-SP1-update-20241213
openEuler-22.03-LTS-SP4-update-20241206
openEuler-22.03-LTS-SP3-update-20241206
openEuler-22.03-LTS-SP1-update-20241206
openEuler-22.03-LTS-SP4-update-20241129
openEuler-24.03-LTS-update-20241122
openEuler-22.03-LTS-SP4-update-20241122
openEuler-22.03-LTS-SP3-update-20241122
openEuler-22.03-LTS-SP1-update-20241122
openEuler-24.03-LTS-update-20241108
openEuler-22.03-LTS-SP4-update-20241108
openEuler-22.03-LTS-SP3-update-20241108
openEuler-22.03-LTS-SP1-update-20241108
openEuler-22.03-LTS-SP4-update-before-20241025
openEuler-22.03-LTS-SP4-before-20241025
openEuler-24.03-LTS-update-before-20241025
openEuler-20.03-LTS-SP4-update-20241025
openEuler-22.03-LTS-SP1-update-20241025
openEuler-22.03-LTS-SP3-update-20241025
openEuler-22.03-LTS-SP4-update-20241025
openEuler-24.03-LTS-update-20241025
openEuler-24.03-LTS-update-20241018
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/gazelle.git
git@gitee.com:src-openeuler/gazelle.git
src-openeuler
gazelle
gazelle
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册