【环境信息】
openeulerversion=openEuler-20.03-LTS-SP1
compiletime=2020-12-23-02-13-04
gccversion=7.3.0-20190804.35.oe1
kernelversion=4.19.90-2012.4.0.0053.oe1
openjdkversion=1.8.0.272.b10-7.oe1
gazelle version=gazelle-1.0.2-29.oe1.x86_64
dpdk version=dpdk-19.11-33.x86_64
【问题复现步骤】
命令:
客户端命令:
LD_PRELOAD=/usr/lib64/liblstack.so GAZELLE_BIND_PROCNAME=example ./example -a client -D tcp,udp -i 192.168.177.236 -p 33333 -P 512 -t 3 -c 10 -A recvfromsendto -g 192.168.177.180,224.0.0.209
服务端命令:
LD_PRELOAD=/usr/lib64/liblstack.so GAZELLE_BIND_PROCNAME=example ./example -a server -D tcp,udp -i 192.168.177.236 -p 33333 -P 512 -t 3 -c 10 -A recvfromsendto -g 192.168.177.236,224.0.0.209 -m mum
LD_PRELOAD=/usr/lib64/liblstack.so GAZELLE_BIND_PROCNAME=example ./example -a server -D tcp,udp -i 192.168.177.59 -p 33333 -P 512 -t 3 -c 10 -A recvfrom -g 192.168.177.59,224.0.0.209 -m mum
客户端配置
dpdk_args=["--socket-mem", "1024,0,0,0", "--huge-dir", "/mnt/hugepages-lstack", "--proc-type", "primary", "--legacy-mem", "--map-perfect"]
#stack_thread_mode="run-to-wakeup"
stack_thread_mode="run-to-completion"
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=138
# send ring size, default is 32, max is 2048
send_ring_size = 32
#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
nic_rxqueue_size = 4096
nic_txqueue_size = 2048
#each cpu core start a protocol stack thread.
num_cpus="2,3,4"
#app worker thread bind to numa in epoll/poll.
app_bind_numa=0
#app main thread affinity set by dpdk.
main_thread_affinity=0
host_addr="192.168.177.180"
mask_addr="255.255.255.0"
gateway_addr="192.168.177.1"
devices="52:54:00:48:fd:7b"
#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
#vlan mode; only support -1~4094, -1 is disabled
nic_vlan_mode=-1
#bond mode; only support bond 4 or 6 mode ,-1 is disabled
bond_mode=-1
服务端配置
dpdk_args=["--socket-mem", "1024,0,0,0", "--huge-dir", "/mnt/hugepages-lstack", "--proc-type", "primary", "--legacy-mem", "--map-perfect"]
stack_thread_mode="run-to-wakeup"
#stack_thread_mode="run-to-completion"
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=138
# send ring size, default is 32, max is 2048
send_ring_size = 32
#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
nic_rxqueue_size = 4096
nic_txqueue_size = 2048
#each cpu core start a protocol stack thread.
num_cpus="2,3,4"
#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="192.168.177.236"
mask_addr="255.255.255.0"
gateway_addr="192.168.177.1"
devices="52:54:00:ee:1e:5b"
#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=0
#vlan mode; only support -1~4094, -1 is disabled
nic_vlan_mode=-1
#bond mode; only support bond 4 or 6 mode ,-1 is disabled
bond_mode=-1
【实际结果】请描述出问题的结果和影响
Hi qianchen123321, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-high-performance-network, and any of the maintainers: @L.X. , @LemmyHuang , @sky , @李扬扬 , @吴昌盛 , @jinag12 , @lilijun , @李辉松 , @kircher
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
example 暂不支持共线程模式
登录 后才可以发表评论