Skip to content

[SPARK-58413][SQL][TESTS] Rename sequential fetch label to pipelined fetch (1 client) in NettyTransportBenchmark - #57616

Open
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-58413
Open

[SPARK-58413][SQL][TESTS] Rename sequential fetch label to pipelined fetch (1 client) in NettyTransportBenchmark#57616
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-58413

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Jul 28, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR renames the benchmark case label sequential fetch to pipelined fetch (1 client) in the File-Backed Shuffle Block Fetch suite of NettyTransportBenchmark.

Why are the changes needed?

The label is misleading. The case fires all 100 fetchChunk requests at once on a single connection and then waits for all of them to complete via a semaphore (fetchChunksSync), so the client never waits for one chunk before requesting the next. This is a pipelined fetch over one connection, not a sequential request-response loop.

The mislabel skews the interpretation of the results. For example:

NIO, sequential fetch 384 386 3 0.0 3844405.1 1.0X
NIO, parallel fetch (4 clients) 209 217 9 0.0 2091358.0 1.8X

Read as "sequential vs parallel", the 1.8X looks like poor parallelization efficiency. The actual comparison is "pipelined over 1 socket vs pipelined over 4 sockets", where the single pipelined connection already runs at ~4.2 GB/s. The new label makes this clear and contrasts naturally with parallel fetch (4 clients).

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Label-only change; manually reviewed.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Fable 5

…ed fetch (1 client)` in `NettyTransportBenchmark`
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

cc @LuciferYang

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant