vtrocelab / rxe_send_mc

A multicast test utility expanded from mckey.c
0 stars 1 forks source link

Can you tell me the command you run with the ./mckey and ./rxe_send_mc #1

Open wentianxiaokai opened 7 years ago

wentianxiaokai commented 7 years ago
Hello,I have a server with SoftRoCE which the ip is 192.168.3.142, and  a client with SoftRoCE which th ip is 192.168.3.144. I  run the command "./mckey -M 192.168.3.142 -b 192.168.3.142" in the server shell , and then ,this cause an error :   

failed to post receives: -12 post_recvs mckey: failed polling CQ: -12 Am I run the wrong command ? So what is the right command to use ./mckey and ./rxe_send_mc ? Thanks!

vtrocelab commented 7 years ago

This is for multicast. you need to make sure your drivers works with multicast traffic.

Please feel free to email me via leon.liu@viscore.com

vtrocelab commented 7 years ago

This is for multicast check. So, you need to make sure your drivers support multicast first.

Please send email directly to me, via leon.liu@viscore.com.

From: wentianxiaokai [mailto:notifications@github.com] Sent: Wednesday, December 28, 2016 9:56 PM To: vtrocelab/rxe_send_mc Cc: Subscribed Subject: [vtrocelab/rxe_send_mc] Can you tell me the command you run with the ./mckey and ./rxe_send_mc (#1)

Hello,I have a server with SoftRoCE which the ip is 192.168.3.142, and a client with SoftRoCE which th ip is 192.168.3.144. I run the command "./mckey -M 192.168.3.142 -b 192.168.3.142" in the server shell , and then ,this cause an error :

failed to post receives: -12 post_recvs mckey: failed polling CQ: -12 Am I run the wrong command ? So what is the right command to use ./mckey and ./rxe_send_mc ? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vtrocelab/rxe_send_mc/issues/1 , or mute the thread https://github.com/notifications/unsubscribe-auth/AK-OUZmpW74QKod-_RSNMWuVta7XKCIeks5rMyE9gaJpZM4LXUVR . https://github.com/notifications/beacon/AK-OUceNsBynGJmVBmPyGSNR25DZrwp3ks5rMyE9gaJpZM4LXUVR.gif

yunquliu commented 7 years ago

the command you used is right. The problem might be that Software RoCE doesn't support multicast, as a bug.

rayban1984 commented 6 years ago

Hello. I am using both mckey and rxe_send_mc and none of work as expected for me. I am not receiving any event in the completion queue so the program is not receiving data from the multicast network. Using a packet sniffer I have seen the IGMP packets for the subscrition and the multicast UDP packets with all the proper headers, but the packets sent does not show up as events in the completion queue.

Both programs do not report any error. It is just the receiver that waits indefinely for messages that does not arrive. mckey -m 239.224.224.1 mckey -m 239.224.224.1 -s

I am running both sides within the same machine, with a Linux versión 4.17.3 I am using Soft-ROCE.

Can you please advise about how to proceed to fix the problem?. Maybe it is related with the OS setup but I am not sure. The reliable connection mode Works well. Also the unreliable datagram mode with unicast, however it seems that the unreliable datagram mode does not work for me with multicast.

yunquliu commented 6 years ago

Probably the version you used (Linux 4.17) has bugs in multicast traffic. I didn't see the code of that version. But we do know that bug exist in previous versions. We have to fix them by our hands.

vtrocelab commented 6 years ago

I have responsed on the GitHub thread.

Are you involved in Dogcoin ? I have some dogcoins. Are you trying to use RDMA in dogcoin?

发件人: rayban1984 notifications@github.com 发送时间: 2018年6月27日 8:06 收件人: vtrocelab/rxe_send_mc rxe_send_mc@noreply.github.com 抄送: Viscore RoCE Lab leon.liu@viscore.com; Comment comment@noreply.github.com 主题: Re: [vtrocelab/rxe_send_mc] Can you tell me the command you run with the ./mckey and ./rxe_send_mc (#1)

Hello. I am using both mckey and rxe_send_mc and none of work as expected for me. I am not receiving any event in the completion queue so the program is not receiving data from the multicast network. Using a packet sniffer I have seen the IGMP packets for the subscrition and the multicast UDP packets with all the proper headers, but the packets sent does not show up as events in the completion queue.

Both programs do not report any error. It is just the receiver that waits indefinely for messages that does not arrive. mckey -m 239.224.224.1 mckey -m 239.224.224.1 -s

I am running both sides within the same machine, with a Linux versión 4.17.3 I am using Soft-ROCE.

Can you please advise about how to proceed to fix the problem?. Maybe it is related with the OS setup but I am not sure. The reliable connection mode Works well. Also the unreliable datagram mode with unicast, however it seems that the unreliable datagram mode does not work for me with multicast.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vtrocelab/rxe_send_mc/issues/1#issuecomment-400648299 , or mute the thread https://github.com/notifications/unsubscribe-auth/AK-OUVSDn-wBnizBAuN2EvUpEnsQHqHwks5uA3U2gaJpZM4LXUVR . https://github.com/notifications/beacon/AK-OURS5ctvIX6pNTLaOmn1kLEX4ziLBks5uA3U2gaJpZM4LXUVR.gif

rayban1984 commented 6 years ago

I had doges in the past. I did some development on Dogecoin blockchain but I did not push into the public repository, this RDMA thing is not related with Dogecoin though.

Can you tell me for sure, which Linux kernel versión Works fine with RDMA multicast?. I have tested with 4.14 and 4.17 with the same results. 4.17 is the latest stable versión so I guessed that this functionality was already implemented.

If multicast is not properly working with ROCE v2, should I use Roce v1 instead?. Rightnow I need to use Roce v2 because I am not using Mellanox ROCE NICs.

Thanks in advance.

yunquliu commented 6 years ago

My experience is none of them works. We have working versions but not ready to release/publish yet.

What is this RDMA for if I may ask? you can email me.

rayban1984 commented 6 years ago

Thank you

El mié., 27 jun. 2018 17:49, yunquliu notifications@github.com escribió:

My experience is none of them works. We have working versions but not ready to release/publish yet.

What is this RDMA for if I may ask? you can email me.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vtrocelab/rxe_send_mc/issues/1#issuecomment-400726390, or mute the thread https://github.com/notifications/unsubscribe-auth/AHMQkOJXBuUtmy2lyOEHdwV9tj9B4Nf-ks5uA6mYgaJpZM4LXUVR .