XNVME_TESTS_BU...VIRT_ALLOC_FREE(1)

πŸ“¦ version 0.7.5, in alpine 3.24

πŸ’… xnvme_tests_buf-buf_virt_alloc_free πŸ’…

okay so this is a page from the xNVMe manual set, and honestly? it's a little cutie. it's a test binary that just… allocates a buffer and frees it, over and over, while the size keeps doubling. like a gym routine for your memory manager. no cap. πŸ‹οΈβ€β™€οΈ


✨ NAME ✨

xnvme_tests_buf-buf_virt_alloc_free β€” allocate and free a buffer count times, with size going from [1, 2^count], bestie πŸ’–


✨ SYNOPSIS ✨

xnvme_tests_buf buf_virt_alloc_free <uri> [<args>]

✨ DESCRIPTION ✨

so basically 🫢 it allocates and frees a buffer count times, and the size range is [1, 2^count]. that's it. that's the whole vibe. it's a stress-y little loop for your buffer/memory manager and it's lowkey iconic for it. 🌸


✨ REQUIRED ✨

like, you literally cannot skip these. main character requirements only. πŸ‘‘

  • <uri> β€” the Device URI, e.g. '/dev/nvme0n1', '0000:01:00.1', '10.9.8.1.8888', '\.PhysicalDrive1'. this is your "where's the device at" moment πŸ¦‹
  • --count NUM β€” use the NUM you give it as the count. she said count, so you give her a count. periodt ✨

✨ OPTIONAL ✨

these are the lil extras, the accessories if you will πŸ’… all optional, all valid:

  • [ --subnqn STRING ] β€” Subsystem NQN of the NVMe over Fabrics endpoint, e.g. 'nqn.2022-06.io.xnvme:ctrlnode1' 🧚
  • [ --hostnqn STRING ] β€” the host NQN to use when you're connecting to NVMe over Fabrics controllers 🌈
  • [ --be STRING ] β€” the xNVMe backend, e.g. 'linux', 'spdk', 'fbsd', 'macos', 'posix', 'windows' β€” pick your fighter πŸ”₯
  • [ --dev-nsid 0xNUM ] β€” Namespace Identifier for the Device Handle πŸŽ€
  • [ --admin STRING ] β€” the xNVMe admin. command-interface, e.g. 'nvme', 'block' ⭐
  • [ --mem STRING ] β€” the xNVMe buffer/memory manager. yes this one. the one this whole test is about. obsessed πŸ’œ
  • [ --direct NUM ] β€” bypass layers 🫢
  • [ --help ] β€” shows usage / help. say it with me: when in doubt, --help it out 😭

✨ SEE ALSO ✨

Full documentation at: https://xnvme.io/ β€” go read it, she ate πŸ’–


✨ AUTHOR ✨

Written by Simon A. F. Lund <simon.lund@samsung.com> on behalf of Samsung 🫑


aaaand that's the whole page bestie, every flag accounted for, nothing skipped, no details lost, iykyk πŸ’…

xNVMe 🌸 Β· version/date tag: 09 September Β· that's the sign-off, mwah, go allocate responsibly πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from