Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

ucx-py perf test #891

@TimZaman

Description

@TimZaman

I have been using ucx_perftest to successfully confirm UCX performing close to line-rates.

I then took ucx-py (import ucp), and used the send/receive example here: https://ucx-py.readthedocs.io/en/latest/quickstart.html#send-recv-numpy-arrays

I mutated this script in a few versions, and I am getting odd performance characteristics:

  1. If I have a server+client pair like the example above, and i put it in a loop, even re-using the connection, i get around <10% of bandwidth.
  2. If I have a server+client pair, where the client sends an array to the server, and the server sends an array back, and so-on and so-forth, ping-pong-ing, i get <10% of bandwidth.
  3. If I have a server+client pair, where the client is repeatedly sending data in a loop re-using the same connection, and the server just receiving them, i get close to 90% line-rate (yay) as long as the messages are large
  • Any tips on the above?
  • Any plans for a ucx_perftest but for ucx-py?

(PS, I was a first engineer on AI-Infra org at NVIDIA, hiiiii! 👋 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions