[openib-general] [PATCH] FMR support in mthca

Libor Michalek libor at topspin.com
Wed Mar 30 16:43:49 PST 2005


On Tue, Mar 29, 2005 at 07:29:04PM -0800, Grant Grundler wrote:
> On Tue, Mar 29, 2005 at 06:12:28PM -0800, Libor Michalek wrote:
> 
> >   I could checkin the source for the modified ttcp's but I'm not sure
> > exactly where... (gen2/users/libor ???)
> 
> I wouldn't bother for the "#define AF_INET AF_INET_SDP" above.
> If the AIO version is more complicated, maybe create an "examples"
> directory under gen2/src/userspace?

OK, I cleaned up and checked in the AIO modified version of ttcp:

    gen2/trunk/src/userspace/examples/aio/ttcp.aio.c

To build it you will need libaio installed, new RHEL/Fedora distros contain
it by default, or you can download/build/install it yourself:

  http://fr2.rpmfind.net/linux/rpm2html/search.php?query=libaio

Next build ttcp.aio.c:

  gcc -I/usr/src/linux/drivers/infiniband/ulp/sdp ttcp.aio.c -o ttcp.aio.x -laio

The program has a decent help for available parameters, but here are
some reasonable defaults:

  server:

    ./ttcp.aio.x -r -l 65536 -a 20

  client:

    ./ttcp.aio.x -t -l 65536 -n 100000 -a 20 192.168.0.100


-Libor



More information about the general mailing list