Skip to content

[Tracking] Upstream findings from the Presto GPU cloud spike #1079

Open

Description

@kingcrimsontianyu

This issue tracks which findings from the Presto GPU cloud spike should land in KvikIO and curl. The resulting PRs will benefit remote I/O performance in general and improve TPC-H benchmarks for both Polars and Presto GPU.


Upstream PRs/branches

Velox

Presto

Velox-testing

Results

TPC-H SF1K (tpch_sf1k_v2_float_s3), g7e.48xlarge, 8x RTX PRO 6000, one worker per GPU,
fresh cluster, 3 iterations, no warmup. Seconds.
  it1 = sum over Q1-Q22 of iteration 1
  hot = sum over Q1-Q22 of min(iterations 2..3)
  Kyle ref, Kyle ref 2 : Kyle Hubert's WXD-launch matrix runs (KvikIO cases)
  WXD-launch   : Kyle's images (worker 6c657690bd6b, coordinator 6917e7f28626) and harness
                 (velox-testing d8f6a61); KvikIO direct receive REQUIRE, PER_CHUNK dispatch
  wxd-upstream : images tialiu-wxdup-1016 built from the wxd-upstream branches
                 (Velox 4b2b5e092, Presto 563e7787ee, velox-testing 99a1e35), run right after
                 WXD-launch; UCX 1.22.0, UCX exchange, SHARED_QUEUE dispatch,
                 run_tpch_g7e_48xlarge.sh
  Date = start of the run, UTC

                                 Kyle ref    Kyle ref 2  WXD-launch  wxd-upstream
Date (UTC)                       2026-09-22  2026-10-05  2026-10-16  2026-10-16
                                 01:30       23:41       15:08       15:20
Cache ON, cold       it1           56.580      67.007      63.722        69.628
                     hot           21.371      21.246      21.230        21.667
Cache ON, lukewarm   it1           36.062      41.494      39.462        40.145
                     hot           21.352      21.431      21.408        21.622
Cache OFF            it1           60.208      64.722      64.689        59.156
                     hot           55.596      56.399      57.538        52.196

KvikIO

Features to upstream

Features in need of evaluation

  • Refreshable EC2 instance-profile credentials via IMDSv2.
  • S3 endpoint fixes: prefer AWS_REGION, accept s3:// in S3PublicEndpoint, send the session token for any key.
  • Device I/O failure safety: fence and quarantine buffers on CUDA errors.
  • cuda_memcpy_batch_async fixes: legacy default stream, missing-symbol fallback, zero-size entries.
  • Hide bundled libcurl symbols in static builds
  • Adaptive TCP MSS, preferring jumbo-frame paths.
  • Connection pool pre-warming before the first read (velox-testing#406).

Features to drop

curl

  • Curl CA store cache disabling issue: Since 8.21.0 (commit 5df33efa), CURLOPT_CAPATH=NULL restores the build-time CA directory instead of disabling it, which turns off the CA store cache. This contradicts the documentation, and causes performance regression (lower bandwidth for small read size and longer TLS time).
  • Propose caller-owned receive buffers and strict TLS 1.3 RX kTLS. Required by KvikIO direct receive.
  • Propose the connection-reuse callback (CURLOPT_CONN_REUSEFUNCTION), only if adaptive MSS proves useful.

Outside the scope of KvikIO

  • ENA large RX page driver patch (velox-testing#406): out-of-tree kernel module.
  • Jumbo-MTU path to S3 via a regional S3 gateway endpoint, and NIC/IRQ/NUMA pinning.

Velox

Velox-testing

Reference branches and PRs

KvikIO

curl

velox-testing

sirius

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions