RE: rsockets and fork

Hefty, Sean
2012-11-29T16:27:06Z

> Was there progress on using rsocket under netperf or fork in general?

Fork support in rsockets is available now, and netperf should work. It's not generic enough to handle any arbitrary call to fork, but will work if the app does something like this:

listen()
s = accept()
fork(s)

> Do you think for the netperf and maybe other uses case of fork rsockets can use
> CM redirect (e.g through the rdma-cm supporting rdma_redirect - within
> the server to bypass the fork limitation?

The last problem I hit into was trying to support vsftp, which called chroot. Handling chroot requires kernel changes. But, between fork, fstat, chroot, dup2, epoll, and other calls, a kernel implementation of rsockets (or something similar) looks more appealing for apps that favor full compatibility over performance.

- Sean