Hi, 

The problem seems to be that you’re using a vmxnet3 interface, so I suspect 
this might be a vm configuration issue. Your current config should work but 
could end up being inefficient. 

With respect to your problem, I just built redis and ran redis-server and cli 
over LDP. Everything seems to be working fine so I’m assuming you’re doing some 
stress tests of redis? Could you provide more info about your client? 

Regards,
Florin

> On Mar 21, 2023, at 6:18 AM, Chen Weihao <chenwei...@outlook.com> wrote:
> 
> Thank you for your reply.
> I tried to change num-tx-queues from 2 to 5, but it got a SIGSEGV, the 
> backtrace is:
> #0  0x00007fffb453ff89 in rte_write32_relaxed (addr=0x80007ffffef0, value=0)
>     at ../src-dpdk/lib/eal/include/generic/rte_io.h:310
> #1  rte_write32 (addr=0x80007ffffef0, value=0)
>     at ../src-dpdk/lib/eal/include/generic/rte_io.h:373
> #2  vmxnet3_enable_intr (hw=0xac03b0600, intr_idx=4294967262)
>     at ../src-dpdk/drivers/net/vmxnet3/vmxnet3_ethdev.c:210
> #3  0x00007fffb4544d35 in vmxnet3_dev_rx_queue_intr_enable (
>     dev=0x7fffb5186980 <rte_eth_devices>, queue_id=0)
>     at ../src-dpdk/drivers/net/vmxnet3/vmxnet3_ethdev.c:1815
> #4  0x00007fffaff4bbf2 in rte_eth_dev_rx_intr_enable (port_id=0, queue_id=0)
>     at ../src-dpdk/lib/ethdev/rte_ethdev.c:4740
> #5  0x00007fffb49f4564 in dpdk_setup_interrupts (xd=0x7fffbdbb2940)
>     at /home/chenweihao/vpp_dev/src/plugins/dpdk/device/common.c:336
> #6  0x00007fffb49f4430 in dpdk_device_start (xd=0x7fffbdbb2940)
>     at /home/chenweihao/vpp_dev/src/plugins/dpdk/device/common.c:411
> #7  0x00007fffb49ff713 in dpdk_interface_admin_up_down (
>     vnm=0x7ffff7e2b828 <vnet_main>, hw_if_index=1, flags=1)
>     at /home/chenweihao/vpp_dev/src/plugins/dpdk/device/device.c:476
> #8  0x00007ffff70d60e8 in vnet_sw_interface_set_flags_helper (
>     vnm=0x7ffff7e2b828 <vnet_main>, sw_if_index=1, 
>     flags=VNET_SW_INTERFACE_FLAG_ADMIN_UP, helper_flags=0)
>     at /home/chenweihao/vpp_dev/src/vnet/interface.c:470
> #9  0x00007ffff70d645a in vnet_sw_interface_set_flags (
>     vnm=0x7ffff7e2b828 <vnet_main>, sw_if_index=1, 
>     flags=VNET_SW_INTERFACE_FLAG_ADMIN_UP)
>     at /home/chenweihao/vpp_dev/src/vnet/interface.c:524
> #10 0x00007ffff710515f in set_state (vm=0x7fffb6a00740, input=0x7fffa9f84bb8, 
>     cmd=0x7fffb7180850)
>     at /home/chenweihao/vpp_dev/src/vnet/interface_cli.c:946
> #11 0x00007ffff7e72257 in vlib_cli_dispatch_sub_commands (vm=0x7fffb6a00740, 
>     cm=0x7ffff7f6a770 <vlib_global_main+48>, input=0x7fffa9f84bb8, 
>     parent_command_index=20) at /home/chenweihao/vpp_dev/src/vlib/cli.c:650
> #12 0x00007ffff7e71fea in vlib_cli_dispatch_sub_commands (vm=0x7fffb6a00740, 
>     cm=0x7ffff7f6a770 <vlib_global_main+48>, input=0x7fffa9f84bb8, 
>     parent_command_index=7) at /home/chenweihao/vpp_dev/src/vlib/cli.c:607
> #13 0x00007ffff7e71fea in vlib_cli_dispatch_sub_commands (vm=0x7fffb6a00740, 
>     cm=0x7ffff7f6a770 <vlib_global_main+48>, input=0x7fffa9f84bb8, 
>     parent_command_index=0) at /home/chenweihao/vpp_dev/src/vlib/cli.c:607
> #14 0x00007ffff7e7122a in vlib_cli_input (vm=0x7fffb6a00740, 
>     input=0x7fffa9f84bb8, function=0x0, function_arg=0)
>     at /home/chenweihao/vpp_dev/src/vlib/cli.c:753
> #15 0x00007ffff7ef7e23 in unix_cli_exec (vm=0x7fffb6a00740, 
>     input=0x7fffa9f84f30, cmd=0x7fffb71815b8)
>     at /home/chenweihao/vpp_dev/src/vlib/unix/cli.c:3431
> #16 0x00007ffff7e72257 in vlib_cli_dispatch_sub_commands (vm=0x7fffb6a00740, 
>     cm=0x7ffff7f6a770 <vlib_global_main+48>, input=0x7fffa9f84f30, 
> --Type <RET> for more, q to quit, c to continue without paging--<RET>
>     parent_command_index=0) at /home/chenweihao/vpp_dev/src/vlib/cli.c:650
> #17 0x00007ffff7e7122a in vlib_cli_input (vm=0x7fffb6a00740, 
>     input=0x7fffa9f84f30, function=0x0, function_arg=0)
>     at /home/chenweihao/vpp_dev/src/vlib/cli.c:753
> #18 0x00007ffff7efdfc5 in startup_config_process (vm=0x7fffb6a00740, 
>     rt=0x7fffb9194080, f=0x0)
>     at /home/chenweihao/vpp_dev/src/vlib/unix/main.c:291
> #19 0x00007ffff7ea2c5d in vlib_process_bootstrap (_a=140736084405176)
>     at /home/chenweihao/vpp_dev/src/vlib/main.c:1221
> #20 0x00007ffff6f1ffd8 in clib_calljmp ()
>     at /home/chenweihao/vpp_dev/src/vppinfra/longjmp.S:123
> #21 0x00007fffac516bb0 in ?? ()
> #22 0x00007ffff7ea26f9 in vlib_process_startup (vm=0x8, 
>     p=0x7ffff7ea53bb <dispatch_suspended_process+763>, f=0x7fffac516cc0)
>     at /home/chenweihao/vpp_dev/src/vlib/main.c:1246
> #23 0x00007ffff6f7aa1c in vec_mem_size (v=0x7fffb6a00740)
>     at /home/chenweihao/vpp_dev/src/vppinfra/vec.c:15
> #24 0x00000581655dfd1c in ?? ()
> #25 0x0000003300000004 in ?? ()
> #26 0x0000000000000030 in ?? ()
> #27 0x00007fffbdbc7240 in ?? ()
> #28 0x00007fffbdbc7240 in ?? ()
> #29 0x00007fffb80e5498 in ?? ()
> #30 0x0000000000000001 in ?? ()
> #31 0x0000000000000000 in ?? ()
> 
> I tried to change num-rx-queues and num-tx-queues to 4, then SIGSEGV not 
> happened.
> I applied the patch https://gerrit.fd.io/r/c/vpp/+/38529 , and the problem of 
> redis 6.0 seemed still exist, the stack backtrace is same with 
> https://lists.fd.io/g/vpp-dev/message/22731
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22742): https://lists.fd.io/g/vpp-dev/message/22742
Mute This Topic: https://lists.fd.io/mt/97707720/21656
Mute #vnet:https://lists.fd.io/g/vpp-dev/mutehashtag/vnet
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to