<div dir="ltr">Hello,<div><br></div><div>Anyone actively using/developing application on RDS? Especially the zero copy RDMA area? I need help running basic things like rds-stress.</div><div><br></div><div>Thanks,</div><div>

-Milind</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 19, 2014 at 1:40 PM, Milind Dumbare <span dir="ltr">&lt;<a href="mailto:milind@linux.com" target="_blank">milind@linux.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi,</div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">I was trying to run sample example to to RDS RDMA communication. But I can&#39;t make it work. Following thing works great on without &quot;--rdma&quot; on rds_tcp stack. I do have infiniband and &quot;rds_ping&quot; is working on it.</div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">If you have any other sample code which can run RDS RDMA please give me the pointers.</div><div style="font-family:arial,sans-serif;font-size:13px">


<br></div><div style="font-family:arial,sans-serif;font-size:13px">On Server:</div><div style="font-family:arial,sans-serif;font-size:13px"><font face="courier new, monospace">./a.out --rdma -s 192.168.16.2</font><br></div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">On client</div><div style="font-family:arial,sans-serif;font-size:13px"><font face="courier new, monospace">./a.out --rdma -s 192.168.16.2 -c 192.168.16.1</font><br>


</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">And the Client says it sent the packet over RDMA but Server prints blank payload and then exits. While client is waiting on the <font face="courier new, monospace">recvmsg()</font> call.</div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">This is probably because of the following code</div><div style="font-family:arial,sans-serif;font-size:13px">


<br></div><div style="font-family:arial,sans-serif;font-size:13px"><div><font face="courier new, monospace">156: if (msg.msg_controllen) {</font></div><div><font face="courier new, monospace">157:               rc = do_rdma_read(sock, &amp;msg, buf);</font></div>


</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Server never gets non-zero &quot;<font face="courier new, monospace">msg.msg_controllen</font>&quot; and it never goes and runs &quot;<font face="courier new, monospace">do_rdma_read()</font>&quot;.</div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Please help.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">


Thanks,</div><div style="font-family:arial,sans-serif;font-size:13px">-Milind</div></div>
</blockquote></div><br></div>