erpc-io / eRPC

Efficient RPCs for datacenter networks
https://erpc.io/
Other
835 stars 137 forks source link

helloworld server not running on non-Mellanox NIC. #87

Closed bbachmanNI closed 1 year ago

bbachmanNI commented 1 year ago

Hey,

I'm try to run your eRPC helloworld example on my system, but it says

"terminate called after throwing an instance of 'std::runtime_error' what(): eRPC supports only mlx4 or mlx5 devices with DPDK". (See complete output below)

We want to do some benchmarks experiments to see its performace in our environment.

You stated it should run also without the need for mlx NICs: "For non-Mellanox DPDK-compatible NICs, a system-wide installation from DPDK 19.11.5 LTS sources (i.e., sudo make install T=x86_64-native-linuxapp-gcc DESTDIR=/usr). Other DPDK versions are not supported."

Here is my output:

dtots01:/sources/eRPC/build# ./erpc_dpdk_daemon 63:933795 WARNG: eRPC DPDK daemon: Managing DPDK port 0 on NUMA node 0 64:280491 WARNG: eRPC DPDK daemon: Successfully initialized DPDK EAL 64:280533 WARNG: eRPC DPDK daemon: Successfully initialized shared memzone erpc_daemon_memzone 64:377469 WARNG: eRPC DPDK daemon: Successfully initialized DPDK port 0 ^Z [1]+ Stopped ./erpc_dpdk_daemon root@dre-dtots01:/sources/eRPC/build# bg [1]+ ./erpc_dpdk_daemon & root@dre-dtots01:/sources/eRPC/build# ./hello_server 83:379090 WARNG: Running as secondary DPDK process. eRPC DPDK daemon is running. 83:379143 WARNG: DPDK transport for Rpc 0: Mempool has only 4095 free mbufs out of 8191. 4096 mbufs have been leaked by previous processes that owned this mempool. _terminate called after throwing an instance of 'std::runtimeerror' what(): eRPC supports only mlx4 or mlx5 devices with DPDK Aborted (core dumped) root@dre-dtots01:/sources/eRPC/build# 83:847013 WARNG: eRPC DPDK daemon: [0 QPs of 1 available] [Ownership: [QP #0, PID 15570] ] 83:847146 WARNG: eRPC DPDK daemon: Reclaiming QP 0 from crashed PID 15570

OS: NAME="Ubuntu", VERSION="20.04.4 LTS (Focal Fossa)" dpdk-stable-19.11.5

dre-dtots01:~/lti/dtots/dtots-rpcs/erpc/sources/dpdk-stable-19.11.5$ python3 usertools/dpdk-devbind.py --status

Network devices using DPDK-compatible driver

0000:12:00.0 '82574L Gigabit Network Connection 10d3' drv=vfio-pci unused=e1000e

Network devices using kernel driver

0000:00:19.0 '82579LM Gigabit Network Connection (Lewisville) 1502' if=eno1 drv=e1000e unused=vfio-pci Active

No 'Baseband' devices detected

No 'Crypto' devices detected

No 'Eventdev' devices detected

No 'Mempool' devices detected

No 'Compress' devices detected

No 'Misc (rawdev)' devices detected

ankalia commented 1 year ago

Hi. The README is unfortunately out of date -- the current code supports only Mellanox NICs, sorry.