dtestx(1)
๐ dtestx โ like, the manual page, but make it make sense
okay bestie, gather round, because we're talking about dtestx(1) โ it lives in the USER COMMANDS section, and honestly? it's giving niche but iconic. โจ
๐ฆ NAME ๐ฆ
dtestx โ a simple uDAPL extensions test. that's it, that's the whole name section, no notes. ๐
๐ SYNOPSIS ๐
dtestx [-vmpqc] [-u|-U ep num] [-P provider] [-b buf size] [ -s | -h HOSTNAME ]
like yes she's compact, she's cute, she's a little cryptic. we'll get into all of it, don't worry. ๐ซถ
โจ DESCRIPTION โจ
so dtestx is a simple test that exists to test extensions to the DAT API. that's the whole assignment.
here's the thing though โ you can't just run it once and call it a day. at least two instantiations of the test must be run. one of them acts as the server, and the other one is the client. that's the duo. the friendship bracelet of processes. ๐
the server side of the test, once you invoke it, just sits there listening for connection requests, until it times out or gets killed. very patient. very demure. ๐ง
the moment it receives a cd connection request, the connection gets established, and then the server and client sides exchange all the info they need to perform the extensions test. slay. ๐
and the extensions tests themselves are:
- Post rdma write with immediate data
- Atomic compare and swap
- Atomic fetch and add
Note: in case -q is set, only the query test will run. that's it, that's the whole run. no extras.
๐ฅ OPTIONS ๐ฅ
every single one, no skipping, because we don't do that here:
-P=PROVIDERโ usePROVIDERto specify the uDAPL interface via/etc/dat.conf. the default isofa-v2-mlx4_0-1u. ๐ซ-h=HOSTNAMEโ useHOSTNAMEto specify the server hostname or IP address. default is none. ๐ซฅ-b=BUFFER_SIZEโ use buffer sizeBUFFER_SIZEfor RDMA. default is64. ๐-U=EP_COUNTโ useEP_COUNTto specify an unreliable datagram test withEP_COUNTUD endpoints. default is none. ๐ฎ-vโ verbose output. default off. ๐-qโ query only test. default off. ๐-uโ unreliable datagram test. default no. ๐ก-sโ run as server. default โ run as server. ๐ฅ๏ธ-cโ run as client (for non UD tests,-his always client). ๐ฑ-pโ print counters. provide IA, EP, or EVD and the call will print the appropriate counters. default off. ๐งฎ-mโ multi ep. in ud test only. receive multi messages on a single EP. default off โ which means receive one message across multiple EPs. ๐
๐ธ EXAMPLES ๐ธ
kay so here's how you'd actually use her:
dtestx -P ofa-v2-ib0 -v -s
starts a server process with debug verbosity, using provider ofa-v2-ib0. very demure, very server-coded. ๐
dtestx -P ofa-v2-ib0 -h server1-ib0
starts a client process, using the ofa-v2-ib0 provider to connect to hostname server1-ib0. the client has entered the chat. ๐ซถ
โญ SEE ALSO โญ
go read these next, bestie, iykyk:
๐ AUTHORS ๐
the legends who made this happen:
- Arlin Davis โ
<arlin.r.davis@intel.com> - Amir Hanania โ
<amir.hanania@intel.com>
and that's the whole page, babe. this one's from uDAPL 2.1, dated November 15, 2016 โ old but still serving. periodt. ๐ โจ๐
๐ฆ where this page comes from
- debian bookworm: dapl2-utils 2.1.10.1.f1e05b7a-3+b1 ยท CPL-1.0 OR BSD-3-Clause OR GPL-2.0-only
- ubuntu jammy: dapl2-utils 2.1.10.1.f1e05b7a-3 ยท CPL-1.0 OR BSD-3-Clause OR GPL-2.0-only
- ubuntu noble: dapl2-utils 2.1.10.1.f1e05b7a-3build2 ยท CPL-1.0 OR BSD-3-Clause OR GPL-2.0-only
- ubuntu resolute: dapl2-utils 2.1.10.1.f1e05b7a-3build2 ยท CPL-1.0 OR BSD-3-Clause OR GPL-2.0-only
- ubuntu stonking: dapl2-utils 2.1.10.1.f1e05b7a-3build2 ยท CPL-1.0 OR BSD-3-Clause OR GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms