dapl-testsrq(1)

πŸ“¦ version 2.1.10, in opensuse-leap 16.0

πŸ’… dapl-testsrq β€” like, the SRQ edition πŸŽ€

okay so bestie, welcome to dapl-testsrq(1), a USER COMMAND and honestly? it's giving "let's actually make sure this uDAPL thing works" energy ✨


✨ NAME ✨

dapl-testsrq β€” a simple uDAPL send/receive and RDMA test that uses a shared receive queue (aka SRQ, aka the whole point πŸ’…)


🌸 SYNOPSIS 🌸

dapl-testsrq [-vu] [-P provider] [-b buf size] [-B burst size] [-t burst
num] [-c connections] [-p port] [-S 0|1] [ -s | -h HOSTNAME ]

πŸ¦‹ DESCRIPTION πŸ¦‹

So dapl-testsrq is this simple little test that exists to exercise and verify the uDAPL interfaces. Cute, right? But here's the thing β€” you can't just run it alone, no ma'am. You need at least two instantiations of the test running. One is the server, the other is the client. iconic duo behavior fr fr 🫢

The server side, once you invoke it, sits there and listens for connection requests β€” until it times out or someone kills it 😭 (rip). The moment a cd connection request shows up, the connection gets established, and then the server side and client side exchange all the info they need to do RDMA writes and reads.

And the main character detail? πŸ’« This test supports SRQ, so literally all the connections share the same Rx Q. not me being obsessed with shared receive queues 🌈


πŸ’– OPTIONS πŸ’–

  • -P=PROVIDER β€” use PROVIDER to specify the uDAPL interface via /etc/dat.conf (default ofa-v2-ib0) ⭐
  • -h=HOSTNAME β€” use HOSTNAME to specify the server hostname or IP address (default β€” none) πŸŽ€
  • -b=BUFFER_SIZE β€” use buffer size BUFFER_SIZE for RDMA (default 64) πŸ“
  • -B=BURST_SIZE β€” use burst size BURST_SIZE (default 1) ✨
  • -t=BURST_COUNT β€” use burst count BURST_COUNT (default 3) πŸ’«
  • -p=PORT_NUM β€” use port PORT_NUM (default 45248) πŸ”₯
  • -c=CONN_NUM β€” establish CONN_NUM connections (default = 1, max = 100) πŸ‘‘
  • -s β€” run as server (default β€” run as server) πŸ’…
  • -S β€” use SRQ (default use SQR) 🧚
  • -v β€” verbose output (default off) πŸ™ˆ
  • -u β€” run ud test (default no) πŸ’œ
  • -l=LID β€” use LID for server lid in ucm provider (default β€” none) 🌸
  • -q=QPN β€” use QPN for server qpn in ucm provider (default β€” none) πŸ¦‹

🌟 EXAMPLES 🌟

k so here's how you actually run this thing πŸ‘‡

dapl-testsrq -P ofa-v2-ib0 -s -c 10

Starts a server process with 10 connections using provider ofa-v2-ib0. slay πŸ’…

dapl-testsrq -P ofa-v2-ib0 -c 10 -h server1-ib0

Starts a client process with 10 connections, using the ofa-v2-ib0 provider to connect to hostname server1-ib0. periodt ✨


πŸ‘€ SEE ALSO πŸ‘€

dapl-utest(1), dapl-testx(1), dapl-testcm(1), dapl-test(1) β€” go read the whole friend group 🫢


πŸ’œ AUTHORS πŸ’œ

  • Arlin Davis β€” <arlin.r.davis@intel.com>
  • Amir Hanania β€” <amir.hanania@intel.com>

ngl bestie, if something's acting cursed, remember: two instances minimum, or this test is literally just gonna sit there listening forever 😭

kisses and SRQs πŸ’‹ β€” this was brought to you by uDAPL 2.1, dated November 15, 2016 πŸŽ€βœ¨

πŸ“¦ where this page comes from